Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007229/0.0007229, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009741/0.001697, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006244/0.0006244, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008218/0.001446, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8687/0.8687, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07464/0.9434, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.239e-05, allocations: 2.875 kB / 239.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.005962/0.005974, allocations: 7.852 MB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.009452, allocations: 2.637 MB / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/0.009862, allocations: 27.88 kB / 250.1 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007753/0.01064, allocations: 0.5285 MB / 250.6 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.01123, allocations: 0.5 MB / 251.1 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.01149, allocations: 247.6 kB / 251.3 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.01261, allocations: 1.501 MB / 252.8 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.01299, allocations: 395.2 kB / 253.2 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000705/0.0137, allocations: 0.95 MB / 254.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.01405, allocations: 462.6 kB / 254.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.01416, allocations: 136 kB / 254.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.01436, allocations: 179.9 kB / 254.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.01447, allocations: 207.3 kB / 255.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.01474, allocations: 383.3 kB / 255.5 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006804/0.01542, allocations: 0.86 MB / 256.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.01543, allocations: 0 / 256.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01543, allocations: 3.984 kB / 256.4 MB, free: 2.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.01545, allocations: 0 / 256.4 MB, free: 2.254 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.001304/0.01676, allocations: 1.581 MB / 258 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.01678, allocations: 12.03 kB / 258 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.01711, allocations: 297.8 kB / 258.3 MB, free: 328 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.01788, allocations: 0.5137 MB / 258.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.01792, allocations: 74 kB / 258.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.01799, allocations: 96 kB / 258.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.01855, allocations: 0.744 MB / 259.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.01857, allocations: 3.953 kB / 259.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.01861, allocations: 36 kB / 259.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.01862, allocations: 24 kB / 259.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.01888, allocations: 241.8 kB / 260 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.02108, allocations: 2.968 MB / 262.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.02127, allocations: 162.4 kB / 263.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.02134, allocations: 72.75 kB / 263.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.02136, allocations: 4.531 kB / 263.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.02138, allocations: 38.56 kB / 263.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.02138, allocations: 0 / 263.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007782/0.02216, allocations: 0.6121 MB / 263.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.02218, allocations: 59.41 kB / 263.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.02261, allocations: 0.6574 MB / 264.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.02263, allocations: 33.7 kB / 264.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.02281, allocations: 0.508 MB / 265.1 MB, free: 9.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.02287, allocations: 134.8 kB / 265.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/0.02296, allocations: 130.5 kB / 265.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.02306, allocations: 386.6 kB / 265.7 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.02334, allocations: 53.97 kB / 265.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.02353, allocations: 401.6 kB / 266.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.02382, allocations: 490.8 kB / 266.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02382, allocations: 3.938 kB / 266.7 MB, free: 7.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003653/0.02418, allocations: 445.5 kB / 267.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.0242, allocations: 8 kB / 267.1 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.02421, allocations: 8 kB / 267.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.086e-05/0.0243, allocations: 33.44 kB / 267.1 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.02461, allocations: 179.7 kB / 267.3 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005135/0.02512, allocations: 1.174 MB / 268.5 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.02542, allocations: 27.95 kB / 268.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.02545, allocations: 35.98 kB / 268.5 MB, free: 5.234 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.0001527/0.0256, allocations: 169.5 kB / 268.7 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.02568, allocations: 55.94 kB / 268.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.02594, allocations: 213.5 kB / 269 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.02594, allocations: 4 kB / 269 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.02595, allocations: 7.922 kB / 269 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.02595, allocations: 3.938 kB / 269 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.02977, allocations: 0.668 MB / 269.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.02977, allocations: 4 kB / 269.7 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.03, allocations: 79.89 kB / 269.7 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.03013, allocations: 67.48 kB / 269.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.013e-05/0.03019, allocations: 16.84 kB / 269.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.0302, allocations: 8 kB / 269.8 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005314/0.03074, allocations: 1.178 MB / 271 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.03074, allocations: 0 / 271 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.03108, allocations: 400.2 kB / 271.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.03114, allocations: 8 kB / 271.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.03135, allocations: 28.05 kB / 271.4 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.03139, allocations: 28.19 kB / 271.5 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.0314, allocations: 8.047 kB / 271.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002875/0.03169, allocations: 311.4 kB / 271.8 MB, free: 1.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03169, allocations: 0 / 271.8 MB, free: 1.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004975/0.03219, allocations: 188 kB / 272 MB, free: 1.617 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.003152/0.03534, allocations: 104.3 kB / 272.1 MB, free: 1.508 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.03575, allocations: 383.3 kB / 272.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.33e-05/0.03578, allocations: 12.5 kB / 272.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.03616, allocations: 207.3 kB / 272.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.03678, allocations: 254.1 kB / 272.9 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/0.06012, allocations: 1.691 MB / 274.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.06025, allocations: 170.6 kB / 274.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.0605, allocations: 102.3 kB / 274.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.06081, allocations: 217.2 kB / 275.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of SimCode: time 9.01e-07/0.06081, allocations: 0 / 275.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of Templates: time 0.03073/0.09154, allocations: 10.19 MB / 285.3 MB, free: 4.395 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.66875484213233]