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.001552/0.001552, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.002005/0.002005, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.064/1.064, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.523e-06/1.523e-06, allocations: 0 / 251.5 MB, free: 7.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.353e-05, allocations: 2.312 kB / 251.5 MB, free: 7.34 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007336/0.00736, allocations: 7.714 MB / 259.2 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004106/0.01147, allocations: 2.568 MB / 261.8 MB, free: 13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005583/0.01202, allocations: 31.88 kB / 261.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.01308, allocations: 0.5168 MB / 262.3 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007228/0.0138, allocations: 0.5039 MB / 262.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.01413, allocations: 243.6 kB / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.01514, allocations: 1.485 MB / 264.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.01558, allocations: 383.2 kB / 264.9 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.01637, allocations: 0.8456 MB / 265.7 MB, free: 8.965 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.01678, allocations: 462.6 kB / 266.2 MB, free: 8.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.01689, allocations: 132 kB / 266.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.01713, allocations: 172 kB / 266.5 MB, free: 8.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.01726, allocations: 274.9 kB / 266.8 MB, free: 7.945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.01754, allocations: 462.8 kB / 267.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000782/0.01832, allocations: 0.899 MB / 268.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.01833, allocations: 0 / 268.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01833, allocations: 0 / 268.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.01834, allocations: 0 / 268.1 MB, free: 6.59 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.001387/0.01972, allocations: 1.495 MB / 269.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.01976, allocations: 19.98 kB / 269.6 MB, free: 5.035 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003725/0.02013, allocations: 256 kB / 269.9 MB, free: 4.785 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.02076, allocations: 0.6412 MB / 270.5 MB, free: 4.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.0208, allocations: 74 kB / 270.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.02089, allocations: 96 kB / 270.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.02162, allocations: 0.7323 MB / 271.4 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.02164, allocations: 7.938 kB / 271.4 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.02169, allocations: 44 kB / 271.5 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.0217, allocations: 24 kB / 271.5 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.02201, allocations: 265.6 kB / 271.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.02477, allocations: 3.669 MB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.025, allocations: 183 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.02507, allocations: 68.17 kB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.02509, allocations: 4 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.02511, allocations: 45.38 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.02511, allocations: 0 / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008252/0.02594, allocations: 0.6665 MB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.02597, allocations: 81.11 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.02647, allocations: 0.7253 MB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.02649, allocations: 33.7 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.02679, allocations: 0.6501 MB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.02686, allocations: 134.9 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.02697, allocations: 140.1 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.02716, allocations: 0.5702 MB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.02722, allocations: 57.94 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.02748, allocations: 0.5144 MB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.02784, allocations: 0.6059 MB / 279.9 MB, free: 9.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.02784, allocations: 4 kB / 279.9 MB, free: 9.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0004805/0.02832, allocations: 0.5392 MB / 280.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.02834, allocations: 8 kB / 280.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.02835, allocations: 16 kB / 280.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.411e-05/0.02844, allocations: 32.27 kB / 280.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.0287, allocations: 159.8 kB / 280.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007436/0.02944, allocations: 1.725 MB / 282.4 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.02965, allocations: 27.98 kB / 282.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.02968, allocations: 35.94 kB / 282.4 MB, free: 7.258 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.0001543/0.02983, allocations: 204.4 kB / 282.6 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/0.0299, allocations: 91.48 kB / 282.7 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.03016, allocations: 260 kB / 283 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.03016, allocations: 4 kB / 283 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.03016, allocations: 7.938 kB / 283 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.03017, allocations: 0 / 283 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.03098, allocations: 0.8851 MB / 283.9 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03098, allocations: 4 kB / 283.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.03113, allocations: 63.91 kB / 283.9 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.566e-05/0.03119, allocations: 23.67 kB / 284 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.03121, allocations: 12 kB / 284 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006503/0.03186, allocations: 1.717 MB / 285.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.03186, allocations: 3.938 kB / 285.7 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.03224, allocations: 0.5265 MB / 286.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.03236, allocations: 103.4 kB / 286.3 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.0324, allocations: 11.94 kB / 286.3 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.03255, allocations: 19.98 kB / 286.3 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.0326, allocations: 32.02 kB / 286.4 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.03261, allocations: 8 kB / 286.4 MB, free: 3.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002714/0.03288, allocations: 430.8 kB / 286.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03288, allocations: 0 / 286.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004121/0.03329, allocations: 188 kB / 287 MB, free: 2.434 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.0001762/0.03347, allocations: 131.1 kB / 287.1 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.03391, allocations: 444 kB / 287.6 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.03391, allocations: 4.062 kB / 287.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.03408, allocations: 269.3 kB / 287.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.03465, allocations: 197 kB / 288 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.03659, allocations: 1.597 MB / 289.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.03669, allocations: 158.6 kB / 289.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.03691, allocations: 98.28 kB / 289.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.0372, allocations: 254.1 kB / 290.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.683e-06/0.0372, allocations: 4 kB / 290.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of Templates: time 0.01351/0.05071, allocations: 9.716 MB / 299.8 MB, free: 5.492 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: 3.0533596300520003]