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.001857/0.001857, allocations: 111 kB / 21.19 MB, free: 0.6758 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.002274/0.002274, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.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 0.002511/0.002511, allocations: 47.94 kB / 378.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2564, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006884/0.2633, allocations: 3.366 MB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.2655, allocations: 0.9657 MB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.2657, allocations: 11.94 kB / 436.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.2661, allocations: 99.08 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005939/0.2667, allocations: 202.3 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.2671, allocations: 135.8 kB / 437.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.2682, allocations: 0.6808 MB / 437.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.2685, allocations: 130.9 kB / 437.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.2689, allocations: 267.1 kB / 438.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005154/0.2695, allocations: 290.7 kB / 438.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.2696, allocations: 59.98 kB / 438.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.2697, allocations: 64 kB / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2699, allocations: 123.6 kB / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.2703, allocations: 258.8 kB / 438.9 MB, free: 72 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.2714, allocations: 0.6993 MB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2714, allocations: 3.938 kB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.2714, allocations: 0 / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2714, allocations: 0 / 439.6 MB, free: 15.37 MB / 350.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.002258/0.2737, allocations: 0.8411 MB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2737, allocations: 11.97 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.2739, allocations: 68.52 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.275, allocations: 373.1 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.2751, allocations: 114.3 kB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.535e-05/0.2752, allocations: 32.33 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.2768, allocations: 0.8603 MB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.2768, allocations: 7.922 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.2769, allocations: 12 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.2769, allocations: 8 kB / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.2782, allocations: 334.4 kB / 442.3 MB, free: 12.5 MB / 350.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.002096/0.2803, allocations: 0.9362 MB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.281, allocations: 278.4 kB / 443.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.2815, allocations: 168.8 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.2815, allocations: 4 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.2816, allocations: 46.5 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.754e-06/0.2816, allocations: 0 / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00182/0.2834, allocations: 0.5673 MB / 444.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002492/0.2836, allocations: 445 kB / 444.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.2841, allocations: 430 kB / 445.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.2842, allocations: 37.7 kB / 445.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.2844, allocations: 244.5 kB / 445.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.2845, allocations: 134.8 kB / 445.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.2846, allocations: 73.48 kB / 445.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2848, allocations: 362.7 kB / 446 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.2852, allocations: 165.6 kB / 446.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/0.286, allocations: 0.6856 MB / 446.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.2868, allocations: 333.2 kB / 447.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2868, allocations: 3.938 kB / 447.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001058/0.2878, allocations: 0.5037 MB / 447.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.2879, allocations: 33.7 kB / 447.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2879, allocations: 3.984 kB / 447.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.288, allocations: 53.62 kB / 447.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.2885, allocations: 87.91 kB / 447.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.2911, allocations: 2.701 MB / 450.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.2915, allocations: 55.94 kB / 450.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.2915, allocations: 12 kB / 450.6 MB, free: 3.57 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.0002134/0.2917, allocations: 176 kB / 450.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.25e-05/0.2918, allocations: 51.66 kB / 450.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.2919, allocations: 52.56 kB / 450.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2919, allocations: 4 kB / 450.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2919, allocations: 0 / 450.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/0.293, allocations: 0.7309 MB / 451.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.2946, allocations: 0.8603 MB / 452.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2946, allocations: 4 kB / 452.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.2951, allocations: 83.88 kB / 452.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2951, allocations: 0 / 452.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.2951, allocations: 8 kB / 452.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2951, allocations: 0 / 452.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2951, allocations: 0 / 452.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.2964, allocations: 0.6573 MB / 453.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.2966, allocations: 83.62 kB / 453.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.2967, allocations: 12 kB / 453.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.2971, allocations: 27.97 kB / 453.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.2971, allocations: 23.95 kB / 453.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.2972, allocations: 15.98 kB / 453.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003546/0.2975, allocations: 307.2 kB / 453.7 MB, free: 332 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2975, allocations: 0 / 453.7 MB, free: 332 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000439/0.2979, allocations: 139.8 kB / 453.8 MB, free: 192 kB / 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.0001174/0.2981, allocations: 107.2 kB / 453.9 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.2993, allocations: 0.6503 MB / 454.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2993, allocations: 0 / 454.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.2997, allocations: 159.8 kB / 454.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.3004, allocations: 137.7 kB / 454.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.302, allocations: 0.9431 MB / 455.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3022, allocations: 224.5 kB / 456 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000231/0.3024, allocations: 68.22 kB / 456.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3026, allocations: 43.44 kB / 456.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3026, allocations: 0 / 456.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Templates: time 0.0168/0.3194, allocations: 10.09 MB / 466.2 MB, free: 3.906 MB / 366.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/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.593499279988464]