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.00098/0.00098, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001118/0.001118, 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 1.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.594 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 2.174e-06/2.174e-06, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.557e-05, allocations: 2.312 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003638/0.003664, allocations: 3.711 MB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.004897, allocations: 0.9967 MB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.00505, allocations: 11.94 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.005328, allocations: 111.1 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.005616, allocations: 202.2 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.005819, allocations: 135.8 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005358/0.006354, allocations: 0.7155 MB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.006561, allocations: 122.9 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.006856, allocations: 391.2 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.007078, allocations: 215.4 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.319e-05/0.007151, allocations: 60 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.007219, allocations: 56 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.007302, allocations: 135.5 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.00746, allocations: 223.5 kB / 279.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.007847, allocations: 462.3 kB / 280.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.00785, allocations: 0 / 280.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007851, allocations: 0 / 280.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.007856, allocations: 0 / 280.4 MB, free: 9.941 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.001002/0.008859, allocations: 0.9254 MB / 281.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.008895, allocations: 11.98 kB / 281.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.009002, allocations: 96.52 kB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.009428, allocations: 355.2 kB / 281.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.838e-05/0.009516, allocations: 106.3 kB / 281.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.00957, allocations: 44.33 kB / 281.9 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.01016, allocations: 0.8095 MB / 282.7 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01017, allocations: 8.172 kB / 282.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.0102, allocations: 20.12 kB / 282.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.01022, allocations: 8 kB / 282.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.01048, allocations: 155.8 kB / 282.9 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.01166, allocations: 0.9513 MB / 283.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.01195, allocations: 190.8 kB / 284 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.01208, allocations: 88.23 kB / 284.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.01212, allocations: 15.8 kB / 284.2 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.01215, allocations: 41.39 kB / 284.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.01215, allocations: 0 / 284.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006403/0.01279, allocations: 370.8 kB / 284.6 MB, free: 5.438 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.01292, allocations: 441 kB / 285 MB, free: 4.902 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.01325, allocations: 458.7 kB / 285.4 MB, free: 4.438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.01327, allocations: 33.7 kB / 285.5 MB, free: 4.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.01342, allocations: 307.2 kB / 285.8 MB, free: 4.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.008e-05/0.01349, allocations: 126.9 kB / 285.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.01358, allocations: 79.34 kB / 286 MB, free: 3.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.01373, allocations: 0.5274 MB / 286.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.01386, allocations: 85.66 kB / 286.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.01419, allocations: 0.6271 MB / 287.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.01443, allocations: 202.8 kB / 287.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01443, allocations: 0 / 287.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004148/0.01485, allocations: 377.4 kB / 287.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.01488, allocations: 33.7 kB / 287.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.01488, allocations: 0 / 287.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.01503, allocations: 51.33 kB / 287.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.01523, allocations: 75.89 kB / 287.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.01703, allocations: 3.57 MB / 291.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.01721, allocations: 43.94 kB / 291.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.01724, allocations: 12.06 kB / 291.6 MB, free: 13.8 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.000136/0.01737, allocations: 184.5 kB / 291.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.01744, allocations: 67.64 kB / 291.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.342e-05/0.01749, allocations: 56.56 kB / 291.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01749, allocations: 4 kB / 291.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.0175, allocations: 0 / 291.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003718/0.01787, allocations: 0.5827 MB / 292.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007484/0.01862, allocations: 0.7776 MB / 293.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01862, allocations: 4 kB / 293.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.01883, allocations: 83.88 kB / 293.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01883, allocations: 0 / 293.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.01885, allocations: 8 kB / 293.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01885, allocations: 0 / 293.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01885, allocations: 0 / 293.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.01928, allocations: 477.1 kB / 293.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.01939, allocations: 91.55 kB / 293.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.01943, allocations: 16.03 kB / 293.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.01958, allocations: 15.98 kB / 293.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.01963, allocations: 23.95 kB / 293.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.01965, allocations: 12 kB / 293.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.01985, allocations: 307 kB / 294.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01985, allocations: 0 / 294.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.02014, allocations: 135.9 kB / 294.4 MB, free: 10.8 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.0001072/0.02025, allocations: 107.1 kB / 294.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005937/0.02084, allocations: 0.6335 MB / 295.1 MB, free: 9.996 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02084, allocations: 0 / 295.1 MB, free: 9.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.02097, allocations: 111.8 kB / 295.2 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.02138, allocations: 145.5 kB / 295.4 MB, free: 9.738 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.02271, allocations: 0.8581 MB / 296.2 MB, free: 8.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.517e-05/0.02278, allocations: 113.8 kB / 296.3 MB, free: 8.723 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.02292, allocations: 60.25 kB / 296.4 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.023, allocations: 40.5 kB / 296.4 MB, free: 8.621 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.023, allocations: 4 kB / 296.4 MB, free: 8.617 MB / 282.7 MB Notification: Performance of Templates: time 0.1165/0.1395, allocations: 9.299 MB / 305.7 MB, free: 40.55 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: 3.186819021590054]