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.001447/0.001447, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.00153/0.00153, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 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 1.464/1.464, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.222e-06/1.222e-06, allocations: 0 / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.185e-05, allocations: 2.312 kB / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002837/0.002859, allocations: 1.607 MB / 273.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.003854, allocations: 0.522 MB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.003897, allocations: 0 / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.903e-05/0.003946, allocations: 11.86 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.004027, allocations: 27.77 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.004241, allocations: 27.91 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.004426, allocations: 107.5 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.004552, allocations: 27.92 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.004649, allocations: 59.88 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.004737, allocations: 31.89 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.004761, allocations: 8 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.81e-05/0.004829, allocations: 12 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.004854, allocations: 15.92 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.004908, allocations: 35.97 kB / 274.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.005088, allocations: 99.67 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005089, allocations: 0 / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00509, allocations: 0 / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.005093, allocations: 8 kB / 274.8 MB, free: 15.23 MB / 266.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.0004993/0.005593, allocations: 302.1 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.005636, allocations: 11.98 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.005792, allocations: 28.77 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.005919, allocations: 113.7 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.005936, allocations: 8.375 kB / 275.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.005966, allocations: 8.359 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.006148, allocations: 85.84 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.006159, allocations: 192 / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.006179, allocations: 4.375 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.006188, allocations: 15.88 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.006318, allocations: 51.97 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.007004, allocations: 328.1 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.007162, allocations: 66.56 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.163e-05/0.007234, allocations: 32.78 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.007248, allocations: 4 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.007285, allocations: 34.56 kB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 3.306e-06/0.007288, allocations: 4 kB / 275.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002396/0.007528, allocations: 89.94 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.007574, allocations: 51.41 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.007694, allocations: 117.8 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.007721, allocations: 29.7 kB / 276.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.007803, allocations: 99.97 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.007837, allocations: 27.75 kB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.007891, allocations: 25.7 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.00808, allocations: 322.8 kB / 276.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.319e-05/0.008134, allocations: 23.98 kB / 276.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.008215, allocations: 46.44 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.008332, allocations: 74.45 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008334, allocations: 0 / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000185/0.008519, allocations: 113.5 kB / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.008535, allocations: 8 kB / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.008539, allocations: 0 / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.008555, allocations: 0 / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.008694, allocations: 27.92 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.008701, allocations: 4 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.00875, allocations: 15.95 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.008761, allocations: 7.938 kB / 276.9 MB, free: 12.91 MB / 266.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.0001055/0.008867, allocations: 113.8 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.008898, allocations: 8 kB / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.008927, allocations: 8.438 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.008932, allocations: 4 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.008935, allocations: 0 / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.008938, allocations: 0 / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.009141, allocations: 133.2 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009142, allocations: 0 / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.009253, allocations: 23.94 kB / 277.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.009258, allocations: 4 kB / 277.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.009269, allocations: 4 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.009271, allocations: 0 / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.009274, allocations: 3.984 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.009531, allocations: 191.8 kB / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.463e-05/0.009546, allocations: 7.891 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.009564, allocations: 8.016 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.009625, allocations: 4 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.009642, allocations: 3.938 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.00965, allocations: 4.25 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.763e-05/0.009718, allocations: 95.33 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009718, allocations: 0 / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.009969, allocations: 20 kB / 277.5 MB, free: 12.23 MB / 266.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.0001246/0.01009, allocations: 95.25 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.01044, allocations: 59.8 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01044, allocations: 0 / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.01049, allocations: 23.98 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.01077, allocations: 6.812 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.01136, allocations: 276.5 kB / 278 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.482e-05/0.01144, allocations: 75.58 kB / 278 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.043e-05/0.01147, allocations: 3.984 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.01151, allocations: 12.5 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01151, allocations: 0 / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of Templates: time 0.003155/0.01466, allocations: 0.6053 MB / 278.7 MB, free: 11.03 MB / 266.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: 4.167652491014451]