Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.002066/0.002066, allocations: 97.5 kB / 21.92 MB, free: 5.207 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.002332/0.002332, allocations: 203.2 kB / 25.22 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 65.64 kB / 348.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2961, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005199/0.3013, allocations: 4.499 MB / 402.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.3041, allocations: 1.299 MB / 403.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.3045, allocations: 14.91 kB / 403.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.305, allocations: 155.9 kB / 403.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006799/0.3056, allocations: 336.8 kB / 403.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.3061, allocations: 232 kB / 404.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.3072, allocations: 1.172 MB / 405.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.3075, allocations: 212.9 kB / 405.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004748/0.308, allocations: 467.8 kB / 406 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005408/0.3085, allocations: 451.1 kB / 406.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.3087, allocations: 103.1 kB / 406.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.3089, allocations: 109.9 kB / 406.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.3091, allocations: 221 kB / 406.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000404/0.3095, allocations: 449.1 kB / 407.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.3107, allocations: 1.211 MB / 408.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3108, allocations: 0 / 408.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3108, allocations: 1.406 kB / 408.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.3108, allocations: 0 / 408.5 MB, free: 2.992 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00231/0.3131, allocations: 1.295 MB / 409.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3131, allocations: 14.09 kB / 409.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.3133, allocations: 110.9 kB / 409.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009485/0.3143, allocations: 0.5348 MB / 410.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.3145, allocations: 302.2 kB / 410.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.243e-05/0.3146, allocations: 66.23 kB / 410.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.3161, allocations: 1.6 MB / 412.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.3161, allocations: 0 / 412.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.3162, allocations: 28.56 kB / 412.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3162, allocations: 12.38 kB / 412.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.3176, allocations: 0.5973 MB / 413 MB, free: 15.41 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.003149/0.3208, allocations: 1.524 MB / 414.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.322, allocations: 0.5837 MB / 415.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000786/0.3228, allocations: 362.3 kB / 415.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.326e-05/0.3228, allocations: 14.33 kB / 415.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.3229, allocations: 51.12 kB / 415.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.225e-06/0.3229, allocations: 0 / 415.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004959/0.3279, allocations: 1.49 MB / 417 MB, free: 13.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005249/0.3284, allocations: 0.8231 MB / 417.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.3293, allocations: 0.5979 MB / 418.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.3294, allocations: 45.36 kB / 418.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.3297, allocations: 345 kB / 418.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.33, allocations: 266.9 kB / 419.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.3302, allocations: 142.6 kB / 419.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.3304, allocations: 383.2 kB / 419.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/0.3312, allocations: 353.1 kB / 420 MB, free: 10.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.3327, allocations: 1.387 MB / 421.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.3341, allocations: 0.6856 MB / 422 MB, free: 8.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3341, allocations: 0 / 422 MB, free: 8.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002821/0.3369, allocations: 1.17 MB / 423.2 MB, free: 7.844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.337, allocations: 87.83 kB / 423.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.337, allocations: 1.281 kB / 423.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007225/0.3377, allocations: 235.6 kB / 423.5 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.3384, allocations: 144.6 kB / 423.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008372/0.3467, allocations: 6.383 MB / 430 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.3477, allocations: 91.61 kB / 430.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.3478, allocations: 24.19 kB / 430.2 MB, free: 1.051 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004251/0.3482, allocations: 229.8 kB / 430.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.3484, allocations: 91.42 kB / 430.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.3486, allocations: 91.02 kB / 430.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.3486, allocations: 8 kB / 430.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.3486, allocations: 0 / 430.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002605/0.3512, allocations: 1.225 MB / 431.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/0.355, allocations: 1.666 MB / 433.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.355, allocations: 0 / 433.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/0.3557, allocations: 135.8 kB / 433.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/0.3562, allocations: 206.4 kB / 433.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.3563, allocations: 15.98 kB / 433.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00674/0.363, allocations: 4.941 MB / 438.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.363, allocations: 0 / 438.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.3664, allocations: 1.4 MB / 440.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.3669, allocations: 163.3 kB / 440.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.3671, allocations: 20 kB / 440.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.3677, allocations: 43.95 kB / 440.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.3679, allocations: 72.47 kB / 440.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.3679, allocations: 16 kB / 440.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006097/0.3685, allocations: 435.1 kB / 440.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3685, allocations: 0 / 440.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009582/0.3695, allocations: 279.8 kB / 441.2 MB, free: 5.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002072/0.3697, allocations: 131.1 kB / 441.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.3723, allocations: 1.392 MB / 442.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.3724, allocations: 4 kB / 442.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.3738, allocations: 0.7418 MB / 443.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.3748, allocations: 234.6 kB / 443.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.3779, allocations: 1.647 MB / 445.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.3783, allocations: 353.7 kB / 445.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3786, allocations: 63.44 kB / 445.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3786, allocations: 0 / 445.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of Templates: time 0.0289/0.4075, allocations: 22.85 MB / 468.6 MB, free: 9.832 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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: 9.913293230812997]