Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 88.28 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004659/0.004659, allocations: 154.2 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8688/0.8688, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.889e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001736/0.001754, allocations: 1.607 MB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006398/0.002394, allocations: 0.522 MB / 327.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.002441, allocations: 4 kB / 327.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.532e-05/0.002496, allocations: 11.92 kB / 327.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.002551, allocations: 27.7 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.002753, allocations: 35.84 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.002858, allocations: 107.4 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.002966, allocations: 19.98 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.003021, allocations: 55.94 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.003088, allocations: 31.89 kB / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.003104, allocations: 8 kB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.01e-05/0.003165, allocations: 16 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.003184, allocations: 19.92 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.003214, allocations: 31.97 kB / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.00335, allocations: 103.7 kB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003352, allocations: 0 / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003353, allocations: 0 / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.003357, allocations: 0 / 328.3 MB, free: 12.81 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.0003586/0.003715, allocations: 302.1 kB / 328.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.003749, allocations: 15.98 kB / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.593e-05/0.003835, allocations: 12.89 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.61e-05/0.003921, allocations: 121.6 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.003933, allocations: 4.375 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.003956, allocations: 12.31 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.004083, allocations: 86.22 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.004095, allocations: 192 / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.004104, allocations: 384 / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.004111, allocations: 7.938 kB / 328.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.169e-05/0.004192, allocations: 55.91 kB / 328.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.00465, allocations: 324.2 kB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.00475, allocations: 70.48 kB / 329.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.004789, allocations: 36.84 kB / 329.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.004799, allocations: 0 / 329.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.004819, allocations: 34.56 kB / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.00482, allocations: 0 / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001666/0.004987, allocations: 89.98 kB / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.005017, allocations: 63.34 kB / 329.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.005078, allocations: 113.9 kB / 329.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.005087, allocations: 25.7 kB / 329.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.005134, allocations: 104 kB / 329.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.005151, allocations: 27.75 kB / 329.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.005184, allocations: 29.7 kB / 329.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.005267, allocations: 314.8 kB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.005296, allocations: 23.98 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.00534, allocations: 42.56 kB / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.723e-05/0.005407, allocations: 70.52 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005408, allocations: 0 / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001035/0.005512, allocations: 113.5 kB / 330.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.005524, allocations: 4 kB / 330.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005529, allocations: 0 / 330.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.005542, allocations: 4 kB / 330.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.005623, allocations: 20 kB / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.005628, allocations: 0 / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.005654, allocations: 15.92 kB / 330.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005659, allocations: 3.938 kB / 330.4 MB, free: 10.52 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.771e-05/0.005717, allocations: 117.8 kB / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.00573, allocations: 7.953 kB / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.00575, allocations: 12.47 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.005754, allocations: 7.984 kB / 330.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.005758, allocations: 0 / 330.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.005761, allocations: 0 / 330.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.005861, allocations: 133.2 kB / 330.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.005863, allocations: 3.984 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.00592, allocations: 16 kB / 330.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.005922, allocations: 4 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.005929, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.00593, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.00593, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.006076, allocations: 203.6 kB / 330.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-06/0.006085, allocations: 11.92 kB / 331 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.006095, allocations: 7.938 kB / 331 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.006124, allocations: 0 / 331 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.006139, allocations: 7.984 kB / 331 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.006141, allocations: 4 kB / 331 MB, free: 9.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.625e-05/0.006168, allocations: 87.27 kB / 331.1 MB, free: 9.852 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006168, allocations: 0 / 331.1 MB, free: 9.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.006329, allocations: 23.94 kB / 331.1 MB, free: 9.828 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 6.887e-05/0.006397, allocations: 95.31 kB / 331.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.485e-05/0.006492, allocations: 55.86 kB / 331.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006494, allocations: 4 kB / 331.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/0.006515, allocations: 27.92 kB / 331.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.006696, allocations: 4 kB / 331.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.007086, allocations: 286 kB / 331.5 MB, free: 9.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.882e-05/0.007134, allocations: 83.02 kB / 331.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.007158, allocations: 16.5 kB / 331.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.007158, allocations: 4 kB / 331.6 MB, free: 9.203 MB / 298.7 MB Notification: Performance of Templates: time 0.001529/0.008687, allocations: 1.016 MB / 332.7 MB, free: 8.184 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 3.9776280457153916]