Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009959/0.0009958, allocations: 176 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008518/0.0008517, allocations: 95.73 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2457, allocations: 47.57 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001486/0.2472, allocations: 1.325 MB / 377.9 MB, free: 44.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007561/0.248, allocations: 0.5642 MB / 378.5 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.2481, allocations: 1 kB / 378.5 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.2481, allocations: 5.016 kB / 378.5 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.2482, allocations: 31.92 kB / 378.5 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.2484, allocations: 24.27 kB / 378.5 MB, free: 44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2485, allocations: 104.2 kB / 378.6 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.2486, allocations: 23.45 kB / 378.7 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.2487, allocations: 31.56 kB / 378.7 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.2488, allocations: 36.38 kB / 378.7 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2488, allocations: 5.25 kB / 378.7 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.2489, allocations: 11.16 kB / 378.7 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.2489, allocations: 18.88 kB / 378.8 MB, free: 43.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.249, allocations: 69.75 kB / 378.8 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.2491, allocations: 93.45 kB / 378.9 MB, free: 43.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2491, allocations: 0 / 378.9 MB, free: 43.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2491, allocations: 0 / 378.9 MB, free: 43.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2491, allocations: 1.156 kB / 378.9 MB, free: 43.75 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003869/0.2495, allocations: 363.8 kB / 379.3 MB, free: 43.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2496, allocations: 9 kB / 379.3 MB, free: 43.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.2497, allocations: 14.69 kB / 379.3 MB, free: 43.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.755e-05/0.2498, allocations: 175.5 kB / 379.5 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.2498, allocations: 3.625 kB / 379.5 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.2499, allocations: 14.64 kB / 379.5 MB, free: 43.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.25, allocations: 85.23 kB / 379.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2501, allocations: 3.984 kB / 379.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2501, allocations: 4.688 kB / 379.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2501, allocations: 2.406 kB / 379.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2502, allocations: 51.81 kB / 379.6 MB, free: 43.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.2508, allocations: 406.8 kB / 380 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.2509, allocations: 70.03 kB / 380.1 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.251, allocations: 31.53 kB / 380.1 MB, free: 42.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.251, allocations: 5.094 kB / 380.1 MB, free: 42.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.251, allocations: 35.72 kB / 380.2 MB, free: 42.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.251, allocations: 0 / 380.2 MB, free: 42.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001815/0.2512, allocations: 87.91 kB / 380.3 MB, free: 42.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.2512, allocations: 52.72 kB / 380.3 MB, free: 42.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.059e-05/0.2513, allocations: 109 kB / 380.4 MB, free: 42.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.2513, allocations: 26.64 kB / 380.4 MB, free: 42.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.2513, allocations: 108.1 kB / 380.6 MB, free: 42.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2514, allocations: 31.52 kB / 380.6 MB, free: 42.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.2514, allocations: 4 kB / 380.6 MB, free: 42.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.077e-05/0.2514, allocations: 313.5 kB / 380.9 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.2515, allocations: 26.45 kB / 380.9 MB, free: 41.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.071e-05/0.2515, allocations: 41.25 kB / 381 MB, free: 41.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.476e-05/0.2516, allocations: 75.92 kB / 381 MB, free: 41.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2516, allocations: 1.719 kB / 381 MB, free: 41.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001366/0.2518, allocations: 103 kB / 381.1 MB, free: 41.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2518, allocations: 6.062 kB / 381.1 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2518, allocations: 0 / 381.1 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2518, allocations: 9.312 kB / 381.1 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.252, allocations: 24.16 kB / 381.2 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.252, allocations: 1.25 kB / 381.2 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.252, allocations: 20.45 kB / 381.2 MB, free: 41.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.252, allocations: 7.344 kB / 381.2 MB, free: 41.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.2521, allocations: 117.2 kB / 381.3 MB, free: 41.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.2521, allocations: 3.5 kB / 381.3 MB, free: 41.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.2522, allocations: 8.375 kB / 381.3 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2522, allocations: 6.125 kB / 381.3 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2522, allocations: 0 / 381.3 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2522, allocations: 0 / 381.3 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.2523, allocations: 190.8 kB / 381.5 MB, free: 41.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2524, allocations: 4 kB / 381.5 MB, free: 41.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.2525, allocations: 20.48 kB / 381.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2525, allocations: 0 / 381.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2525, allocations: 1.25 kB / 381.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2525, allocations: 5.406 kB / 381.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2525, allocations: 0 / 381.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.2527, allocations: 202.8 kB / 381.7 MB, free: 41.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.2527, allocations: 86.62 kB / 381.8 MB, free: 41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.2527, allocations: 6.312 kB / 381.8 MB, free: 41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-05/0.2528, allocations: 5.438 kB / 381.8 MB, free: 40.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.2528, allocations: 5.516 kB / 381.8 MB, free: 40.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.2528, allocations: 6.562 kB / 381.9 MB, free: 40.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.439e-05/0.2528, allocations: 79.06 kB / 381.9 MB, free: 40.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2528, allocations: 0.9062 kB / 381.9 MB, free: 40.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000218/0.2531, allocations: 22.31 kB / 382 MB, free: 40.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.633e-05/0.2532, allocations: 97.78 kB / 382.1 MB, free: 40.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.2533, allocations: 66.22 kB / 382.1 MB, free: 40.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2533, allocations: 0 / 382.1 MB, free: 40.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.2533, allocations: 22.47 kB / 382.1 MB, free: 40.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.2536, allocations: 7.344 kB / 382.1 MB, free: 40.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.2541, allocations: 403.2 kB / 382.5 MB, free: 40.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.2543, allocations: 0.6911 MB / 383.2 MB, free: 39.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.2543, allocations: 10.44 kB / 383.2 MB, free: 39.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.2543, allocations: 15.34 kB / 383.3 MB, free: 39.72 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2543, allocations: 0 / 383.3 MB, free: 39.72 MB / 298.7 MB Notification: Performance of Templates: time 0.002342/0.2567, allocations: 0.5812 MB / 383.8 MB, free: 39.43 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches