Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001516/0.001516, allocations: 114.7 kB / 19.17 MB, free: 3.895 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.00162/0.00162, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.397/1.397, allocations: 230.4 MB / 255.4 MB, free: 15.02 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.83 kB / 374.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09947, allocations: 53.31 MB / 428 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005096/0.1046, allocations: 3.702 MB / 431.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1809/0.2854, allocations: 1.001 MB / 432.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.2857, allocations: 9.219 kB / 432.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.2861, allocations: 110.9 kB / 432.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.2864, allocations: 203.4 kB / 433.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.2867, allocations: 131 kB / 433.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.2873, allocations: 0.6793 MB / 433.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.2875, allocations: 125.9 kB / 434 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.2877, allocations: 260 kB / 434.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.288, allocations: 299.7 kB / 434.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.2881, allocations: 55.12 kB / 434.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.965e-05/0.2882, allocations: 59.88 kB / 434.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.2882, allocations: 126 kB / 434.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.2884, allocations: 307.5 kB / 435.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005563/0.289, allocations: 0.7019 MB / 435.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.289, allocations: 1.094 kB / 435.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.289, allocations: 0 / 435.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.289, allocations: 0.5156 kB / 435.8 MB, free: 7.586 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.001315/0.2903, allocations: 0.9054 MB / 436.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.2904, allocations: 8.969 kB / 436.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2905, allocations: 71.83 kB / 436.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.2911, allocations: 435.2 kB / 437.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.9e-05/0.2912, allocations: 57.55 kB / 437.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.2912, allocations: 31.31 kB / 437.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/0.292, allocations: 489.3 kB / 437.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.292, allocations: 4.75 kB / 437.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.292, allocations: 17.84 kB / 437.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.292, allocations: 8.281 kB / 437.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.2928, allocations: 337.1 kB / 438.1 MB, free: 6.465 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.001726/0.2945, allocations: 1.287 MB / 439.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.2952, allocations: 354 kB / 439.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.2955, allocations: 167 kB / 439.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.2956, allocations: 8.219 kB / 439.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2956, allocations: 42.28 kB / 440 MB, free: 5.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.443e-06/0.2956, allocations: 0 / 440 MB, free: 5.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001463/0.2971, allocations: 0.7264 MB / 440.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.2971, allocations: 454 kB / 441.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.2976, allocations: 453 kB / 441.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.2976, allocations: 38.36 kB / 441.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.2977, allocations: 245 kB / 441.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.2978, allocations: 125.4 kB / 442 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.2979, allocations: 80.05 kB / 442.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.298, allocations: 361 kB / 442.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.2984, allocations: 137.3 kB / 442.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.2988, allocations: 283.9 kB / 442.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.2995, allocations: 334.3 kB / 443.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2995, allocations: 0 / 443.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000893/0.3004, allocations: 491.4 kB / 443.6 MB, free: 2.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.3004, allocations: 34.11 kB / 443.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3004, allocations: 1 kB / 443.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.3005, allocations: 50.36 kB / 443.7 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.301, allocations: 83.77 kB / 443.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.3028, allocations: 2.966 MB / 446.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.3032, allocations: 49.92 kB / 446.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.3032, allocations: 16.84 kB / 446.8 MB, free: 15.8 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.0002172/0.3034, allocations: 172.9 kB / 447 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/0.3035, allocations: 55.11 kB / 447 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.3036, allocations: 51.73 kB / 447.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3036, allocations: 7.406 kB / 447.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3036, allocations: 1.156 kB / 447.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/0.3047, allocations: 0.726 MB / 447.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.3064, allocations: 1.009 MB / 448.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3064, allocations: 1.125 kB / 448.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.3068, allocations: 91.52 kB / 448.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3068, allocations: 2.328 kB / 448.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.3068, allocations: 9.781 kB / 448.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3068, allocations: 5.688 kB / 448.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3068, allocations: 1.125 kB / 448.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.3081, allocations: 0.6499 MB / 449.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.3083, allocations: 168 kB / 449.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/0.3084, allocations: 20.12 kB / 449.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.3088, allocations: 27.77 kB / 449.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.3088, allocations: 22.94 kB / 449.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.3089, allocations: 7.328 kB / 449.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003582/0.3092, allocations: 329.1 kB / 450.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3092, allocations: 0 / 450.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004352/0.3097, allocations: 143.7 kB / 450.3 MB, free: 13.66 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.0001398/0.3098, allocations: 115.2 kB / 450.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.311, allocations: 0.6153 MB / 451 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.311, allocations: 1.219 kB / 451 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.3114, allocations: 170 kB / 451.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.312, allocations: 142.8 kB / 451.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.3136, allocations: 0.9612 MB / 452.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.3141, allocations: 0.8261 MB / 453.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3142, allocations: 50.66 kB / 453.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3142, allocations: 0 / 453.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01207/0.3263, allocations: 8.969 MB / 462.1 MB, free: 8.426 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.7253661109134555]