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.002068/0.002068, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.002512/0.002512, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.513/1.513, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.002015/0.002015, allocations: 67.88 kB / 374.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09504, allocations: 53.31 MB / 427.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004986/0.1, allocations: 3.701 MB / 431.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1812/0.2813, allocations: 1.01 MB / 432.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.2816, allocations: 8.875 kB / 432.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.282, allocations: 105.9 kB / 432.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.2823, allocations: 203.1 kB / 432.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.2826, allocations: 133 kB / 433 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.2832, allocations: 0.6803 MB / 433.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.2834, allocations: 129.4 kB / 433.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.2837, allocations: 260 kB / 434 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.284, allocations: 292.3 kB / 434.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.212e-05/0.284, allocations: 57.41 kB / 434.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.165e-05/0.2841, allocations: 58.94 kB / 434.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.2842, allocations: 127.8 kB / 434.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.2844, allocations: 313.7 kB / 434.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.285, allocations: 0.6988 MB / 435.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.285, allocations: 0 / 435.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.285, allocations: 0.8125 kB / 435.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.285, allocations: 1.25 kB / 435.6 MB, free: 7.609 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.00133/0.2863, allocations: 0.9068 MB / 436.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2864, allocations: 10.67 kB / 436.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2865, allocations: 70.08 kB / 436.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.2871, allocations: 437.4 kB / 437 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/0.2872, allocations: 56.7 kB / 437 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.2873, allocations: 30.91 kB / 437.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008007/0.2881, allocations: 488 kB / 437.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2881, allocations: 5.641 kB / 437.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.2881, allocations: 19.7 kB / 437.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.2881, allocations: 7.438 kB / 437.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000817/0.2889, allocations: 336.7 kB / 437.9 MB, free: 6.492 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.001806/0.2907, allocations: 1.285 MB / 439.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.2914, allocations: 354 kB / 439.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.2918, allocations: 170.3 kB / 439.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.2918, allocations: 6.438 kB / 439.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.2919, allocations: 38.5 kB / 439.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.542e-06/0.2919, allocations: 0 / 439.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001565/0.2934, allocations: 0.7236 MB / 440.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.2935, allocations: 452.3 kB / 440.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004801/0.294, allocations: 457 kB / 441.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.294, allocations: 34.36 kB / 441.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.2941, allocations: 251.6 kB / 441.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.2942, allocations: 126.4 kB / 441.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.2943, allocations: 79.58 kB / 441.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.2944, allocations: 360.9 kB / 442.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.2948, allocations: 138.7 kB / 442.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.2952, allocations: 288.3 kB / 442.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.296, allocations: 335.1 kB / 442.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.296, allocations: 0 / 442.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009484/0.2969, allocations: 490.5 kB / 443.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.297, allocations: 34.56 kB / 443.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.297, allocations: 0 / 443.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.2971, allocations: 46.8 kB / 443.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.2976, allocations: 84.22 kB / 443.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.2995, allocations: 2.966 MB / 446.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.2999, allocations: 49.86 kB / 446.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.3, allocations: 13.14 kB / 446.6 MB, free: 15.95 MB / 366.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.0002266/0.3002, allocations: 173.5 kB / 446.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.3003, allocations: 54.27 kB / 446.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.3004, allocations: 55.75 kB / 446.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3004, allocations: 7.344 kB / 446.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3004, allocations: 0.8906 kB / 446.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/0.3015, allocations: 0.7217 MB / 447.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.3033, allocations: 1.018 MB / 448.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3033, allocations: 0.6562 kB / 448.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.3038, allocations: 86.02 kB / 448.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3038, allocations: 1.062 kB / 448.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.3038, allocations: 10.02 kB / 448.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3038, allocations: 8.172 kB / 448.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3038, allocations: 0 / 448.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.3052, allocations: 0.6496 MB / 449.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.3054, allocations: 172.6 kB / 449.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.3055, allocations: 16.02 kB / 449.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.3058, allocations: 26.42 kB / 449.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.3059, allocations: 23.17 kB / 449.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.3059, allocations: 12.61 kB / 449.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003858/0.3063, allocations: 324.8 kB / 449.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3063, allocations: 0.875 kB / 449.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004647/0.3068, allocations: 143.9 kB / 450.1 MB, free: 13.8 MB / 366.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.0001435/0.3069, allocations: 107.4 kB / 450.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.3082, allocations: 0.6167 MB / 450.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.3082, allocations: 5.281 kB / 450.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.3086, allocations: 167.9 kB / 451 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.3093, allocations: 142.5 kB / 451.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.311, allocations: 0.9756 MB / 452.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.3115, allocations: 0.8259 MB / 452.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.3117, allocations: 42.31 kB / 453 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3117, allocations: 0 / 453 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01323/0.3249, allocations: 8.951 MB / 461.9 MB, free: 8.609 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.998189714038745]