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.001396/0.001402, allocations: 95.12 kB / 16.95 MB, free: 6.449 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.001578/0.001578, allocations: 182.8 kB / 17.84 MB, free: 6.008 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.933/1.933, allocations: 205.4 MB / 224 MB, free: 13.14 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.0006371/0.0006375, allocations: 8 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1436, allocations: 47.57 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01114/0.1549, allocations: 6.975 MB / 335.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.1616, allocations: 2.441 MB / 337.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.1631, allocations: 19.94 kB / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.1652, allocations: 425.7 kB / 338.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.1672, allocations: 341.5 kB / 338.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007616/0.168, allocations: 135.8 kB / 338.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.17, allocations: 1.113 MB / 339.8 MB, free: 8.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009762/0.171, allocations: 400 kB / 340.2 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.1721, allocations: 386.2 kB / 340.6 MB, free: 7.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009771/0.1731, allocations: 442 kB / 341 MB, free: 7.359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.1733, allocations: 52 kB / 341 MB, free: 7.309 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.1738, allocations: 91.97 kB / 341.1 MB, free: 7.219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.174, allocations: 163.2 kB / 341.3 MB, free: 7.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.1745, allocations: 221.2 kB / 341.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.1761, allocations: 1.141 MB / 342.6 MB, free: 5.691 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1761, allocations: 0 / 342.6 MB, free: 5.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.1762, allocations: 0 / 342.6 MB, free: 5.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.377e-05/0.1762, allocations: 0 / 342.6 MB, free: 5.691 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.003301/0.1795, allocations: 1.161 MB / 343.8 MB, free: 4.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.1796, allocations: 8.031 kB / 343.8 MB, free: 4.473 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/0.1804, allocations: 150.6 kB / 344 MB, free: 4.324 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.182, allocations: 0.6173 MB / 344.6 MB, free: 3.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.1821, allocations: 58 kB / 344.6 MB, free: 3.605 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.1824, allocations: 87.98 kB / 344.7 MB, free: 3.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.1844, allocations: 0.8223 MB / 345.5 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.834e-05/0.1844, allocations: 15.91 kB / 345.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.1845, allocations: 28 kB / 345.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.1846, allocations: 24 kB / 345.6 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.186, allocations: 0.5466 MB / 346.2 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006493/0.1925, allocations: 3.59 MB / 349.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.1931, allocations: 250.6 kB / 350 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.1934, allocations: 132.7 kB / 350.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.1935, allocations: 12.05 kB / 350.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.1936, allocations: 38.56 kB / 350.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.907e-06/0.1936, allocations: 0 / 350.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002965/0.1965, allocations: 1.099 MB / 351.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.1966, allocations: 89.09 kB / 351.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.1981, allocations: 0.7545 MB / 352.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.1982, allocations: 33.7 kB / 352.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/0.1987, allocations: 0.5136 MB / 352.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.1988, allocations: 102.5 kB / 352.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.1989, allocations: 16 kB / 352.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002748/0.1992, allocations: 378.8 kB / 353.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.1995, allocations: 137.2 kB / 353.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.2002, allocations: 450.2 kB / 353.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.2006, allocations: 216 kB / 353.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.2007, allocations: 4 kB / 353.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00139/0.2021, allocations: 0.6575 MB / 354.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.2021, allocations: 8 kB / 354.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.2021, allocations: 12 kB / 354.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.2024, allocations: 36.84 kB / 354.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.2029, allocations: 152.2 kB / 354.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.2044, allocations: 1.292 MB / 356.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/0.2051, allocations: 47.95 kB / 356.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/0.2052, allocations: 35.98 kB / 356.2 MB, free: 7.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004964/0.2057, allocations: 245.5 kB / 356.4 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.2059, allocations: 79.06 kB / 356.5 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007832/0.2067, allocations: 345.9 kB / 356.8 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2067, allocations: 4 kB / 356.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2067, allocations: 0 / 356.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2067, allocations: 4 kB / 356.8 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.209, allocations: 1.132 MB / 358 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.209, allocations: 4.266 kB / 358 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.2093, allocations: 75.88 kB / 358 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.2094, allocations: 24.81 kB / 358.1 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.2095, allocations: 11.98 kB / 358.1 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.2107, allocations: 1.268 MB / 359.3 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2107, allocations: 3.938 kB / 359.3 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.2119, allocations: 0.5999 MB / 359.9 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.2122, allocations: 176.2 kB / 360.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.2124, allocations: 11.98 kB / 360.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.2127, allocations: 27.98 kB / 360.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.2128, allocations: 23.97 kB / 360.2 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.2129, allocations: 7.938 kB / 360.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007556/0.2136, allocations: 0.5146 MB / 360.7 MB, free: 2.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2136, allocations: 3.938 kB / 360.7 MB, free: 2.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000855/0.2145, allocations: 172 kB / 360.9 MB, free: 2.355 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002699/0.2148, allocations: 115.2 kB / 361 MB, free: 2.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.216, allocations: 491.9 kB / 361.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.216, allocations: 0 / 361.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.2165, allocations: 255.8 kB / 361.7 MB, free: 1.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.2177, allocations: 175.3 kB / 361.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.2219, allocations: 1.793 MB / 363.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009055/0.2228, allocations: 0.9565 MB / 364.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005003/0.2233, allocations: 98.16 kB / 364.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.2235, allocations: 51.38 kB / 364.8 MB, free: 14.33 MB / 318.1 MB Notification: Performance of SimCode: time 2.144e-06/0.2235, allocations: 0 / 364.8 MB, free: 14.33 MB / 318.1 MB Notification: Performance of Templates: time 0.02014/0.2437, allocations: 7.703 MB / 372.5 MB, free: 6.629 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 -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","../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