Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001079, allocations: 199.9 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007125/0.0007125, allocations: 109.4 kB / 299.9 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002071/0.0002071, allocations: 4 kB / 360.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1922, allocations: 51.42 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.005391/0.1977, allocations: 7.055 MB / 419.1 MB, free: 18.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.201, allocations: 2.974 MB / 422.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005279/0.2015, allocations: 27.94 kB / 422.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.2026, allocations: 445.6 kB / 422.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006875/0.2033, allocations: 349.5 kB / 422.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.2037, allocations: 191.8 kB / 423.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.2044, allocations: 1.167 MB / 424.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.205, allocations: 463.9 kB / 424.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.2055, allocations: 414 kB / 425.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.2058, allocations: 449.8 kB / 425.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-05/0.2059, allocations: 63.94 kB / 425.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.2062, allocations: 91.98 kB / 425.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.2063, allocations: 167.2 kB / 425.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003732/0.2067, allocations: 0.5224 MB / 426.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009544/0.2077, allocations: 1.366 MB / 427.7 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2077, allocations: 0 / 427.7 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.2077, allocations: 0 / 427.7 MB, free: 10 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.2077, allocations: 0 / 427.7 MB, free: 10 MB / 298.7 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.001661/0.2094, allocations: 1.153 MB / 428.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2094, allocations: 8.031 kB / 428.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005741/0.21, allocations: 179.6 kB / 429.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.2108, allocations: 0.6338 MB / 429.7 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.2108, allocations: 70.31 kB / 429.8 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2109, allocations: 91.83 kB / 429.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.2121, allocations: 0.8223 MB / 430.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.2122, allocations: 4 kB / 430.7 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.2122, allocations: 32 kB / 430.7 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.2122, allocations: 20 kB / 430.7 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008896/0.2131, allocations: 0.5543 MB / 431.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.2163, allocations: 3.593 MB / 434.9 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.2168, allocations: 250.6 kB / 435.1 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.217, allocations: 128.8 kB / 435.3 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.2171, allocations: 0 / 435.3 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.2171, allocations: 38.56 kB / 435.3 MB, free: 2.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.152e-06/0.2171, allocations: 7.875 kB / 435.3 MB, free: 2.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001827/0.2189, allocations: 1.103 MB / 436.4 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.219, allocations: 89.05 kB / 436.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007787/0.2198, allocations: 0.7546 MB / 437.3 MB, free: 0 / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.2198, allocations: 29.7 kB / 437.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.2202, allocations: 0.5136 MB / 437.8 MB, free: 15.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.2202, allocations: 118.4 kB / 437.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.2203, allocations: 12 kB / 437.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2204, allocations: 382.8 kB / 438.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.2207, allocations: 137.2 kB / 438.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.2212, allocations: 454.2 kB / 438.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.222, allocations: 0.6253 MB / 439.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.222, allocations: 4 kB / 439.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00104/0.223, allocations: 0.6495 MB / 440.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.2231, allocations: 8 kB / 440.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.2231, allocations: 19.88 kB / 440.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.2232, allocations: 36.8 kB / 440.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.2237, allocations: 152.1 kB / 440.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009741/0.2247, allocations: 1.284 MB / 441.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.2252, allocations: 55.98 kB / 441.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.2253, allocations: 32 kB / 441.7 MB, free: 11.06 MB / 314.7 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.0003554/0.2256, allocations: 245.5 kB / 442 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.664e-05/0.2257, allocations: 75.06 kB / 442.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007118/0.2264, allocations: 346 kB / 442.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2265, allocations: 3.984 kB / 442.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.2265, allocations: 8 kB / 442.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2265, allocations: 4 kB / 442.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.2282, allocations: 1.147 MB / 443.6 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2282, allocations: 4 kB / 443.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.2285, allocations: 68.11 kB / 443.6 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.2286, allocations: 20.86 kB / 443.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.2286, allocations: 11.98 kB / 443.7 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008637/0.2295, allocations: 1.268 MB / 444.9 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2295, allocations: 0 / 444.9 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009419/0.2305, allocations: 0.5916 MB / 445.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.2307, allocations: 176.2 kB / 445.7 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/0.2308, allocations: 8 kB / 445.7 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.2312, allocations: 35.91 kB / 445.7 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.2312, allocations: 27.91 kB / 445.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.2313, allocations: 8 kB / 445.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006533/0.2319, allocations: 0.5069 MB / 446.3 MB, free: 6.223 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2319, allocations: 0 / 446.3 MB, free: 6.223 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006614/0.2326, allocations: 183.9 kB / 446.5 MB, free: 6.043 MB / 314.7 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.0002289/0.2328, allocations: 119.2 kB / 446.6 MB, free: 5.914 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009265/0.2338, allocations: 498.9 kB / 447.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2338, allocations: 0 / 447.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.2342, allocations: 243.9 kB / 447.3 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.2353, allocations: 179.3 kB / 447.5 MB, free: 4.996 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.2378, allocations: 1.915 MB / 449.4 MB, free: 3.031 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.2383, allocations: 0.9489 MB / 450.3 MB, free: 2.055 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000397/0.2388, allocations: 94.17 kB / 450.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.2389, allocations: 51.42 kB / 450.5 MB, free: 1.91 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2389, allocations: 0 / 450.5 MB, free: 1.91 MB / 314.7 MB Notification: Performance of Templates: time 0.01479/0.2537, allocations: 7.93 MB / 458.4 MB, free: 10.09 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches