Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001758/0.001758, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 219.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 379 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2506, allocations: 53.41 MB / 432.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005041/0.2556, allocations: 3.369 MB / 435.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2576, allocations: 0.9735 MB / 436.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.2578, allocations: 7.938 kB / 436.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.2581, allocations: 107.1 kB / 436.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.2585, allocations: 202.3 kB / 437 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.2588, allocations: 131.8 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007756/0.2596, allocations: 0.6769 MB / 437.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.2598, allocations: 126.9 kB / 438 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.2602, allocations: 267 kB / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.2605, allocations: 254.7 kB / 438.5 MB, free: 448 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.2606, allocations: 60 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.2607, allocations: 56 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2608, allocations: 119.6 kB / 438.7 MB, free: 212 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.2611, allocations: 266.9 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007328/0.2618, allocations: 0.6993 MB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2618, allocations: 0 / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.2618, allocations: 7.938 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.2618, allocations: 0 / 439.7 MB, free: 15.24 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.001565/0.2634, allocations: 0.8294 MB / 440.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2634, allocations: 11.98 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.2636, allocations: 72.52 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000768/0.2643, allocations: 377 kB / 440.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.2645, allocations: 110.3 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.2645, allocations: 40.33 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.2656, allocations: 0.8541 MB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2656, allocations: 0 / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.2656, allocations: 16 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2656, allocations: 8 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008314/0.2665, allocations: 338.3 kB / 442.3 MB, free: 12.38 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.001927/0.2684, allocations: 0.9323 MB / 443.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/0.2691, allocations: 278.4 kB / 443.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.2695, allocations: 164.8 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.2695, allocations: 7.984 kB / 443.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.2695, allocations: 38.56 kB / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/0.2696, allocations: 0 / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001592/0.2711, allocations: 0.5788 MB / 444.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/0.2714, allocations: 448.9 kB / 444.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.2719, allocations: 426 kB / 445.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.2719, allocations: 33.7 kB / 445.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.2721, allocations: 252.5 kB / 445.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2723, allocations: 126.8 kB / 445.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.2724, allocations: 81.47 kB / 445.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2726, allocations: 358.7 kB / 446 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.273, allocations: 165.6 kB / 446.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007244/0.2737, allocations: 0.6855 MB / 446.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/0.2744, allocations: 333.2 kB / 447.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2744, allocations: 4 kB / 447.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001035/0.2755, allocations: 0.4997 MB / 447.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.2755, allocations: 41.69 kB / 447.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2755, allocations: 0 / 447.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.2757, allocations: 49.64 kB / 447.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.2761, allocations: 79.94 kB / 447.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.2786, allocations: 2.704 MB / 450.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.2791, allocations: 51.8 kB / 450.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.2791, allocations: 8 kB / 450.6 MB, free: 3.461 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.0002318/0.2793, allocations: 177.9 kB / 450.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.2794, allocations: 47.72 kB / 450.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.2795, allocations: 60.5 kB / 450.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2795, allocations: 7.938 kB / 450.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2795, allocations: 0 / 450.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.2806, allocations: 0.727 MB / 451.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.2822, allocations: 0.8531 MB / 452.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2822, allocations: 0 / 452.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.2826, allocations: 91.94 kB / 452.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2826, allocations: 4 kB / 452.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.2826, allocations: 4 kB / 452.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.2826, allocations: 7.938 kB / 452.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2826, allocations: 0 / 452.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.284, allocations: 0.6525 MB / 453.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.2842, allocations: 87.62 kB / 453.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.2842, allocations: 8 kB / 453.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.2846, allocations: 27.97 kB / 453.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.2847, allocations: 27.94 kB / 453.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.2847, allocations: 8 kB / 453.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003669/0.2851, allocations: 311.1 kB / 453.7 MB, free: 212 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2851, allocations: 0 / 453.7 MB, free: 212 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004666/0.2855, allocations: 143.9 kB / 453.8 MB, free: 68 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.0001577/0.2857, allocations: 103.2 kB / 453.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.2869, allocations: 0.6426 MB / 454.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2869, allocations: 0 / 454.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.2873, allocations: 163.8 kB / 454.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006451/0.288, allocations: 141.6 kB / 454.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.2897, allocations: 0.9754 MB / 455.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.2899, allocations: 224.5 kB / 456 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.29, allocations: 39.44 kB / 456.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.29, allocations: 0 / 456.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01271/0.3028, allocations: 9.001 MB / 465.1 MB, free: 4.742 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.080664634238929]