Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.0009919/0.0009919, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001194/0.001194, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9434/0.9434, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 273.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.38e-05, allocations: 6.312 kB / 273.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006572/0.006586, allocations: 3.645 MB / 277.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.008099, allocations: 1.038 MB / 278.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.008261, allocations: 7.938 kB / 278.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.00851, allocations: 111 kB / 278.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.008821, allocations: 214.2 kB / 278.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.009047, allocations: 135.7 kB / 278.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005848/0.009632, allocations: 0.7077 MB / 279.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.00981, allocations: 132.8 kB / 279.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.01015, allocations: 399.2 kB / 279.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.01036, allocations: 215.4 kB / 280 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.01042, allocations: 56 kB / 280.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.01048, allocations: 59.94 kB / 280.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.01057, allocations: 127.5 kB / 280.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.01073, allocations: 223.5 kB / 280.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.0111, allocations: 458.3 kB / 280.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.0111, allocations: 0 / 280.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.0111, allocations: 0 / 280.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.01111, allocations: 0 / 280.9 MB, free: 12.95 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.0008163/0.01192, allocations: 0.785 MB / 281.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.01195, allocations: 8.031 kB / 281.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.01203, allocations: 72.86 kB / 281.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.01232, allocations: 275.8 kB / 282.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.0124, allocations: 110.3 kB / 282.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.01244, allocations: 36.38 kB / 282.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.01298, allocations: 0.7574 MB / 283 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.01299, allocations: 192 / 283 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.01302, allocations: 20.12 kB / 283 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.01303, allocations: 8 kB / 283 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.01318, allocations: 107.1 kB / 283.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009163/0.0141, allocations: 0.6596 MB / 283.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.01429, allocations: 138.4 kB / 283.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.055e-05/0.01436, allocations: 64.83 kB / 283.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.01438, allocations: 8 kB / 284 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.0144, allocations: 39.16 kB / 284 MB, free: 9.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.443e-06/0.0144, allocations: 3.938 kB / 284 MB, free: 9.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004315/0.01483, allocations: 277.2 kB / 284.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.01495, allocations: 445 kB / 284.7 MB, free: 8.789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.01516, allocations: 359.3 kB / 285.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.01518, allocations: 37.7 kB / 285.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.01527, allocations: 193.4 kB / 285.3 MB, free: 8.191 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.01533, allocations: 126.9 kB / 285.4 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.0154, allocations: 81.61 kB / 285.5 MB, free: 7.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.0155, allocations: 362.7 kB / 285.8 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.01557, allocations: 61.69 kB / 285.9 MB, free: 7.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.01579, allocations: 0.5682 MB / 286.5 MB, free: 6.828 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.01594, allocations: 157.2 kB / 286.6 MB, free: 6.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.01594, allocations: 4 kB / 286.6 MB, free: 6.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000247/0.01619, allocations: 280.1 kB / 286.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.01621, allocations: 33.7 kB / 286.9 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01621, allocations: 0 / 286.9 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.812e-05/0.01629, allocations: 33.7 kB / 287 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.01647, allocations: 75.89 kB / 287 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.01759, allocations: 2.403 MB / 289.4 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.01775, allocations: 51.7 kB / 289.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.01776, allocations: 16.06 kB / 289.5 MB, free: 3.562 MB / 266.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.0001412/0.0179, allocations: 125.8 kB / 289.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.01795, allocations: 51.94 kB / 289.7 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.018, allocations: 48.58 kB / 289.7 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.018, allocations: 4 kB / 289.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.018, allocations: 0 / 289.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002546/0.01826, allocations: 0.5396 MB / 290.3 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.01878, allocations: 0.5292 MB / 290.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01878, allocations: 4 kB / 290.8 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.01897, allocations: 75.89 kB / 290.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01897, allocations: 0 / 290.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01898, allocations: 8 kB / 290.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.01898, allocations: 3.938 kB / 290.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01898, allocations: 3.984 kB / 290.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.01925, allocations: 336.9 kB / 291.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.274e-05/0.01934, allocations: 51.69 kB / 291.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.01937, allocations: 15.92 kB / 291.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.01951, allocations: 27.92 kB / 291.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.01955, allocations: 23.95 kB / 291.3 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.01956, allocations: 8 kB / 291.3 MB, free: 1.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.01967, allocations: 156.7 kB / 291.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01967, allocations: 0 / 291.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.01991, allocations: 143.8 kB / 291.6 MB, free: 1.266 MB / 266.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 8.108e-05/0.01999, allocations: 96.34 kB / 291.7 MB, free: 1.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.02038, allocations: 486.8 kB / 292.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.02039, allocations: 4 kB / 292.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.02047, allocations: 88.69 kB / 292.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.02078, allocations: 145.6 kB / 292.4 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.02188, allocations: 0.8369 MB / 293.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.698e-05/0.02195, allocations: 113.8 kB / 293.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.02209, allocations: 60.25 kB / 293.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.0224, allocations: 229.2 kB / 293.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0224, allocations: 0 / 293.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of Templates: time 0.01071/0.03311, allocations: 9.857 MB / 303.5 MB, free: 5.531 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9499956951476634]