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.001008/0.001008, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001271/0.001271, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 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.9628/0.9628, allocations: 177 MB / 205.2 MB, free: 5.531 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.713e-06/1.713e-06, allocations: 0 / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.924e-05, allocations: 5.406 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005208/0.005237, allocations: 3.696 MB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.007612, allocations: 0.9968 MB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002623/0.007874, allocations: 7.938 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.008168, allocations: 107.1 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.0085, allocations: 206.2 kB / 278 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.008753, allocations: 139.7 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.009387, allocations: 0.7078 MB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.009583, allocations: 122.9 kB / 278.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.009918, allocations: 399.1 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.01013, allocations: 219.4 kB / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.01019, allocations: 60 kB / 279.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.888e-05/0.01025, allocations: 56 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/0.01032, allocations: 131.6 kB / 279.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.01048, allocations: 219.5 kB / 280 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.01087, allocations: 462.2 kB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01087, allocations: 4 kB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01088, allocations: 0 / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.01088, allocations: 0 / 280.5 MB, free: 10.2 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.0009943/0.01188, allocations: 0.9176 MB / 281.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.01192, allocations: 11.98 kB / 281.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.01204, allocations: 100.5 kB / 281.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.01247, allocations: 355.2 kB / 281.8 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.01257, allocations: 110.3 kB / 281.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.01262, allocations: 48.33 kB / 282 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.0132, allocations: 0.8056 MB / 282.8 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.01321, allocations: 4.125 kB / 282.8 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.01324, allocations: 20.12 kB / 282.8 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.01325, allocations: 8 kB / 282.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.0135, allocations: 155.8 kB / 283 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.01466, allocations: 0.9552 MB / 283.9 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.01493, allocations: 186 kB / 284.1 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.01505, allocations: 92.17 kB / 284.2 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.01508, allocations: 15.8 kB / 284.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.0151, allocations: 41.39 kB / 284.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.0151, allocations: 0 / 284.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006274/0.01573, allocations: 374.8 kB / 284.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.01585, allocations: 445 kB / 285.1 MB, free: 5.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.01616, allocations: 454.7 kB / 285.5 MB, free: 4.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.01619, allocations: 33.7 kB / 285.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.01633, allocations: 307.2 kB / 285.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.0164, allocations: 122.9 kB / 286 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/0.01648, allocations: 79.34 kB / 286 MB, free: 4.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.01661, allocations: 0.5274 MB / 286.6 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.01673, allocations: 85.66 kB / 286.7 MB, free: 3.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.01702, allocations: 0.631 MB / 287.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.01725, allocations: 202.8 kB / 287.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01725, allocations: 0 / 287.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003896/0.01764, allocations: 373.4 kB / 287.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.01767, allocations: 33.7 kB / 287.9 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01767, allocations: 0 / 287.9 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.0178, allocations: 47.34 kB / 287.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.018, allocations: 75.89 kB / 288 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.01958, allocations: 3.578 MB / 291.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.01977, allocations: 51.75 kB / 291.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.01979, allocations: 8 kB / 291.6 MB, free: 14.05 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.0001291/0.01992, allocations: 180.5 kB / 291.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.01998, allocations: 63.66 kB / 291.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.02004, allocations: 56.56 kB / 291.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.02004, allocations: 4 kB / 291.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.02004, allocations: 0 / 291.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003679/0.02041, allocations: 0.5867 MB / 292.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007503/0.02116, allocations: 0.7776 MB / 293.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02116, allocations: 0 / 293.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.02138, allocations: 83.88 kB / 293.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.02138, allocations: 0 / 293.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.0214, allocations: 8 kB / 293.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0214, allocations: 0 / 293.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.0214, allocations: 0 / 293.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.02184, allocations: 481.1 kB / 293.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.02196, allocations: 91.55 kB / 293.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.02199, allocations: 12 kB / 294 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.02215, allocations: 15.98 kB / 294 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.02221, allocations: 23.95 kB / 294 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.02222, allocations: 12 kB / 294 MB, free: 11.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.02243, allocations: 307 kB / 294.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02243, allocations: 0 / 294.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.02271, allocations: 139.8 kB / 294.4 MB, free: 11.05 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 9.769e-05/0.02281, allocations: 107.4 kB / 294.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005883/0.0234, allocations: 0.6296 MB / 295.2 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.0234, allocations: 0 / 295.2 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.02354, allocations: 111.8 kB / 295.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.02395, allocations: 145.6 kB / 295.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.02526, allocations: 0.8506 MB / 296.3 MB, free: 9.113 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.972e-05/0.02533, allocations: 113.8 kB / 296.4 MB, free: 8.984 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000157/0.02549, allocations: 64.23 kB / 296.5 MB, free: 8.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.02557, allocations: 40.5 kB / 296.5 MB, free: 8.879 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02557, allocations: 4 kB / 296.5 MB, free: 8.875 MB / 282.7 MB Notification: Performance of Templates: time 0.1041/0.1297, allocations: 9.308 MB / 305.8 MB, free: 43.15 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.9014534261077642]