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.001567/0.001567, allocations: 87.22 kB / 21.44 MB, free: 276 kB / 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.002186/0.002186, allocations: 163.5 kB / 24.71 MB, free: 3.527 MB / 14.72 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.492/1.492, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 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.663e-06/1.663e-06, allocations: 0 / 298.9 MB, free: 8.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.294e-05, allocations: 2.281 kB / 298.9 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006404/0.006437, allocations: 3.351 MB / 302.3 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.008965, allocations: 0.9744 MB / 303.3 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00052/0.009485, allocations: 7.938 kB / 303.3 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.01004, allocations: 115 kB / 303.4 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009229/0.01096, allocations: 210.2 kB / 303.6 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.01143, allocations: 131.8 kB / 303.7 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.01274, allocations: 0.7117 MB / 304.4 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.01307, allocations: 130.7 kB / 304.6 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008156/0.01388, allocations: 391.1 kB / 304.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.01442, allocations: 219.4 kB / 305.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.01458, allocations: 67.94 kB / 305.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.01473, allocations: 56 kB / 305.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.01487, allocations: 127.5 kB / 305.4 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.0152, allocations: 223.5 kB / 305.6 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000876/0.01608, allocations: 0.7088 MB / 306.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.01609, allocations: 0 / 306.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.01609, allocations: 0 / 306.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.0161, allocations: 0 / 306.3 MB, free: 1.395 MB / 286.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.001671/0.01777, allocations: 0.8255 MB / 307.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.01782, allocations: 15.98 kB / 307.2 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.01796, allocations: 68.52 kB / 307.2 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008355/0.0188, allocations: 384.2 kB / 307.6 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.01895, allocations: 110.3 kB / 307.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.186e-05/0.01903, allocations: 36.31 kB / 307.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.02017, allocations: 0.8428 MB / 308.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.02019, allocations: 192 / 308.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.02024, allocations: 20.12 kB / 308.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.02025, allocations: 8 kB / 308.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008894/0.02114, allocations: 342.3 kB / 309 MB, free: 14.54 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.002183/0.02333, allocations: 0.9404 MB / 309.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000782/0.02411, allocations: 280.7 kB / 310.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.02468, allocations: 160.8 kB / 310.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.02473, allocations: 11.92 kB / 310.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.02478, allocations: 47.16 kB / 310.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.02478, allocations: 4 kB / 310.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001762/0.02655, allocations: 0.5648 MB / 310.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002921/0.02684, allocations: 453 kB / 311.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.02744, allocations: 425.9 kB / 311.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.0275, allocations: 33.7 kB / 311.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.02774, allocations: 248.5 kB / 312.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.02788, allocations: 126.9 kB / 312.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.02806, allocations: 77.62 kB / 312.3 MB, free: 11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.02828, allocations: 354.8 kB / 312.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.02873, allocations: 165.6 kB / 312.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/0.02959, allocations: 0.6892 MB / 313.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008583/0.03045, allocations: 329.2 kB / 313.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.03046, allocations: 0 / 313.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001187/0.03164, allocations: 0.5075 MB / 314.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.03169, allocations: 33.69 kB / 314.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.0317, allocations: 4 kB / 314.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.03189, allocations: 45.7 kB / 314.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.03232, allocations: 87.91 kB / 314.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.03528, allocations: 2.7 MB / 317.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.03574, allocations: 52.02 kB / 317.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.03579, allocations: 12 kB / 317.2 MB, free: 5.617 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.0002576/0.03604, allocations: 169.8 kB / 317.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.03615, allocations: 55.66 kB / 317.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.03627, allocations: 48.56 kB / 317.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.03627, allocations: 4 kB / 317.5 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.03628, allocations: 0 / 317.5 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/0.03752, allocations: 0.7282 MB / 318.2 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.03932, allocations: 0.8568 MB / 319.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.03932, allocations: 4 kB / 319.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.0398, allocations: 87.88 kB / 319.2 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.03981, allocations: 0 / 319.2 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.03983, allocations: 4 kB / 319.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.03984, allocations: 8 kB / 319.2 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.03984, allocations: 0 / 319.2 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.04133, allocations: 0.6559 MB / 319.9 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.04155, allocations: 87.86 kB / 319.9 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.044e-05/0.04163, allocations: 8 kB / 319.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.04205, allocations: 27.97 kB / 320 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.04216, allocations: 35.92 kB / 320 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.04218, allocations: 8.062 kB / 320 MB, free: 2.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000415/0.04259, allocations: 307.1 kB / 320.3 MB, free: 2.363 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04259, allocations: 3.938 kB / 320.3 MB, free: 2.359 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005623/0.04315, allocations: 143.8 kB / 320.5 MB, free: 2.219 MB / 302.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.0002188/0.04337, allocations: 103.2 kB / 320.6 MB, free: 2.109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.04481, allocations: 0.6547 MB / 321.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.04482, allocations: 0 / 321.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.04525, allocations: 163.8 kB / 321.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.04599, allocations: 137.6 kB / 321.5 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.04787, allocations: 0.8446 MB / 322.4 MB, free: 252 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.04812, allocations: 228.5 kB / 322.6 MB, free: 0 / 302.1 MB Notification: Performance of simCode: alias equations: time 0.1728/0.2209, allocations: 55.67 kB / 322.6 MB, free: 34.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.2211, allocations: 45.45 kB / 322.7 MB, free: 34.35 MB / 302.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2211, allocations: 0 / 322.7 MB, free: 34.35 MB / 302.1 MB Notification: Performance of Templates: time 0.01793/0.239, allocations: 9.238 MB / 331.9 MB, free: 31.89 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] 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: 4.939999796450138]