Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 95.64 kB / 21.74 MB, free: 2.676 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002177/0.002177, allocations: 168.8 kB / 25.03 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.171e-05, allocations: 2.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01189/0.01193, allocations: 7.82 MB / 258.2 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006162/0.01809, allocations: 2.576 MB / 260.8 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.01917, allocations: 27.88 kB / 260.8 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.02085, allocations: 0.5246 MB / 261.3 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.0222, allocations: 0.5 MB / 261.8 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.02273, allocations: 247.6 kB / 262.1 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001922/0.02465, allocations: 1.478 MB / 263.5 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.02568, allocations: 383.2 kB / 263.9 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.02698, allocations: 0.8417 MB / 264.8 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007594/0.02774, allocations: 462.6 kB / 265.2 MB, free: 8.879 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.02794, allocations: 132 kB / 265.3 MB, free: 8.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000404/0.02834, allocations: 175.9 kB / 265.5 MB, free: 8.578 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.02863, allocations: 282.9 kB / 265.8 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.02923, allocations: 454.9 kB / 266.2 MB, free: 7.855 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.03145, allocations: 1.709 MB / 267.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.03146, allocations: 4 kB / 267.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.03146, allocations: 0 / 267.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.03148, allocations: 0 / 267.9 MB, free: 6.137 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002868/0.03435, allocations: 1.585 MB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.03439, allocations: 11.98 kB / 269.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007028/0.03509, allocations: 256 kB / 269.8 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.03638, allocations: 0.6835 MB / 270.5 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.289e-05/0.03647, allocations: 77.94 kB / 270.6 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.03664, allocations: 99.95 kB / 270.7 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.03873, allocations: 1.065 MB / 271.7 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.03876, allocations: 3.938 kB / 271.7 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/0.03886, allocations: 48 kB / 271.8 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/0.03889, allocations: 23.98 kB / 271.8 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.04017, allocations: 0.5934 MB / 272.4 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007153/0.04732, allocations: 4.716 MB / 277.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.04795, allocations: 270.7 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.04824, allocations: 139.5 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.04828, allocations: 8 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.04832, allocations: 37.39 kB / 277.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.595e-06/0.04832, allocations: 0 / 277.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002591/0.05092, allocations: 1.041 MB / 278.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.05099, allocations: 84.97 kB / 278.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.05234, allocations: 0.964 MB / 279.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.05238, allocations: 29.7 kB / 279.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006488/0.05303, allocations: 0.6776 MB / 280.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.05317, allocations: 142.9 kB / 280.5 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.05343, allocations: 160.2 kB / 280.6 MB, free: 8.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004255/0.05385, allocations: 0.6055 MB / 281.2 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.05415, allocations: 137.9 kB / 281.4 MB, free: 8.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007522/0.0549, allocations: 0.62 MB / 282 MB, free: 7.309 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.05599, allocations: 0.7702 MB / 282.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.056, allocations: 4 kB / 282.8 MB, free: 6.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001296/0.0573, allocations: 0.7067 MB / 283.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.05732, allocations: 11.12 kB / 283.5 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.05734, allocations: 12.78 kB / 283.5 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.05753, allocations: 43.67 kB / 283.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.05804, allocations: 147.8 kB / 283.7 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.05995, allocations: 1.786 MB / 285.5 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.06044, allocations: 35.89 kB / 285.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.06049, allocations: 36.12 kB / 285.5 MB, free: 3.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004712/0.06096, allocations: 304.3 kB / 285.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.06112, allocations: 87.48 kB / 285.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.06187, allocations: 360.2 kB / 286.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.06188, allocations: 7.938 kB / 286.3 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.06188, allocations: 0 / 286.3 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.06188, allocations: 0 / 286.3 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.06417, allocations: 1.338 MB / 287.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.06418, allocations: 4 kB / 287.6 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.06449, allocations: 63.91 kB / 287.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.06462, allocations: 27.67 kB / 287.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.06465, allocations: 12.16 kB / 287.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.06616, allocations: 1.775 MB / 289.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.06616, allocations: 0 / 289.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.06728, allocations: 0.6906 MB / 290.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.06754, allocations: 107.4 kB / 290.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.06763, allocations: 11.98 kB / 290.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.06795, allocations: 16 kB / 290.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.06804, allocations: 35.88 kB / 290.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.06806, allocations: 12 kB / 290.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000868/0.06893, allocations: 0.5888 MB / 291 MB, free: 13.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06893, allocations: 0 / 291 MB, free: 13.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000824/0.06975, allocations: 191.9 kB / 291.2 MB, free: 13.54 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0002547/0.07001, allocations: 119.2 kB / 291.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.07117, allocations: 0.5808 MB / 291.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.07117, allocations: 5.875 kB / 291.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000794/0.07197, allocations: 321.3 kB / 292.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.07298, allocations: 210.9 kB / 292.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.0761, allocations: 1.639 MB / 294 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.07662, allocations: 405 kB / 294.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.07697, allocations: 94.28 kB / 294.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.07711, allocations: 60.48 kB / 294.6 MB, free: 9.988 MB / 282.7 MB Notification: Performance of SimCode: time 1.223e-06/0.07711, allocations: 0 / 294.6 MB, free: 9.988 MB / 282.7 MB Notification: Performance of Templates: time 0.02017/0.09728, allocations: 8.981 MB / 303.5 MB, free: 1.047 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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: 4.879148073028773]