Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 74.03 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 152.4 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.39 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.08767, allocations: 52.16 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002905/0.09058, allocations: 1.598 MB / 373.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009549/0.09153, allocations: 486.9 kB / 373.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.0916, allocations: 0 / 373.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.941e-05/0.09166, allocations: 15.86 kB / 373.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.09176, allocations: 27.77 kB / 373.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.09198, allocations: 31.91 kB / 373.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.09213, allocations: 95.58 kB / 373.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.09226, allocations: 31.97 kB / 373.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.09232, allocations: 43.8 kB / 373.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.359e-05/0.09241, allocations: 31.84 kB / 373.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.09244, allocations: 11.98 kB / 373.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.09251, allocations: 16 kB / 373.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.09254, allocations: 15.92 kB / 373.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.09259, allocations: 39.86 kB / 374 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.09277, allocations: 99.61 kB / 374.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.09277, allocations: 4 kB / 374.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09278, allocations: 0 / 374.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.09278, allocations: 0 / 374.1 MB, free: 4.824 MB / 334.1 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.0004821/0.09326, allocations: 310 kB / 374.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.0933, allocations: 8.922 kB / 374.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.09343, allocations: 16.88 kB / 374.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.09355, allocations: 114.4 kB / 374.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.09357, allocations: 8.375 kB / 374.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.09359, allocations: 4.375 kB / 374.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.09378, allocations: 101.4 kB / 374.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.0938, allocations: 0 / 374.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.09381, allocations: 7.984 kB / 374.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.09382, allocations: 4 kB / 374.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.09393, allocations: 47.97 kB / 374.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.09459, allocations: 320.2 kB / 375 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.09473, allocations: 70.48 kB / 375.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.09479, allocations: 32.84 kB / 375.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.0948, allocations: 4 kB / 375.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.09483, allocations: 38.56 kB / 375.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.09483, allocations: 0 / 375.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002255/0.09506, allocations: 89.94 kB / 375.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.0951, allocations: 55.34 kB / 375.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/0.09519, allocations: 109.8 kB / 375.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.09521, allocations: 29.7 kB / 375.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.09528, allocations: 107.9 kB / 375.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.0953, allocations: 31.67 kB / 375.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.09535, allocations: 29.66 kB / 375.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.09548, allocations: 322.8 kB / 375.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.09553, allocations: 24 kB / 375.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.09559, allocations: 42.56 kB / 376 MB, free: 2.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.09569, allocations: 66.56 kB / 376 MB, free: 2.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.09569, allocations: 0 / 376 MB, free: 2.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001607/0.09585, allocations: 101.6 kB / 376.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.09587, allocations: 10.75 kB / 376.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.09587, allocations: 0 / 376.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.09589, allocations: 0 / 376.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.09601, allocations: 31.98 kB / 376.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.09602, allocations: 7.938 kB / 376.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.09606, allocations: 7.891 kB / 376.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.09607, allocations: 4 kB / 376.2 MB, free: 2.527 MB / 334.1 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 8.882e-05/0.09616, allocations: 121.8 kB / 376.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.09618, allocations: 7.953 kB / 376.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.09622, allocations: 12.42 kB / 376.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.09622, allocations: 4 kB / 376.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.09623, allocations: 3.938 kB / 376.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.09623, allocations: 0 / 376.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.09638, allocations: 121.3 kB / 376.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.09638, allocations: 0 / 376.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.09649, allocations: 19.98 kB / 376.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.09649, allocations: 0 / 376.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.09651, allocations: 8 kB / 376.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.09651, allocations: 0 / 376.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.09651, allocations: 0 / 376.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.09673, allocations: 199.3 kB / 376.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.09674, allocations: 7.984 kB / 376.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.09675, allocations: 4 kB / 376.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.09681, allocations: 0 / 376.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.09683, allocations: 15.98 kB / 376.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.09683, allocations: 256 / 376.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.925e-05/0.09688, allocations: 87.28 kB / 376.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09688, allocations: 0 / 376.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.09713, allocations: 27.94 kB / 376.8 MB, free: 1.84 MB / 334.1 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 9.305e-05/0.09722, allocations: 99.23 kB / 376.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.09736, allocations: 51.92 kB / 377 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.09736, allocations: 3.938 kB / 377 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.09739, allocations: 16 kB / 377 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.09769, allocations: 16.11 kB / 377 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.09828, allocations: 318.8 kB / 377.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.368e-05/0.09835, allocations: 79.27 kB / 377.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.336e-05/0.09838, allocations: 7.938 kB / 377.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.09841, allocations: 12.5 kB / 377.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09841, allocations: 4 kB / 377.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of Templates: time 0.003089/0.1015, allocations: 0.59 MB / 378 MB, free: 0.6055 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.193622995982878]