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.001829/0.001829, allocations: 109.4 kB / 18.34 MB, free: 4.676 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.001809/0.001808, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.54/1.54, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001301/0.001301, allocations: 52.14 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1135, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009894/0.1235, allocations: 7.922 MB / 336.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005845/0.1294, allocations: 2.618 MB / 339.3 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.1308, allocations: 23.94 kB / 339.3 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.1326, allocations: 0.493 MB / 339.8 MB, free: 8.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.1344, allocations: 404.8 kB / 340.2 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.135, allocations: 215.6 kB / 340.4 MB, free: 8.008 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.1368, allocations: 1.237 MB / 341.6 MB, free: 6.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000798/0.1376, allocations: 0.5331 MB / 342.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000797/0.1384, allocations: 474.1 kB / 342.6 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007449/0.1392, allocations: 0.525 MB / 343.1 MB, free: 5.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.1393, allocations: 116 kB / 343.3 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.1397, allocations: 156 kB / 343.4 MB, free: 4.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.1399, allocations: 231.1 kB / 343.6 MB, free: 4.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000638/0.1406, allocations: 0.5638 MB / 344.2 MB, free: 4.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.1422, allocations: 1.46 MB / 345.7 MB, free: 2.699 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.1422, allocations: 0 / 345.7 MB, free: 2.699 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1422, allocations: 4 kB / 345.7 MB, free: 2.695 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.1422, allocations: 0 / 345.7 MB, free: 2.695 MB / 286.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.002392/0.1446, allocations: 1.297 MB / 347 MB, free: 1.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1447, allocations: 15.89 kB / 347 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005255/0.1452, allocations: 151.5 kB / 347.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.1465, allocations: 0.6455 MB / 347.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.1465, allocations: 62.31 kB / 347.8 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.1467, allocations: 95.84 kB / 347.9 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.1481, allocations: 0.8184 MB / 348.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.1482, allocations: 7.984 kB / 348.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.1483, allocations: 32 kB / 348.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.1483, allocations: 24 kB / 348.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1494, allocations: 0.5426 MB / 349.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004962/0.1544, allocations: 3.554 MB / 352.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.155, allocations: 247.5 kB / 353.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.1553, allocations: 120.7 kB / 353.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.1553, allocations: 0 / 353.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1554, allocations: 42.56 kB / 353.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.565e-06/0.1554, allocations: 3.938 kB / 353.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002416/0.1578, allocations: 1.067 MB / 354.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.1579, allocations: 85.05 kB / 354.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.1589, allocations: 0.7585 MB / 355.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.159, allocations: 33.7 kB / 355.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/0.1594, allocations: 0.5097 MB / 355.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1595, allocations: 106.5 kB / 355.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.1597, allocations: 126.1 kB / 356 MB, free: 7.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002412/0.16, allocations: 386.8 kB / 356.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.1603, allocations: 129.2 kB / 356.5 MB, free: 7.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.161, allocations: 442.2 kB / 356.9 MB, free: 6.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009962/0.162, allocations: 0.6218 MB / 357.5 MB, free: 5.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.162, allocations: 0 / 357.5 MB, free: 5.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001333/0.1633, allocations: 0.642 MB / 358.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.1634, allocations: 8 kB / 358.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/0.1634, allocations: 15.94 kB / 358.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/0.1637, allocations: 36.84 kB / 358.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.1642, allocations: 147.7 kB / 358.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.1658, allocations: 1.391 MB / 359.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/0.1666, allocations: 47.94 kB / 359.8 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.1667, allocations: 36 kB / 359.9 MB, free: 3.52 MB / 302.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.0005117/0.1672, allocations: 237.5 kB / 360.1 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.1673, allocations: 71.16 kB / 360.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007313/0.1681, allocations: 341.8 kB / 360.5 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1681, allocations: 4 kB / 360.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1681, allocations: 0 / 360.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.1681, allocations: 3.938 kB / 360.5 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.17, allocations: 1.117 MB / 361.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.17, allocations: 4 kB / 361.6 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.1703, allocations: 60.11 kB / 361.7 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.1705, allocations: 28.84 kB / 361.7 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.1705, allocations: 8 kB / 361.7 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.1719, allocations: 1.371 MB / 363.1 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1719, allocations: 0 / 363.1 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.1731, allocations: 0.5765 MB / 363.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.1735, allocations: 184.1 kB / 363.8 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.1736, allocations: 12.03 kB / 363.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.1739, allocations: 19.98 kB / 363.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.174, allocations: 27.95 kB / 363.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1741, allocations: 11.94 kB / 363.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007479/0.1748, allocations: 0.5224 MB / 364.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1748, allocations: 4 kB / 364.4 MB, free: 14.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008363/0.1757, allocations: 175.9 kB / 364.6 MB, free: 14.46 MB / 318.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.0002901/0.176, allocations: 111.2 kB / 364.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.1771, allocations: 476.6 kB / 365.2 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1771, allocations: 4.312 kB / 365.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.1775, allocations: 238.5 kB / 365.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.1785, allocations: 200.4 kB / 365.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.1814, allocations: 1.455 MB / 367.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.182, allocations: 0.9487 MB / 368 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003919/0.1824, allocations: 98.11 kB / 368.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1826, allocations: 51.44 kB / 368.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of SimCode: time 1.713e-06/0.1826, allocations: 0 / 368.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of Templates: time 0.01813/0.2007, allocations: 8.44 MB / 376.6 MB, free: 2.355 MB / 318.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 -s gbode -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/jenkins1/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/jenkins1/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