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.0007036/0.0007036, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001753, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006855/0.0006855, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009235/0.001609, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9894/0.9894, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08085/1.07, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.352e-06/1.352e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.712e-05, allocations: 6.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002275/0.002292, allocations: 1.72 MB / 246.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.005963, allocations: 0.557 MB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.006002, allocations: 0 / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.006042, allocations: 11.86 kB / 247.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.006092, allocations: 35.7 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.863e-05/0.006181, allocations: 27.95 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.00629, allocations: 99.48 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.006383, allocations: 27.97 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.006464, allocations: 59.88 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.006544, allocations: 31.91 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.006562, allocations: 8 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.698e-05/0.006629, allocations: 8 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.006649, allocations: 19.94 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.00668, allocations: 28 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.006802, allocations: 71.69 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.006812, allocations: 0 / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006812, allocations: 0 / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.006821, allocations: 0 / 247.9 MB, free: 10.85 MB / 250.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.0003559/0.007176, allocations: 304.3 kB / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.007206, allocations: 12.62 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.007472, allocations: 93.97 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.682e-05/0.007559, allocations: 117.7 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.007573, allocations: 8.375 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.007598, allocations: 20.31 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.703e-05/0.007696, allocations: 66.22 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.007706, allocations: 192 / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.007714, allocations: 384 / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.00772, allocations: 3.938 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.007778, allocations: 39.19 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.008195, allocations: 248 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.818e-05/0.008283, allocations: 54.53 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.008309, allocations: 24.95 kB / 248.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/0.008317, allocations: 0 / 248.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003038/0.01136, allocations: 46.53 kB / 248.9 MB, free: 9.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.01136, allocations: 0 / 248.9 MB, free: 9.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001402/0.0115, allocations: 57.69 kB / 249 MB, free: 9.668 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.01152, allocations: 51.41 kB / 249 MB, free: 9.605 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.01159, allocations: 110.7 kB / 249.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.0116, allocations: 25.7 kB / 249.1 MB, free: 9.453 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.01165, allocations: 108.1 kB / 249.2 MB, free: 9.344 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.01167, allocations: 27.73 kB / 249.3 MB, free: 9.316 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.01171, allocations: 33.7 kB / 249.3 MB, free: 9.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.01179, allocations: 322.8 kB / 249.6 MB, free: 8.953 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.01181, allocations: 15.92 kB / 249.6 MB, free: 8.938 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.01184, allocations: 34.56 kB / 249.7 MB, free: 8.895 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.0119, allocations: 46.48 kB / 249.7 MB, free: 8.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0119, allocations: 3.938 kB / 249.7 MB, free: 8.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.155e-05/0.01199, allocations: 73.61 kB / 249.8 MB, free: 8.758 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.012, allocations: 7.938 kB / 249.8 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.01201, allocations: 8.062 kB / 249.8 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.01202, allocations: 0 / 249.8 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.01217, allocations: 27.98 kB / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01218, allocations: 4 kB / 249.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.01221, allocations: 11.88 kB / 249.8 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.01222, allocations: 8 kB / 249.9 MB, free: 8.691 MB / 250.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 6.399e-05/0.01228, allocations: 117.7 kB / 250 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.01231, allocations: 8 kB / 250 MB, free: 8.559 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.01233, allocations: 12.44 kB / 250 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01233, allocations: 0 / 250 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01234, allocations: 4 kB / 250 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01234, allocations: 0 / 250 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.01246, allocations: 85.81 kB / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01246, allocations: 0 / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.01255, allocations: 23.98 kB / 250.1 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.01256, allocations: 7.938 kB / 250.1 MB, free: 8.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01256, allocations: 3.984 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.01257, allocations: 8 kB / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01258, allocations: 0 / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01258, allocations: 0 / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.01271, allocations: 171.4 kB / 250.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.01272, allocations: 7.938 kB / 250.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.55e-05/0.01276, allocations: 256 / 250.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.01277, allocations: 7.984 kB / 250.3 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.01278, allocations: 4 kB / 250.3 MB, free: 8.195 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.354e-05/0.01279, allocations: 8.859 kB / 250.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01279, allocations: 0 / 250.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.01298, allocations: 27.94 kB / 250.3 MB, free: 8.156 MB / 250.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 7.452e-05/0.01306, allocations: 76.41 kB / 250.4 MB, free: 8.074 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.929e-05/0.01314, allocations: 44.88 kB / 250.5 MB, free: 8.027 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.01315, allocations: 7.984 kB / 250.5 MB, free: 8.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.01318, allocations: 28.72 kB / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.01338, allocations: 71.34 kB / 250.6 MB, free: 7.906 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.01857, allocations: 240.3 kB / 250.8 MB, free: 7.645 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.01861, allocations: 67.53 kB / 250.9 MB, free: 7.559 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.942e-05/0.01865, allocations: 4.734 kB / 250.9 MB, free: 7.551 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.01871, allocations: 63.36 kB / 250.9 MB, free: 7.488 MB / 250.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01871, allocations: 0 / 250.9 MB, free: 7.488 MB / 250.7 MB Notification: Performance of Templates: time 0.006118/0.02483, allocations: 0.7281 MB / 251.7 MB, free: 6.777 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4246903508901596]