Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001866/0.001866, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002281/0.002281, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 43.94 kB / 378.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2169, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002719/0.2196, allocations: 1.597 MB / 433.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008447/0.2204, allocations: 0.5222 MB / 434.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.2205, allocations: 4 kB / 434.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.2205, allocations: 7.922 kB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.2206, allocations: 27.72 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.2208, allocations: 27.95 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2209, allocations: 103.5 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.221, allocations: 38.92 kB / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.2211, allocations: 35.86 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.344e-05/0.2212, allocations: 39.84 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2212, allocations: 8 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.2212, allocations: 16 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.2213, allocations: 15.98 kB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.2213, allocations: 35.86 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.2215, allocations: 99.34 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.2215, allocations: 0 / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2215, allocations: 3.938 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2215, allocations: 0 / 434.9 MB, free: 4.129 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.0004359/0.2219, allocations: 304.9 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2219, allocations: 12.03 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2221, allocations: 8.891 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.2222, allocations: 130.3 kB / 435.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2222, allocations: 4.375 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.2222, allocations: 16.31 kB / 435.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.2224, allocations: 81.98 kB / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2224, allocations: 0 / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2224, allocations: 4 kB / 435.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2224, allocations: 4 kB / 435.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.2225, allocations: 55.91 kB / 435.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.2231, allocations: 332.1 kB / 435.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.2233, allocations: 66.55 kB / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.2233, allocations: 32.84 kB / 435.9 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.2233, allocations: 0 / 435.9 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2234, allocations: 38.56 kB / 436 MB, free: 2.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.2234, allocations: 0 / 436 MB, free: 2.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002038/0.2236, allocations: 89.62 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.2236, allocations: 55.41 kB / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.2237, allocations: 113.9 kB / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.2237, allocations: 25.7 kB / 436.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.2238, allocations: 104 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.2238, allocations: 35.88 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.2239, allocations: 25.72 kB / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.224, allocations: 314.8 kB / 436.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.224, allocations: 20 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.2241, allocations: 46.56 kB / 436.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.2242, allocations: 82.38 kB / 436.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2242, allocations: 0 / 436.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001621/0.2244, allocations: 101.6 kB / 437 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2244, allocations: 4 kB / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2244, allocations: 0 / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2244, allocations: 4 kB / 437 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.2245, allocations: 27.98 kB / 437 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2245, allocations: 3.938 kB / 437 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.2246, allocations: 11.89 kB / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.2246, allocations: 4.062 kB / 437 MB, free: 1.828 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 9.176e-05/0.2247, allocations: 125.8 kB / 437.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.2247, allocations: 0 / 437.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.2247, allocations: 8.375 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2247, allocations: 4 kB / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2247, allocations: 0 / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.2248, allocations: 11.88 kB / 437.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2248, allocations: 0 / 437.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.2248, allocations: 7.938 kB / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.2249, allocations: 0 / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002405/0.2251, allocations: 168.9 kB / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002439/0.2253, allocations: 278.6 kB / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.231e-05/0.2254, allocations: 24.02 kB / 437.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.2254, allocations: 79.28 kB / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of Backend: time 1.7e-07/0.2254, allocations: 0 / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.2258, allocations: 122.2 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of SimCode: time 0.000697/0.2265, allocations: 0.7502 MB / 438.6 MB, free: 176 kB / 334.1 MB Notification: Performance of Templates: time 0.00321/0.2297, allocations: 0.8318 MB / 439.4 MB, free: 15.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1159227559983265]