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.001331/0.001331, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001277/0.001277, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.414/1.414, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.001539/0.001539, allocations: 51.92 kB / 368.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2399, allocations: 52.14 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005106/0.245, allocations: 3.706 MB / 424.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.2468, allocations: 0.9891 MB / 425.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.247, allocations: 7.938 kB / 425.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.2473, allocations: 107 kB / 425.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.2477, allocations: 202.4 kB / 425.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.248, allocations: 127.8 kB / 426 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007562/0.2487, allocations: 0.6769 MB / 426.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.249, allocations: 122.3 kB / 426.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.2492, allocations: 267 kB / 427 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.2496, allocations: 298.8 kB / 427.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.751e-05/0.2497, allocations: 56 kB / 427.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.2498, allocations: 60 kB / 427.4 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2499, allocations: 123.5 kB / 427.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.2502, allocations: 306.6 kB / 427.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009747/0.2512, allocations: 0.7015 MB / 428.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2512, allocations: 0 / 428.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2512, allocations: 0 / 428.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2512, allocations: 0 / 428.6 MB, free: 7.395 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.0016/0.2528, allocations: 0.9124 MB / 429.5 MB, free: 6.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2528, allocations: 8.031 kB / 429.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.253, allocations: 64.56 kB / 429.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.2537, allocations: 450.8 kB / 430 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.2538, allocations: 58.91 kB / 430.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.2539, allocations: 28.38 kB / 430.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008936/0.2548, allocations: 493 kB / 430.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.2548, allocations: 0 / 430.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/0.2548, allocations: 16 kB / 430.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.2549, allocations: 8 kB / 430.6 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/0.2557, allocations: 334.4 kB / 430.9 MB, free: 4.898 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.002068/0.2578, allocations: 1.283 MB / 432.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.2585, allocations: 371.5 kB / 432.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.2589, allocations: 156.8 kB / 432.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.259, allocations: 8.578 kB / 432.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.259, allocations: 38.56 kB / 432.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.259, allocations: 0 / 432.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001641/0.2606, allocations: 0.7195 MB / 433.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002417/0.2609, allocations: 460.8 kB / 433.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.2614, allocations: 453.9 kB / 434.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.2615, allocations: 33.7 kB / 434.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.2617, allocations: 240.7 kB / 434.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2618, allocations: 130.8 kB / 434.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2619, allocations: 77.66 kB / 434.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2621, allocations: 362.7 kB / 435.2 MB, free: 300 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.2625, allocations: 143.9 kB / 435.3 MB, free: 156 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.263, allocations: 278.9 kB / 435.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/0.2638, allocations: 349 kB / 435.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2638, allocations: 0 / 435.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001312/0.2651, allocations: 486 kB / 436.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.2652, allocations: 29.7 kB / 436.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2652, allocations: 32 / 436.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.2654, allocations: 61.67 kB / 436.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.2658, allocations: 83.88 kB / 436.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.2687, allocations: 2.954 MB / 439.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.2692, allocations: 47.86 kB / 439.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.2692, allocations: 16.03 kB / 439.6 MB, free: 11.5 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.000239/0.2694, allocations: 180.9 kB / 439.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2696, allocations: 63.66 kB / 439.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.2697, allocations: 48.77 kB / 439.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.2697, allocations: 4 kB / 439.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2697, allocations: 0 / 439.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.2708, allocations: 0.7309 MB / 440.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.2725, allocations: 1.001 MB / 441.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2725, allocations: 4 kB / 441.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.273, allocations: 95.88 kB / 441.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.273, allocations: 0 / 441.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.273, allocations: 11.94 kB / 441.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.273, allocations: 0 / 441.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.273, allocations: 80 / 441.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.2743, allocations: 0.6532 MB / 442.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.2745, allocations: 164.7 kB / 442.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.2746, allocations: 15.92 kB / 442.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.2749, allocations: 31.97 kB / 442.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.275, allocations: 31.97 kB / 442.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.275, allocations: 4 kB / 442.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004047/0.2754, allocations: 335.1 kB / 443 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2754, allocations: 0 / 443 MB, free: 7.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.2759, allocations: 139.8 kB / 443.1 MB, free: 7.801 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.0001542/0.276, allocations: 111.7 kB / 443.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.2772, allocations: 0.6174 MB / 443.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2772, allocations: 0 / 443.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.2776, allocations: 167.8 kB / 444 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.2783, allocations: 149.8 kB / 444.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.2799, allocations: 0.9367 MB / 445.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.2804, allocations: 0.8311 MB / 445.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.2806, allocations: 64.34 kB / 446 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2808, allocations: 43.42 kB / 446 MB, free: 4.781 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2808, allocations: 4 kB / 446 MB, free: 4.777 MB / 350.1 MB Notification: Performance of Templates: time 0.01626/0.297, allocations: 9.116 MB / 455.1 MB, free: 11.81 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.588767169974744]