Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.0009496/0.0009496, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009261/0.0009261, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.943/0.943, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.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.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.891e-05, allocations: 5.406 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003232/0.003251, allocations: 3.7 MB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.004995, allocations: 1.008 MB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.005155, allocations: 7.938 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.005426, allocations: 111.1 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.005726, allocations: 206.2 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.005977, allocations: 135.7 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.006512, allocations: 0.7116 MB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.006702, allocations: 126.9 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.006972, allocations: 391.2 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.007178, allocations: 215.4 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.007238, allocations: 56 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.007299, allocations: 60 kB / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.007369, allocations: 131.5 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.00752, allocations: 215.5 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.007886, allocations: 458.3 kB / 280.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.007889, allocations: 0 / 280.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007889, allocations: 4 kB / 280.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.007895, allocations: 0 / 280.4 MB, free: 9.949 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009527/0.008847, allocations: 0.9176 MB / 281.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.008879, allocations: 11.98 kB / 281.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.008983, allocations: 100.5 kB / 281.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.00933, allocations: 342.5 kB / 281.7 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.009414, allocations: 106.3 kB / 281.8 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.009462, allocations: 44.36 kB / 281.9 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.01001, allocations: 0.8095 MB / 282.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.01002, allocations: 8.078 kB / 282.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.01005, allocations: 20.12 kB / 282.7 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.01006, allocations: 8 kB / 282.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.0103, allocations: 151.8 kB / 282.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.01141, allocations: 0.9552 MB / 283.8 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006543/0.01207, allocations: 185.8 kB / 284 MB, free: 6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.01225, allocations: 96.23 kB / 284.1 MB, free: 5.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.01229, allocations: 11.8 kB / 284.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.01232, allocations: 41.39 kB / 284.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.01232, allocations: 4 kB / 284.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007084/0.01303, allocations: 362.9 kB / 284.5 MB, free: 5.469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.01316, allocations: 452.9 kB / 285 MB, free: 4.922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.01349, allocations: 450.7 kB / 285.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.01352, allocations: 33.7 kB / 285.4 MB, free: 4.426 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.01366, allocations: 311.2 kB / 285.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.353e-05/0.01373, allocations: 122.9 kB / 285.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.01382, allocations: 83.34 kB / 285.9 MB, free: 3.906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.01395, allocations: 0.5313 MB / 286.5 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.01407, allocations: 81.66 kB / 286.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.01435, allocations: 0.6271 MB / 287.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.01575, allocations: 198.8 kB / 287.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01576, allocations: 0 / 287.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006179/0.01638, allocations: 381.4 kB / 287.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.01641, allocations: 33.73 kB / 287.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01642, allocations: 0 / 287.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.01657, allocations: 47.34 kB / 287.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.01689, allocations: 79.88 kB / 287.9 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.01916, allocations: 3.574 MB / 291.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.01946, allocations: 43.77 kB / 291.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.01949, allocations: 15.98 kB / 291.5 MB, free: 13.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.01967, allocations: 184.5 kB / 291.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.805e-05/0.01976, allocations: 63.66 kB / 291.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.01984, allocations: 48.58 kB / 291.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01984, allocations: 4 kB / 291.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01984, allocations: 3.984 kB / 291.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000522/0.02037, allocations: 0.5827 MB / 292.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.02148, allocations: 0.7776 MB / 293.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02148, allocations: 0 / 293.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.02181, allocations: 91.88 kB / 293.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.02182, allocations: 0 / 293.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.02184, allocations: 4 kB / 293.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.02184, allocations: 4 kB / 293.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02185, allocations: 0 / 293.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.02247, allocations: 473.1 kB / 293.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.02265, allocations: 91.55 kB / 293.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.02271, allocations: 12 kB / 293.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.02298, allocations: 28.02 kB / 293.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.02305, allocations: 23.95 kB / 293.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.02307, allocations: 8 kB / 293.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002955/0.02337, allocations: 307 kB / 294.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02337, allocations: 0 / 294.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004744/0.02384, allocations: 139.8 kB / 294.4 MB, free: 10.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * 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.0001335/0.02397, allocations: 107.2 kB / 294.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007818/0.02475, allocations: 0.6335 MB / 295.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.02476, allocations: 0 / 295.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.02495, allocations: 107.8 kB / 295.2 MB, free: 9.902 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.02558, allocations: 145.5 kB / 295.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.02748, allocations: 0.8545 MB / 296.2 MB, free: 8.875 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.02757, allocations: 109.8 kB / 296.3 MB, free: 8.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.0278, allocations: 60.25 kB / 296.4 MB, free: 8.688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.02792, allocations: 40.5 kB / 296.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02792, allocations: 0 / 296.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of Templates: time 0.1163/0.1442, allocations: 9.812 MB / 306.2 MB, free: 39.96 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9528686748817563]