Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 92.62 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 153.4 kB / 24.25 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.513e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005433/0.005459, allocations: 3.349 MB / 270.7 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.007324, allocations: 0.9615 MB / 271.6 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.007524, allocations: 7.938 kB / 271.6 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.007859, allocations: 107.1 kB / 271.7 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004458/0.008304, allocations: 210.1 kB / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.008596, allocations: 127.8 kB / 272.1 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000882/0.009478, allocations: 0.7157 MB / 272.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.009737, allocations: 122.8 kB / 272.9 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005142/0.01025, allocations: 399 kB / 273.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.01059, allocations: 215.4 kB / 273.5 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.633e-05/0.01068, allocations: 56 kB / 273.6 MB, free: 472 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.01079, allocations: 56 kB / 273.6 MB, free: 416 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.01093, allocations: 131.5 kB / 273.7 MB, free: 284 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.01121, allocations: 219.5 kB / 273.9 MB, free: 64 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009028/0.01211, allocations: 0.7049 MB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01212, allocations: 3.938 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01212, allocations: 4 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.01212, allocations: 4 kB / 274.7 MB, free: 15.34 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.001982/0.01411, allocations: 0.8255 MB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.01415, allocations: 12.92 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.01435, allocations: 92.56 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008382/0.01518, allocations: 380.2 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.01534, allocations: 110.3 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/0.01542, allocations: 40.38 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.01667, allocations: 0.8623 MB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.01668, allocations: 192 / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.01674, allocations: 20.12 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.01675, allocations: 8 kB / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008975/0.01765, allocations: 330.4 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.01974, allocations: 0.952 MB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.02049, allocations: 270.4 kB / 278.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.02093, allocations: 173.4 kB / 278.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.02097, allocations: 11.94 kB / 278.7 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.02102, allocations: 42.42 kB / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.963e-06/0.02102, allocations: 0 / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001773/0.02279, allocations: 0.5806 MB / 279.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003293/0.02312, allocations: 448.9 kB / 279.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.0237, allocations: 437.9 kB / 280.2 MB, free: 9.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.02375, allocations: 29.7 kB / 280.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.02398, allocations: 244.6 kB / 280.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.02413, allocations: 126.9 kB / 280.6 MB, free: 8.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.02429, allocations: 77.69 kB / 280.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.02451, allocations: 358.7 kB / 281 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.02493, allocations: 165.4 kB / 281.2 MB, free: 8.371 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008687/0.0258, allocations: 0.6853 MB / 281.9 MB, free: 7.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.02695, allocations: 345.1 kB / 282.2 MB, free: 7.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02696, allocations: 0 / 282.2 MB, free: 7.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001225/0.02818, allocations: 0.5114 MB / 282.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.02823, allocations: 41.73 kB / 282.8 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.02824, allocations: 0 / 282.8 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.02843, allocations: 53.62 kB / 282.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.02886, allocations: 79.94 kB / 282.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.03201, allocations: 2.708 MB / 285.6 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.03249, allocations: 47.84 kB / 285.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.03252, allocations: 12 kB / 285.7 MB, free: 3.484 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.0002803/0.0328, allocations: 173.7 kB / 285.8 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.03294, allocations: 67.84 kB / 285.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.03305, allocations: 56.56 kB / 286 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.03306, allocations: 7.984 kB / 286 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.03306, allocations: 0 / 286 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/0.03421, allocations: 0.7244 MB / 286.7 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.03597, allocations: 0.8568 MB / 287.5 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.03597, allocations: 0 / 287.5 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.03645, allocations: 87.88 kB / 287.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.03645, allocations: 0 / 287.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.03648, allocations: 8 kB / 287.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.03648, allocations: 4 kB / 287.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.03648, allocations: 0 / 287.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.03795, allocations: 0.6523 MB / 288.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.03816, allocations: 91.62 kB / 288.4 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.03822, allocations: 12.06 kB / 288.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.0386, allocations: 27.97 kB / 288.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.03869, allocations: 23.95 kB / 288.4 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.03872, allocations: 11.98 kB / 288.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004149/0.03913, allocations: 303.2 kB / 288.7 MB, free: 224 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03913, allocations: 0 / 288.7 MB, free: 224 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005129/0.03964, allocations: 147.7 kB / 288.9 MB, free: 76 kB / 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.0001864/0.03983, allocations: 111.2 kB / 289 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.04132, allocations: 0.6467 MB / 289.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.04133, allocations: 4 kB / 289.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.04178, allocations: 167.9 kB / 289.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.04249, allocations: 152 kB / 290 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.04427, allocations: 0.8713 MB / 290.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.04453, allocations: 220.5 kB / 291.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.04478, allocations: 60.25 kB / 291.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.04492, allocations: 48.48 kB / 291.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04492, allocations: 0 / 291.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of Templates: time 0.01849/0.06341, allocations: 9.27 MB / 300.4 MB, free: 4.656 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.659736061003059]