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.00123/0.00123, allocations: 95.45 kB / 17.3 MB, free: 6.344 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.001281/0.001281, allocations: 179.8 kB / 18.21 MB, free: 5.531 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.95/1.95, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0005153/0.0005153, allocations: 12 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 47.59 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008218/0.1434, allocations: 7.405 MB / 336.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005228/0.1487, allocations: 2.56 MB / 338.9 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.1501, allocations: 23.94 kB / 339 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.1518, allocations: 461.6 kB / 339.4 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.1533, allocations: 345.5 kB / 339.8 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.1538, allocations: 183.8 kB / 339.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.155, allocations: 1.171 MB / 341.1 MB, free: 7.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006506/0.1556, allocations: 459.9 kB / 341.6 MB, free: 7.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.1562, allocations: 406.1 kB / 341.9 MB, free: 6.691 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005114/0.1567, allocations: 453.7 kB / 342.4 MB, free: 6.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.736e-05/0.1568, allocations: 56 kB / 342.4 MB, free: 6.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.157, allocations: 87.98 kB / 342.5 MB, free: 6.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1572, allocations: 175.1 kB / 342.7 MB, free: 5.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.1576, allocations: 0.5108 MB / 343.2 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.1589, allocations: 1.374 MB / 344.6 MB, free: 4.035 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1589, allocations: 0 / 344.6 MB, free: 4.035 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1589, allocations: 0 / 344.6 MB, free: 4.035 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.1589, allocations: 4 kB / 344.6 MB, free: 4.031 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.002093/0.161, allocations: 1.149 MB / 345.7 MB, free: 2.828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1611, allocations: 8.031 kB / 345.7 MB, free: 2.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005855/0.1617, allocations: 151.6 kB / 345.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1627, allocations: 0.6376 MB / 346.5 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.1628, allocations: 58.38 kB / 346.6 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.1629, allocations: 91.84 kB / 346.7 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.1644, allocations: 0.83 MB / 347.5 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.1645, allocations: 7.938 kB / 347.5 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/0.1645, allocations: 36 kB / 347.6 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/0.1646, allocations: 23.98 kB / 347.6 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.1658, allocations: 0.5544 MB / 348.1 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004677/0.1705, allocations: 3.593 MB / 351.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.1711, allocations: 254.5 kB / 352 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.1714, allocations: 124.8 kB / 352.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1714, allocations: 8 kB / 352.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1714, allocations: 34.56 kB / 352.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.395e-06/0.1715, allocations: 0 / 352.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002359/0.1738, allocations: 1.11 MB / 353.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.1739, allocations: 81.05 kB / 353.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.1749, allocations: 0.7585 MB / 354.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.175, allocations: 33.7 kB / 354.1 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/0.1754, allocations: 0.5136 MB / 354.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/0.1756, allocations: 114.5 kB / 354.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.1756, allocations: 57.69 kB / 354.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002828/0.1759, allocations: 378.8 kB / 355.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.1762, allocations: 141.2 kB / 355.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.1768, allocations: 454.2 kB / 355.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.1778, allocations: 0.6335 MB / 356.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1778, allocations: 4 kB / 356.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001166/0.179, allocations: 0.6541 MB / 357 MB, free: 6.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.179, allocations: 11.98 kB / 357.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.179, allocations: 15.94 kB / 357.1 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.1792, allocations: 36.89 kB / 357.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.1797, allocations: 151.7 kB / 357.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.1809, allocations: 1.299 MB / 358.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.1814, allocations: 39.89 kB / 358.6 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.1815, allocations: 36.09 kB / 358.6 MB, free: 5.02 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.0004202/0.1819, allocations: 245.5 kB / 358.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.182, allocations: 79.05 kB / 358.9 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007485/0.1828, allocations: 350.2 kB / 359.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1828, allocations: 4 kB / 359.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1828, allocations: 0 / 359.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1828, allocations: 3.984 kB / 359.3 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.1848, allocations: 1.129 MB / 360.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.1848, allocations: 4 kB / 360.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.1851, allocations: 63.97 kB / 360.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.414e-05/0.1852, allocations: 28.78 kB / 360.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1852, allocations: 8.156 kB / 360.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.1865, allocations: 1.284 MB / 361.8 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1865, allocations: 160 / 361.8 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1876, allocations: 0.5954 MB / 362.4 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.1879, allocations: 176.2 kB / 362.6 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.197e-05/0.1879, allocations: 8 kB / 362.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.1883, allocations: 31.91 kB / 362.6 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.1884, allocations: 23.97 kB / 362.6 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.1884, allocations: 12 kB / 362.7 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007696/0.1892, allocations: 0.5147 MB / 363.2 MB, free: 188 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1892, allocations: 0 / 363.2 MB, free: 188 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007215/0.1899, allocations: 168 kB / 363.3 MB, free: 20 kB / 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 (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.0002259/0.1901, allocations: 127.1 kB / 363.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008963/0.1911, allocations: 495.7 kB / 363.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.1911, allocations: 5.062 kB / 363.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.1914, allocations: 246.8 kB / 364.2 MB, free: 15.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.1926, allocations: 179.1 kB / 364.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.1957, allocations: 1.899 MB / 366.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.1964, allocations: 0.9526 MB / 367.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003506/0.1967, allocations: 94.17 kB / 367.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.1968, allocations: 51.42 kB / 367.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1968, allocations: 4 kB / 367.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of Templates: time 0.01659/0.2134, allocations: 7.937 MB / 375.3 MB, free: 3.953 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