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.0009129/0.0009129, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001616/0.001616, allocations: 167 kB / 25.7 MB, free: 8.395 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 0.8191/0.8191, allocations: 158.6 MB / 187.6 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] 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.683e-06/1.683e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.739e-05, allocations: 6.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01242/0.01244, allocations: 7.722 MB / 259.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004459/0.0169, allocations: 2.649 MB / 261.9 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005118/0.01741, allocations: 27.88 kB / 261.9 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.01861, allocations: 0.5324 MB / 262.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.01962, allocations: 0.5038 MB / 263 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.02009, allocations: 243.6 kB / 263.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.02187, allocations: 1.49 MB / 264.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.02233, allocations: 391.2 kB / 265.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007719/0.0231, allocations: 0.834 MB / 265.9 MB, free: 8.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000381/0.02348, allocations: 470.6 kB / 266.4 MB, free: 8.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.02358, allocations: 136 kB / 266.5 MB, free: 8.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.02376, allocations: 175.8 kB / 266.7 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.0239, allocations: 282.9 kB / 267 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.02423, allocations: 450.9 kB / 267.4 MB, free: 7.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000727/0.02495, allocations: 0.899 MB / 268.3 MB, free: 6.387 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.02496, allocations: 0 / 268.3 MB, free: 6.387 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.02496, allocations: 0 / 268.3 MB, free: 6.387 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.02497, allocations: 0 / 268.3 MB, free: 6.387 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.001182/0.02615, allocations: 1.339 MB / 269.6 MB, free: 5.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.53e-05/0.02617, allocations: 15.98 kB / 269.7 MB, free: 5.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.02649, allocations: 216.7 kB / 269.9 MB, free: 4.793 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.02705, allocations: 0.5138 MB / 270.4 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.02708, allocations: 70 kB / 270.4 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/0.02717, allocations: 103.9 kB / 270.5 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008391/0.02801, allocations: 0.744 MB / 271.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.02803, allocations: 4 kB / 271.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.02807, allocations: 40 kB / 271.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.02808, allocations: 24 kB / 271.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.02835, allocations: 233.8 kB / 271.6 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.03086, allocations: 2.956 MB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.03108, allocations: 178.3 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.03115, allocations: 52.84 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.03117, allocations: 11.94 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.0312, allocations: 34.56 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.0312, allocations: 0 / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008511/0.03205, allocations: 0.6173 MB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.03209, allocations: 81.11 kB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.03256, allocations: 0.6496 MB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.03258, allocations: 29.7 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.03278, allocations: 0.5119 MB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.03284, allocations: 126.9 kB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.03295, allocations: 134.5 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.03306, allocations: 394.6 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.03312, allocations: 53.97 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.03351, allocations: 397.9 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.03382, allocations: 0.4904 MB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.03383, allocations: 4 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003876/0.03421, allocations: 441.4 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.03423, allocations: 11.98 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.03424, allocations: 12.88 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-05/0.03433, allocations: 28.86 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.03457, allocations: 155.7 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005256/0.0351, allocations: 1.174 MB / 280.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.0353, allocations: 36.08 kB / 280.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.03532, allocations: 31.98 kB / 280.2 MB, free: 9.703 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.0001308/0.03545, allocations: 161.5 kB / 280.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.0355, allocations: 55.94 kB / 280.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.03571, allocations: 213.4 kB / 280.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.03571, allocations: 4 kB / 280.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.03571, allocations: 7.922 kB / 280.6 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.03572, allocations: 3.938 kB / 280.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007382/0.03646, allocations: 0.6639 MB / 281.3 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.03646, allocations: 4 kB / 281.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.03661, allocations: 67.91 kB / 281.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.983e-05/0.03667, allocations: 20.84 kB / 281.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.03669, allocations: 8 kB / 281.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004839/0.03717, allocations: 1.166 MB / 282.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03717, allocations: 0 / 282.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.03746, allocations: 400.8 kB / 282.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.03756, allocations: 67.52 kB / 283 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.0376, allocations: 8 kB / 283 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.03775, allocations: 24.11 kB / 283 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.0378, allocations: 40.06 kB / 283 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.03781, allocations: 4 kB / 283 MB, free: 6.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002354/0.03804, allocations: 311.4 kB / 283.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03804, allocations: 0 / 283.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003663/0.03841, allocations: 188 kB / 283.5 MB, free: 6.117 MB / 266.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.00013/0.03854, allocations: 104.3 kB / 283.6 MB, free: 6.008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.03891, allocations: 381.5 kB / 284 MB, free: 5.625 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/0.03893, allocations: 8.5 kB / 284 MB, free: 5.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.03906, allocations: 207.2 kB / 284.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.0395, allocations: 195.6 kB / 284.4 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.04117, allocations: 1.525 MB / 285.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.863e-05/0.04127, allocations: 158.6 kB / 286.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.04146, allocations: 90.3 kB / 286.2 MB, free: 3.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.04172, allocations: 217.2 kB / 286.4 MB, free: 3.148 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.04172, allocations: 0 / 286.4 MB, free: 3.148 MB / 266.7 MB Notification: Performance of Templates: time 0.01201/0.05373, allocations: 9.65 MB / 296 MB, free: 9.539 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.760252304840833]