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.001509/0.001509, allocations: 108.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.001546/0.001546, allocations: 186.9 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.688/1.688, allocations: 205.1 MB / 225.2 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.001534/0.001534, allocations: 51.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1284, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01079/0.1393, allocations: 7.922 MB / 336.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.1449, allocations: 2.61 MB / 339.3 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.1463, allocations: 23.94 kB / 339.3 MB, free: 9.125 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.148, allocations: 0.5047 MB / 339.8 MB, free: 8.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.1495, allocations: 400.8 kB / 340.2 MB, free: 8.223 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.1501, allocations: 215.6 kB / 340.4 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.1519, allocations: 1.23 MB / 341.6 MB, free: 6.777 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007737/0.1527, allocations: 0.537 MB / 342.2 MB, free: 6.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006823/0.1533, allocations: 478.1 kB / 342.6 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006912/0.154, allocations: 0.5211 MB / 343.1 MB, free: 5.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.1542, allocations: 120 kB / 343.3 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/0.1546, allocations: 152 kB / 343.4 MB, free: 4.965 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.1548, allocations: 235.1 kB / 343.6 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006461/0.1555, allocations: 0.5638 MB / 344.2 MB, free: 4.168 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.1574, allocations: 1.464 MB / 345.7 MB, free: 2.699 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1574, allocations: 0 / 345.7 MB, free: 2.699 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1574, allocations: 0 / 345.7 MB, free: 2.699 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.1574, allocations: 0 / 345.7 MB, free: 2.699 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.002413/0.1598, allocations: 1.293 MB / 347 MB, free: 1.352 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1599, allocations: 19.88 kB / 347 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/0.1604, allocations: 151.5 kB / 347.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.1615, allocations: 0.6377 MB / 347.8 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.1616, allocations: 74.31 kB / 347.8 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.1618, allocations: 87.84 kB / 347.9 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.1632, allocations: 0.8223 MB / 348.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.1633, allocations: 8 kB / 348.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.1633, allocations: 36 kB / 348.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.1634, allocations: 20 kB / 348.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.1645, allocations: 0.5387 MB / 349.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/0.1692, allocations: 3.562 MB / 352.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.1698, allocations: 242.6 kB / 353.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.17, allocations: 120.8 kB / 353.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.1701, allocations: 4 kB / 353.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1701, allocations: 30.56 kB / 353.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.425e-06/0.1701, allocations: 4 kB / 353.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002254/0.1724, allocations: 1.075 MB / 354.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.1725, allocations: 85.05 kB / 354.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009806/0.1735, allocations: 0.7545 MB / 355.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1735, allocations: 33.7 kB / 355.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.1739, allocations: 0.5175 MB / 355.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.412e-05/0.174, allocations: 106.5 kB / 355.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.1742, allocations: 122.2 kB / 356 MB, free: 7.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1744, allocations: 378.8 kB / 356.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.1747, allocations: 133.2 kB / 356.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.1753, allocations: 446.2 kB / 356.9 MB, free: 6.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/0.1762, allocations: 0.6179 MB / 357.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.1762, allocations: 4 kB / 357.5 MB, free: 6 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001285/0.1775, allocations: 0.6461 MB / 358.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.1776, allocations: 12 kB / 358.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.1776, allocations: 11.94 kB / 358.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.1779, allocations: 36.84 kB / 358.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.1783, allocations: 147.7 kB / 358.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.1797, allocations: 1.39 MB / 359.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.1804, allocations: 40.05 kB / 359.8 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.1804, allocations: 32 kB / 359.9 MB, free: 3.531 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.00045/0.1809, allocations: 241.5 kB / 360.1 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.181, allocations: 75.16 kB / 360.2 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007301/0.1818, allocations: 345.8 kB / 360.5 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1818, allocations: 4 kB / 360.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1818, allocations: 0 / 360.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1818, allocations: 3.938 kB / 360.5 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.1836, allocations: 1.113 MB / 361.6 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1837, allocations: 0 / 361.6 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.184, allocations: 67.89 kB / 361.7 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-05/0.1841, allocations: 25.06 kB / 361.7 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.1841, allocations: 8 kB / 361.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.1851, allocations: 1.375 MB / 363.1 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1852, allocations: 4.031 kB / 363.1 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.1861, allocations: 0.5686 MB / 363.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.1863, allocations: 184.1 kB / 363.8 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.1864, allocations: 11.94 kB / 363.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.1868, allocations: 23.98 kB / 363.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.1869, allocations: 19.97 kB / 363.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1869, allocations: 15.92 kB / 363.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007096/0.1876, allocations: 0.5185 MB / 364.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1876, allocations: 0 / 364.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008071/0.1884, allocations: 175.9 kB / 364.6 MB, free: 14.47 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.0002321/0.1887, allocations: 119.2 kB / 364.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.1897, allocations: 480.2 kB / 365.2 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1897, allocations: 0.625 kB / 365.2 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.1901, allocations: 242.6 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.0008806/0.191, allocations: 192.8 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.002933/0.194, allocations: 1.455 MB / 367.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.1946, allocations: 0.9487 MB / 368 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.195, allocations: 102.1 kB / 368.1 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1951, allocations: 47.44 kB / 368.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of SimCode: time 9.91e-07/0.1951, allocations: 0 / 368.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of Templates: time 0.01888/0.214, allocations: 8.436 MB / 376.6 MB, free: 2.367 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 cvode -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