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.001322/0.001322, allocations: 107.5 kB / 20.44 MB, free: 1.203 MB / 14.72 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.001414/0.001414, allocations: 184 kB / 23.7 MB, free: 4.434 MB / 14.72 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.473/1.473, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 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 0.001568/0.001568, allocations: 51.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2548, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004925/0.2597, allocations: 3.372 MB / 426.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2614, allocations: 0.9304 MB / 427.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.2615, allocations: 7.938 kB / 427.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.2619, allocations: 107.1 kB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.2623, allocations: 194.4 kB / 427.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.2625, allocations: 131.8 kB / 427.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007539/0.2633, allocations: 0.6808 MB / 428.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.2635, allocations: 130.8 kB / 428.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.2638, allocations: 263 kB / 428.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.2642, allocations: 254.8 kB / 429.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.225e-05/0.2643, allocations: 59.94 kB / 429.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.2644, allocations: 56 kB / 429.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.2645, allocations: 127.6 kB / 429.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.2648, allocations: 262.8 kB / 429.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007438/0.2656, allocations: 0.699 MB / 430.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2656, allocations: 0 / 430.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2656, allocations: 0 / 430.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.2656, allocations: 0 / 430.3 MB, free: 7.203 MB / 334.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.00157/0.2671, allocations: 0.8294 MB / 431.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2672, allocations: 15.97 kB / 431.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.2673, allocations: 68.55 kB / 431.2 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007747/0.2681, allocations: 377 kB / 431.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.2682, allocations: 106.3 kB / 431.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.2683, allocations: 40.38 kB / 431.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.2694, allocations: 0.854 MB / 432.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2694, allocations: 0 / 432.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.2694, allocations: 16 kB / 432.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2694, allocations: 8 kB / 432.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/0.2703, allocations: 342.3 kB / 432.9 MB, free: 4.34 MB / 334.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.001921/0.2722, allocations: 0.9478 MB / 433.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.2729, allocations: 283.3 kB / 434.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.2733, allocations: 160.8 kB / 434.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.2734, allocations: 4.594 kB / 434.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.2734, allocations: 38.56 kB / 434.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.2734, allocations: 4 kB / 434.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001565/0.275, allocations: 0.5687 MB / 434.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002365/0.2752, allocations: 449 kB / 435.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.2757, allocations: 425.9 kB / 435.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.2757, allocations: 33.7 kB / 435.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.2759, allocations: 252.5 kB / 436.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.276, allocations: 134.8 kB / 436.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.2762, allocations: 69.7 kB / 436.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2764, allocations: 362.7 kB / 436.6 MB, free: 456 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.2768, allocations: 161.6 kB / 436.8 MB, free: 288 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/0.2775, allocations: 0.6777 MB / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007855/0.2783, allocations: 349.1 kB / 437.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2783, allocations: 0 / 437.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001041/0.2793, allocations: 0.496 MB / 438.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.2794, allocations: 29.7 kB / 438.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2794, allocations: 0 / 438.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.2795, allocations: 57.62 kB / 438.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.28, allocations: 79.94 kB / 438.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.2825, allocations: 2.697 MB / 441.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.2829, allocations: 55.78 kB / 441.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.283, allocations: 8 kB / 441.2 MB, free: 11.43 MB / 350.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.0002353/0.2832, allocations: 177.8 kB / 441.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.2833, allocations: 55.67 kB / 441.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.2834, allocations: 52.56 kB / 441.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2834, allocations: 4 kB / 441.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2834, allocations: 0 / 441.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/0.2845, allocations: 0.7282 MB / 442.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.2861, allocations: 0.8566 MB / 443.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2861, allocations: 0 / 443.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.2865, allocations: 83.94 kB / 443.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2865, allocations: 12 kB / 443.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.2865, allocations: 7.938 kB / 443.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2865, allocations: 7.938 kB / 443.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2865, allocations: 0 / 443.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.2878, allocations: 0.6482 MB / 443.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.2881, allocations: 91.58 kB / 443.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.2881, allocations: 8 kB / 443.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.2885, allocations: 27.97 kB / 444 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.2886, allocations: 27.95 kB / 444 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.2886, allocations: 4 kB / 444 MB, free: 8.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003489/0.2889, allocations: 307.1 kB / 444.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2889, allocations: 0 / 444.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004524/0.2894, allocations: 139.8 kB / 444.4 MB, free: 8.043 MB / 350.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.0001353/0.2895, allocations: 119.6 kB / 444.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.2907, allocations: 0.6433 MB / 445.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.2907, allocations: 12 kB / 445.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004007/0.2911, allocations: 163.7 kB / 445.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006369/0.2918, allocations: 128.9 kB / 445.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.2935, allocations: 0.95 MB / 446.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.2937, allocations: 228.5 kB / 446.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.2939, allocations: 60.23 kB / 446.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.294, allocations: 43.38 kB / 446.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.294, allocations: 0 / 446.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of Templates: time 0.01731/0.3113, allocations: 9.976 MB / 456.7 MB, free: 11.87 MB / 366.1 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.802341025322676]