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.001347/0.001347, allocations: 84.3 kB / 20.68 MB, free: 1.039 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.001381/0.001381, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.426/1.426, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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 1.974e-06/1.974e-06, allocations: 0 / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.6e-05, allocations: 2.281 kB / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002697/0.002723, allocations: 1.602 MB / 326.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003746, allocations: 0.5342 MB / 327.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.003808, allocations: 1.375 kB / 327.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.251e-05/0.003871, allocations: 12.84 kB / 327.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.692e-05/0.003957, allocations: 35.44 kB / 327.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.00419, allocations: 29.75 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.004366, allocations: 104.3 kB / 327.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.004512, allocations: 29.28 kB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.004601, allocations: 53.73 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.004701, allocations: 32.61 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.004726, allocations: 8.719 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/0.00481, allocations: 10.91 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.004844, allocations: 21.44 kB / 327.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.004902, allocations: 32.23 kB / 327.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.005118, allocations: 99.91 kB / 327.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005121, allocations: 4 kB / 327.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005122, allocations: 0 / 327.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.005127, allocations: 1.125 kB / 327.6 MB, free: 14.88 MB / 302.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.000563/0.00569, allocations: 301.7 kB / 327.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.005727, allocations: 10.03 kB / 328 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.005863, allocations: 12.78 kB / 328 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.006006, allocations: 114.6 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.006023, allocations: 9.031 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.006061, allocations: 5.594 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.006264, allocations: 90.06 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.006278, allocations: 192 / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.006292, allocations: 9.375 kB / 328.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.006303, allocations: 7.266 kB / 328.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.006435, allocations: 46.92 kB / 328.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.007136, allocations: 325.8 kB / 328.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.007274, allocations: 70.22 kB / 328.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.007335, allocations: 30.09 kB / 328.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.007344, allocations: 5.219 kB / 328.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.007374, allocations: 40.34 kB / 328.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.007375, allocations: 0 / 328.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002425/0.007617, allocations: 82.72 kB / 328.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.007657, allocations: 52.16 kB / 328.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.00776, allocations: 113.6 kB / 328.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.00778, allocations: 25.7 kB / 329 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.007861, allocations: 98.44 kB / 329.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.007908, allocations: 29.58 kB / 329.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.007958, allocations: 29.11 kB / 329.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.008105, allocations: 321.2 kB / 329.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.00815, allocations: 26.39 kB / 329.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.008224, allocations: 50.81 kB / 329.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.008331, allocations: 63.09 kB / 329.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.008335, allocations: 5.031 kB / 329.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001703/0.008506, allocations: 106.3 kB / 329.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.008521, allocations: 5 kB / 329.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008526, allocations: 1.219 kB / 329.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.008547, allocations: 1.656 kB / 329.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.008674, allocations: 35.45 kB / 329.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.00868, allocations: 1.094 kB / 329.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.008725, allocations: 6.281 kB / 329.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.008738, allocations: 7.281 kB / 329.7 MB, free: 13.1 MB / 302.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 0.0001003/0.008838, allocations: 119 kB / 329.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.008869, allocations: 7.312 kB / 329.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.008904, allocations: 10.81 kB / 329.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008906, allocations: 0 / 329.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.008912, allocations: 0.7031 kB / 329.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.00892, allocations: 5.359 kB / 329.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.009089, allocations: 135.2 kB / 330 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.009091, allocations: 1.812 kB / 330 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.009197, allocations: 21.94 kB / 330 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.0092, allocations: 1.188 kB / 330 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.009213, allocations: 4.562 kB / 330 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.009215, allocations: 1.125 kB / 330 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.009216, allocations: 0 / 330 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.009441, allocations: 192.4 kB / 330.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.009456, allocations: 11.44 kB / 330.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.00947, allocations: 0 / 330.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.009531, allocations: 9.469 kB / 330.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.009555, allocations: 5.172 kB / 330.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.009559, allocations: 5.031 kB / 330.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.009609, allocations: 90.81 kB / 330.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.009609, allocations: 0 / 330.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.009853, allocations: 18.09 kB / 330.4 MB, free: 12.55 MB / 302.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 0.0001476/0.01, allocations: 98.27 kB / 330.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.01017, allocations: 62.05 kB / 330.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01018, allocations: 0 / 330.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.01021, allocations: 24.25 kB / 330.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.01058, allocations: 12.91 kB / 330.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.01117, allocations: 262.8 kB / 330.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.071e-05/0.01125, allocations: 76.84 kB / 330.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.514e-05/0.01128, allocations: 7.75 kB / 330.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.01132, allocations: 15.97 kB / 330.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01132, allocations: 0 / 330.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Templates: time 0.003685/0.015, allocations: 0.6005 MB / 331.5 MB, free: 12.03 MB / 302.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/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_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.120322342962027]