Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 114.5 kB / 17.73 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 179 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 51.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.3056/0.4345, allocations: 7.908 MB / 383.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008262/0.4429, allocations: 2.616 MB / 385.7 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.445, allocations: 23.59 kB / 385.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.4481, allocations: 0.5058 MB / 386.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.4507, allocations: 392.5 kB / 386.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.4518, allocations: 221.4 kB / 386.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.4545, allocations: 1.231 MB / 388 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009938/0.4555, allocations: 0.5368 MB / 388.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.4568, allocations: 483.5 kB / 389 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.4579, allocations: 0.5192 MB / 389.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.4581, allocations: 114.7 kB / 389.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.4586, allocations: 156.5 kB / 389.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.4588, allocations: 240.1 kB / 390.1 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.4593, allocations: 0.5645 MB / 390.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.4613, allocations: 1.451 MB / 392.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4613, allocations: 0 / 392.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4613, allocations: 4 kB / 392.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.956e-05/0.4614, allocations: 0 / 392.1 MB, free: 4.797 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002524/0.4639, allocations: 1.31 MB / 393.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4639, allocations: 13.72 kB / 393.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005905/0.4645, allocations: 151.4 kB / 393.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.4657, allocations: 0.6494 MB / 394.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.4658, allocations: 59.81 kB / 394.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.4659, allocations: 91.56 kB / 394.4 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.4675, allocations: 0.8153 MB / 395.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.4676, allocations: 7.047 kB / 395.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.4676, allocations: 31.03 kB / 395.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.4677, allocations: 20.84 kB / 395.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.4689, allocations: 0.5458 MB / 395.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/0.4737, allocations: 3.549 MB / 399.3 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.4743, allocations: 241.5 kB / 399.6 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.4746, allocations: 123.8 kB / 399.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.4746, allocations: 3.547 kB / 399.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.4747, allocations: 37.7 kB / 399.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 4.769e-06/0.4747, allocations: 0 / 399.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002584/0.4773, allocations: 1.076 MB / 400.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.4774, allocations: 83.58 kB / 400.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.4785, allocations: 0.7636 MB / 401.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.4785, allocations: 30.67 kB / 401.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.479, allocations: 0.5078 MB / 402.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.4791, allocations: 124.3 kB / 402.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.4793, allocations: 121.8 kB / 402.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.4796, allocations: 382.3 kB / 402.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.4799, allocations: 132.5 kB / 402.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.4805, allocations: 446.4 kB / 403.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008481/0.4813, allocations: 0.6178 MB / 404 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.4813, allocations: 2.75 kB / 404 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001364/0.4827, allocations: 0.6486 MB / 404.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.4827, allocations: 9.25 kB / 404.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.4828, allocations: 14.5 kB / 404.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.483, allocations: 35.28 kB / 404.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.4835, allocations: 154.2 kB / 404.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.4848, allocations: 1.385 MB / 406.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.4855, allocations: 41.8 kB / 406.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.4855, allocations: 32.2 kB / 406.3 MB, free: 10.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0004482/0.486, allocations: 241.5 kB / 406.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.4861, allocations: 76.88 kB / 406.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.4869, allocations: 335 kB / 406.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4869, allocations: 3.312 kB / 406.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4869, allocations: 0 / 406.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.487, allocations: 5 kB / 406.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.4891, allocations: 1.123 MB / 408.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4891, allocations: 5.25 kB / 408.1 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.4894, allocations: 62.73 kB / 408.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.4895, allocations: 20.36 kB / 408.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.4895, allocations: 11.42 kB / 408.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.4907, allocations: 1.377 MB / 409.5 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4907, allocations: 2.25 kB / 409.5 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.4918, allocations: 0.5745 MB / 410.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.4921, allocations: 178.2 kB / 410.3 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-05/0.4922, allocations: 8.719 kB / 410.3 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.4926, allocations: 22.7 kB / 410.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4927, allocations: 26.97 kB / 410.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.4927, allocations: 11.88 kB / 410.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008517/0.4936, allocations: 0.522 MB / 410.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4936, allocations: 0 / 410.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001122/0.4947, allocations: 171.2 kB / 411 MB, free: 7.246 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (28): * Single equations (assignments): 27 * 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.0003319/0.495, allocations: 110.5 kB / 411.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.4963, allocations: 491.5 kB / 411.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4963, allocations: 1.188 kB / 411.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006135/0.497, allocations: 238.8 kB / 411.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4981, allocations: 197.4 kB / 412.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.501, allocations: 1.463 MB / 413.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.5018, allocations: 0.9541 MB / 414.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004236/0.5022, allocations: 92.98 kB / 414.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.5024, allocations: 49.16 kB / 414.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5024, allocations: 0 / 414.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of Templates: time 0.02331/0.5257, allocations: 8.603 MB / 423.2 MB, free: 14.27 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches