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.001895/0.001895, allocations: 84.47 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002316/0.002316, allocations: 163 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.483/1.483, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.543e-06/1.543e-06, allocations: 0 / 325 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.068e-05, allocations: 2.281 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004517/0.004538, allocations: 3.38 MB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.006425, allocations: 0.9667 MB / 329.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.006658, allocations: 8.906 kB / 329.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.007009, allocations: 105.6 kB / 329.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005135/0.007522, allocations: 212.9 kB / 329.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.007856, allocations: 137.8 kB / 329.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008674/0.008724, allocations: 0.7077 MB / 330.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.008982, allocations: 126.4 kB / 330.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005682/0.009551, allocations: 397.3 kB / 331.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.009896, allocations: 216.6 kB / 331.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.265e-05/0.009988, allocations: 57.81 kB / 331.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.0101, allocations: 58.12 kB / 331.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.01024, allocations: 130.2 kB / 331.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.0105, allocations: 215.1 kB / 331.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008146/0.01132, allocations: 0.7138 MB / 332.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01132, allocations: 4 kB / 332.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.01132, allocations: 1.188 kB / 332.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.01133, allocations: 0 / 332.5 MB, free: 11.82 MB / 302.1 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.001673/0.013, allocations: 0.8296 MB / 333.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.01305, allocations: 8.25 kB / 333.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.0132, allocations: 71.23 kB / 333.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.01397, allocations: 367.3 kB / 333.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.01413, allocations: 111.9 kB / 333.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.0142, allocations: 34.41 kB / 333.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.01534, allocations: 0.8562 MB / 334.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.01536, allocations: 192 / 334.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.01541, allocations: 20.19 kB / 334.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.01542, allocations: 8.656 kB / 334.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.0163, allocations: 337.6 kB / 335.1 MB, free: 9.684 MB / 302.1 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.001935/0.01823, allocations: 0.9487 MB / 336 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.01896, allocations: 279.1 kB / 336.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/0.01939, allocations: 170.7 kB / 336.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.01943, allocations: 12.97 kB / 336.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.01947, allocations: 38.31 kB / 336.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.01947, allocations: 1.25 kB / 336.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001705/0.02117, allocations: 0.5731 MB / 337.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002477/0.02142, allocations: 442.9 kB / 337.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.02196, allocations: 433.4 kB / 337.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.022, allocations: 32.17 kB / 338 MB, free: 7.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.02221, allocations: 248.1 kB / 338.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.02232, allocations: 126.4 kB / 338.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.02248, allocations: 80.59 kB / 338.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.02266, allocations: 352.9 kB / 338.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.02308, allocations: 161.8 kB / 338.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007753/0.02386, allocations: 0.6805 MB / 339.6 MB, free: 6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008283/0.02468, allocations: 340.7 kB / 339.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02469, allocations: 0 / 339.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001117/0.0258, allocations: 0.5075 MB / 340.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.02585, allocations: 33.7 kB / 340.5 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02586, allocations: 4 kB / 340.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.02604, allocations: 53.69 kB / 340.5 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.02648, allocations: 83.88 kB / 340.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.02923, allocations: 2.7 MB / 343.3 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.02969, allocations: 47.84 kB / 343.4 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.02972, allocations: 11.98 kB / 343.4 MB, free: 1.988 MB / 302.1 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.0002553/0.02998, allocations: 174.5 kB / 343.5 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.03008, allocations: 55.61 kB / 343.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.0302, allocations: 52.58 kB / 343.6 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.0302, allocations: 4 kB / 343.7 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.0302, allocations: 0 / 343.7 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/0.03133, allocations: 0.7232 MB / 344.4 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.03302, allocations: 0.8605 MB / 345.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.03303, allocations: 0 / 345.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.03351, allocations: 91.86 kB / 345.3 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.03352, allocations: 4.234 kB / 345.3 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.03354, allocations: 11.94 kB / 345.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.03355, allocations: 4 kB / 345.3 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03355, allocations: 4 kB / 345.3 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.03506, allocations: 0.6571 MB / 346 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.03526, allocations: 91.62 kB / 346.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.03534, allocations: 8 kB / 346.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.03573, allocations: 27.97 kB / 346.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.03583, allocations: 23.95 kB / 346.2 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.03586, allocations: 8 kB / 346.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003689/0.03622, allocations: 307.1 kB / 346.5 MB, free: 14.72 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03623, allocations: 0 / 346.5 MB, free: 14.72 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004782/0.0367, allocations: 139.8 kB / 346.6 MB, free: 14.59 MB / 318.1 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.0001497/0.03685, allocations: 115.2 kB / 346.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.03814, allocations: 0.6348 MB / 347.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/0.03815, allocations: 4 kB / 347.3 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.03859, allocations: 171.7 kB / 347.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006829/0.03927, allocations: 136.9 kB / 347.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.04094, allocations: 0.8599 MB / 348.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.04117, allocations: 224.5 kB / 348.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002209/0.04139, allocations: 56.25 kB / 348.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.04153, allocations: 44.48 kB / 348.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.04153, allocations: 0 / 348.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of Templates: time 0.01721/0.05874, allocations: 9.248 MB / 358.1 MB, free: 3.223 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.596204042434692]