Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 162.5 kB / 25.03 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 158.6 MB / 186.8 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 250.3 MB, free: 7.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.618e-05, allocations: 2.312 kB / 250.3 MB, free: 7.953 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003625/0.003661, allocations: 1.637 MB / 252 MB, free: 6.305 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.004757, allocations: 0.4997 MB / 252.5 MB, free: 5.797 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.004813, allocations: 0 / 252.5 MB, free: 5.797 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.523e-05/0.004868, allocations: 15.86 kB / 252.5 MB, free: 5.781 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.358e-05/0.004961, allocations: 27.7 kB / 252.5 MB, free: 5.754 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.005196, allocations: 31.91 kB / 252.6 MB, free: 5.723 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.005371, allocations: 107.5 kB / 252.7 MB, free: 5.617 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.005522, allocations: 27.97 kB / 252.7 MB, free: 5.59 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.005624, allocations: 59.83 kB / 252.7 MB, free: 5.531 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.005737, allocations: 31.95 kB / 252.8 MB, free: 5.5 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.005761, allocations: 8 kB / 252.8 MB, free: 5.492 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.005841, allocations: 11.94 kB / 252.8 MB, free: 5.48 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.00587, allocations: 15.98 kB / 252.8 MB, free: 5.465 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.005929, allocations: 35.91 kB / 252.8 MB, free: 5.43 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.006133, allocations: 99.67 kB / 252.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.006139, allocations: 4 kB / 252.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.00614, allocations: 4 kB / 253 MB, free: 5.324 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.006146, allocations: 0 / 253 MB, free: 5.324 MB / 234.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.000627/0.006773, allocations: 408 kB / 253.4 MB, free: 4.891 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.00682, allocations: 15.98 kB / 253.4 MB, free: 4.875 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.006991, allocations: 24.78 kB / 253.4 MB, free: 4.852 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.007131, allocations: 120.5 kB / 253.5 MB, free: 4.707 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.007152, allocations: 8.375 kB / 253.5 MB, free: 4.699 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.007181, allocations: 12.38 kB / 253.5 MB, free: 4.688 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.007378, allocations: 78.7 kB / 253.6 MB, free: 4.605 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.007395, allocations: 8.188 kB / 253.6 MB, free: 4.598 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.007411, allocations: 8.359 kB / 253.6 MB, free: 4.59 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.007421, allocations: 3.938 kB / 253.6 MB, free: 4.586 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.007566, allocations: 55.92 kB / 253.7 MB, free: 4.531 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.008343, allocations: 391.4 kB / 254.1 MB, free: 4.113 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.008506, allocations: 78.98 kB / 254.1 MB, free: 4.023 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.008571, allocations: 35.67 kB / 254.2 MB, free: 3.984 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.008585, allocations: 0 / 254.2 MB, free: 3.984 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.008619, allocations: 41.39 kB / 254.2 MB, free: 3.934 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.00862, allocations: 0 / 254.2 MB, free: 3.934 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002421/0.008862, allocations: 93.89 kB / 254.3 MB, free: 3.836 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.008907, allocations: 51.41 kB / 254.4 MB, free: 3.773 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.009322, allocations: 173.9 kB / 254.5 MB, free: 3.586 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.009344, allocations: 25.7 kB / 254.6 MB, free: 3.555 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.009451, allocations: 150.7 kB / 254.7 MB, free: 3.402 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.009484, allocations: 31.73 kB / 254.7 MB, free: 3.371 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.009542, allocations: 31.38 kB / 254.8 MB, free: 3.332 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.00981, allocations: 0.5 MB / 255.3 MB, free: 2.82 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.00986, allocations: 24 kB / 255.3 MB, free: 2.797 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.323e-05/0.009943, allocations: 55.05 kB / 255.3 MB, free: 2.73 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.01007, allocations: 78.98 kB / 255.4 MB, free: 2.641 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01007, allocations: 0 / 255.4 MB, free: 2.641 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002006/0.01028, allocations: 105.6 kB / 255.5 MB, free: 2.531 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01029, allocations: 4 kB / 255.5 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.0103, allocations: 4 kB / 255.5 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.01031, allocations: 0 / 255.5 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.01045, allocations: 24.05 kB / 255.5 MB, free: 2.5 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.01045, allocations: 4 kB / 255.6 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.0105, allocations: 19.83 kB / 255.6 MB, free: 2.477 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.01052, allocations: 7.938 kB / 255.6 MB, free: 2.469 MB / 234.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 0.0001354/0.01065, allocations: 164.5 kB / 255.7 MB, free: 2.297 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.01068, allocations: 8 kB / 255.7 MB, free: 2.289 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.01072, allocations: 12.67 kB / 255.8 MB, free: 2.277 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01072, allocations: 0 / 255.8 MB, free: 2.277 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.01073, allocations: 8 kB / 255.8 MB, free: 2.27 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01074, allocations: 0 / 255.8 MB, free: 2.27 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.01094, allocations: 148.5 kB / 255.9 MB, free: 2.09 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01094, allocations: 4 kB / 255.9 MB, free: 2.086 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.01105, allocations: 19.98 kB / 255.9 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01105, allocations: 0 / 255.9 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.01107, allocations: 4 kB / 255.9 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.01107, allocations: 4 kB / 255.9 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01107, allocations: 0 / 255.9 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.01138, allocations: 251.8 kB / 256.2 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.01139, allocations: 0 / 256.2 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.0114, allocations: 4 kB / 256.2 MB, free: 1.789 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.577e-05/0.01146, allocations: 0 / 256.2 MB, free: 1.789 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.01148, allocations: 8.016 kB / 256.2 MB, free: 1.781 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.01149, allocations: 8 kB / 256.2 MB, free: 1.773 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.786e-05/0.01157, allocations: 123.2 kB / 256.3 MB, free: 1.652 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01157, allocations: 0 / 256.3 MB, free: 1.652 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.01182, allocations: 31.89 kB / 256.4 MB, free: 1.617 MB / 234.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 0.0001302/0.01195, allocations: 91.25 kB / 256.5 MB, free: 1.52 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.01214, allocations: 75.53 kB / 256.5 MB, free: 1.441 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01214, allocations: 0 / 256.5 MB, free: 1.441 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.378e-05/0.0122, allocations: 35.61 kB / 256.6 MB, free: 1.402 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.01247, allocations: 12.45 kB / 256.6 MB, free: 1.391 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.01312, allocations: 277.4 kB / 256.8 MB, free: 1.094 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.512e-05/0.0132, allocations: 75.33 kB / 256.9 MB, free: 1 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.96e-05/0.01324, allocations: 11.94 kB / 256.9 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.01328, allocations: 16.44 kB / 256.9 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01328, allocations: 4 kB / 256.9 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of Templates: time 0.003774/0.01705, allocations: 0.6009 MB / 257.5 MB, free: 380 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.640789016964845]