Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 109.8 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 208.9 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 230.5 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 374.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1129, allocations: 53.3 MB / 428.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.1982/0.3111, allocations: 8.275 MB / 436.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004277/0.3154, allocations: 2.757 MB / 439.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.3166, allocations: 24.44 kB / 439.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.3183, allocations: 0.5814 MB / 439.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.3198, allocations: 0.5017 MB / 440.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006382/0.3205, allocations: 270.7 kB / 440.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001741/0.3222, allocations: 1.501 MB / 442 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006163/0.3228, allocations: 400.4 kB / 442.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000903/0.3237, allocations: 0.5741 MB / 442.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000723/0.3244, allocations: 0.6174 MB / 443.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.3246, allocations: 139.5 kB / 443.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.325, allocations: 185 kB / 443.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.3252, allocations: 287.2 kB / 444.1 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005276/0.3257, allocations: 0.6716 MB / 444.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.3279, allocations: 1.77 MB / 446.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3279, allocations: 0 / 446.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3279, allocations: 0 / 446.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.07e-05/0.328, allocations: 0.75 kB / 446.6 MB, free: 2.293 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00248/0.3304, allocations: 1.525 MB / 448.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3305, allocations: 10.34 kB / 448.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007092/0.3312, allocations: 205.2 kB / 448.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3323, allocations: 0.7651 MB / 449.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.3323, allocations: 73.16 kB / 449.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.3325, allocations: 101.8 kB / 449.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.334, allocations: 0.9454 MB / 450.2 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.334, allocations: 3.047 kB / 450.2 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/0.3341, allocations: 40.53 kB / 450.2 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.3341, allocations: 24.88 kB / 450.3 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.3354, allocations: 0.6575 MB / 450.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005861/0.3413, allocations: 3.917 MB / 454.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/0.342, allocations: 438 kB / 455.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.3426, allocations: 256.6 kB / 455.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.3427, allocations: 11.8 kB / 455.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.3427, allocations: 39.16 kB / 455.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 3.116e-06/0.3427, allocations: 0 / 455.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003283/0.346, allocations: 1.563 MB / 457.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.3461, allocations: 86.77 kB / 457.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3472, allocations: 0.8396 MB / 458.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.3472, allocations: 31.08 kB / 458.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004753/0.3477, allocations: 0.584 MB / 458.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.3479, allocations: 169.7 kB / 458.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.3481, allocations: 131.7 kB / 459 MB, free: 10.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3482, allocations: 333.3 kB / 459.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.3486, allocations: 174 kB / 459.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.3492, allocations: 470.3 kB / 459.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009956/0.3502, allocations: 0.6763 MB / 460.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3502, allocations: 2.25 kB / 460.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001408/0.3516, allocations: 0.7923 MB / 461.4 MB, free: 8.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3516, allocations: 12.69 kB / 461.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.3517, allocations: 9.625 kB / 461.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.3519, allocations: 79.3 kB / 461.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.3524, allocations: 163.9 kB / 461.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.3552, allocations: 3.142 MB / 464.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.3559, allocations: 38.7 kB / 464.8 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.3559, allocations: 36.78 kB / 464.9 MB, free: 5.512 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004359/0.3564, allocations: 265.5 kB / 465.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.3565, allocations: 93.88 kB / 465.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.3576, allocations: 0.4935 MB / 465.7 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.3576, allocations: 5.312 kB / 465.7 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3576, allocations: 5.344 kB / 465.7 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.3576, allocations: 7.922 kB / 465.7 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.36, allocations: 1.467 MB / 467.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.36, allocations: 2.312 kB / 467.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.3603, allocations: 76.45 kB / 467.3 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002197/0.3605, allocations: 72.61 kB / 467.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.3606, allocations: 12.62 kB / 467.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/0.3632, allocations: 3.128 MB / 470.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3632, allocations: 2.156 kB / 470.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3648, allocations: 0.8041 MB / 471.3 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.3652, allocations: 210 kB / 471.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.3653, allocations: 20.41 kB / 471.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.3657, allocations: 28.31 kB / 471.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.3658, allocations: 35.09 kB / 471.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3658, allocations: 18.27 kB / 471.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008668/0.3667, allocations: 0.578 MB / 472.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3667, allocations: 4 kB / 472.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009625/0.3677, allocations: 209.2 kB / 472.4 MB, free: 15.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002312/0.3679, allocations: 125 kB / 472.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.3692, allocations: 0.6769 MB / 473.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3692, allocations: 4.062 kB / 473.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007094/0.3699, allocations: 447.5 kB / 473.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3711, allocations: 242.3 kB / 473.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.3741, allocations: 1.801 MB / 475.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007603/0.3749, allocations: 1.009 MB / 476.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.3751, allocations: 63.95 kB / 476.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3751, allocations: 4 kB / 476.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of Templates: time 0.02821/0.4033, allocations: 21.53 MB / 498.3 MB, free: 9.027 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.067057127831504]