Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001996/0.001996, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.002627/0.002627, allocations: 163 kB / 25.03 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 250.3 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.03e-05/4.212e-05, allocations: 6.109 kB / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006335/0.006377, allocations: 3.64 MB / 254 MB, free: 4.18 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.008697, allocations: 1.002 MB / 255 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.008959, allocations: 7.938 kB / 255 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.009348, allocations: 107.1 kB / 255.1 MB, free: 3.055 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006745/0.01002, allocations: 210.2 kB / 255.3 MB, free: 2.848 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.01038, allocations: 135.7 kB / 255.4 MB, free: 2.715 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009624/0.01134, allocations: 0.7078 MB / 256.2 MB, free: 2.004 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.01162, allocations: 118.9 kB / 256.3 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.01216, allocations: 399.1 kB / 256.7 MB, free: 1.488 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.01252, allocations: 219.4 kB / 256.9 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.01263, allocations: 56 kB / 256.9 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.01275, allocations: 60 kB / 257 MB, free: 1.16 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.01289, allocations: 131.5 kB / 257.1 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.01318, allocations: 219.5 kB / 257.3 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.01443, allocations: 0.7087 MB / 258 MB, free: 108 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01444, allocations: 4 kB / 258 MB, free: 104 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01444, allocations: 0 / 258 MB, free: 104 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.01445, allocations: 0 / 258 MB, free: 104 kB / 234.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.002035/0.01648, allocations: 0.9525 MB / 259 MB, free: 15.1 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.01654, allocations: 15.98 kB / 259 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.01685, allocations: 100.5 kB / 259.1 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008841/0.01774, allocations: 383.1 kB / 259.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.0179, allocations: 106.3 kB / 259.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.01799, allocations: 48.31 kB / 259.6 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.01924, allocations: 0.8831 MB / 260.5 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.01926, allocations: 4.188 kB / 260.5 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.01932, allocations: 28.11 kB / 260.5 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.01933, allocations: 8 kB / 260.6 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.0201, allocations: 298.5 kB / 260.8 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.02244, allocations: 1.108 MB / 262 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/0.02327, allocations: 275 kB / 262.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.02363, allocations: 155.6 kB / 262.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.712e-05/0.02369, allocations: 11.94 kB / 262.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.02373, allocations: 41.39 kB / 262.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.02373, allocations: 3.938 kB / 262.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.001542/0.02528, allocations: 0.5515 MB / 263 MB, free: 10.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000315/0.02559, allocations: 449 kB / 263.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.02631, allocations: 0.5417 MB / 264 MB, free: 9.723 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.02636, allocations: 33.7 kB / 264 MB, free: 9.684 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.02667, allocations: 319.3 kB / 264.3 MB, free: 9.363 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.02682, allocations: 134.9 kB / 264.4 MB, free: 9.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.02699, allocations: 91.3 kB / 264.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003642/0.02735, allocations: 0.5587 MB / 265.1 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.02771, allocations: 141.7 kB / 265.2 MB, free: 8.418 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008508/0.02856, allocations: 0.7396 MB / 266 MB, free: 7.508 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.02927, allocations: 322.9 kB / 266.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.02927, allocations: 0 / 266.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001063/0.03033, allocations: 0.4936 MB / 266.8 MB, free: 6.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.03038, allocations: 33.7 kB / 266.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.03039, allocations: 3.984 kB / 266.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.03059, allocations: 55.34 kB / 266.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.03099, allocations: 79.89 kB / 266.9 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004196/0.03519, allocations: 3.753 MB / 270.7 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007008/0.03589, allocations: 43.81 kB / 270.7 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.03594, allocations: 15.98 kB / 270.8 MB, free: 2.418 MB / 250.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.0003312/0.03627, allocations: 220.6 kB / 271 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.03642, allocations: 67.66 kB / 271 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.03655, allocations: 48.58 kB / 271.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.03655, allocations: 0 / 271.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.03655, allocations: 4 kB / 271.1 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/0.03757, allocations: 0.6971 MB / 271.8 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.03984, allocations: 0.9692 MB / 272.8 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.03984, allocations: 0 / 272.8 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/0.04051, allocations: 79.89 kB / 272.8 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.04052, allocations: 0 / 272.8 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.04056, allocations: 12 kB / 272.8 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.04057, allocations: 0 / 272.8 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.04057, allocations: 0 / 272.8 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.04196, allocations: 0.6685 MB / 273.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.04219, allocations: 91.5 kB / 273.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.367e-05/0.04226, allocations: 15.98 kB / 273.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.04262, allocations: 19.98 kB / 273.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.04271, allocations: 27.81 kB / 273.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.04274, allocations: 12 kB / 273.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004705/0.04321, allocations: 375 kB / 274 MB, free: 14.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04321, allocations: 4.031 kB / 274 MB, free: 14.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000515/0.04372, allocations: 135.9 kB / 274.2 MB, free: 14.81 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 0.0001696/0.04389, allocations: 107.2 kB / 274.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.04525, allocations: 0.7537 MB / 275 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.04525, allocations: 64 / 275 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.04564, allocations: 175.3 kB / 275.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/0.04637, allocations: 156.9 kB / 275.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.04836, allocations: 0.8701 MB / 276.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.04862, allocations: 224.5 kB / 276.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.04888, allocations: 60.25 kB / 276.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.04901, allocations: 40.5 kB / 276.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.04901, allocations: 0 / 276.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of Templates: time 0.0205/0.06952, allocations: 9.317 MB / 285.9 MB, free: 3.031 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 5.072288191993721]