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.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.001322/0.001322, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001368/0.001368, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.481/1.481, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 55.92 kB / 347.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2938, allocations: 49.17 MB / 396.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005271/0.2991, allocations: 5.062 MB / 401.9 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.3013, allocations: 1.359 MB / 403.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.3017, allocations: 15.12 kB / 403.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.3021, allocations: 159.4 kB / 403.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.3027, allocations: 333.6 kB / 403.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.3031, allocations: 235.3 kB / 404 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.3042, allocations: 1.178 MB / 405.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.3045, allocations: 218.7 kB / 405.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004982/0.305, allocations: 467.7 kB / 405.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.3056, allocations: 0.5056 MB / 406.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.3057, allocations: 104.8 kB / 406.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.3059, allocations: 109.5 kB / 406.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.3061, allocations: 215.6 kB / 406.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.3066, allocations: 0.52 MB / 407.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.3079, allocations: 1.205 MB / 408.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3079, allocations: 5.375 kB / 408.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3079, allocations: 0 / 408.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.308, allocations: 0 / 408.5 MB, free: 2.27 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.002433/0.3104, allocations: 1.296 MB / 409.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3104, allocations: 13.36 kB / 409.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.3107, allocations: 111.4 kB / 409.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009921/0.3116, allocations: 0.5301 MB / 410.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.3118, allocations: 143.8 kB / 410.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3119, allocations: 65.81 kB / 410.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.3134, allocations: 0.8421 MB / 411.5 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.3134, allocations: 5.203 kB / 411.5 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.3135, allocations: 28.62 kB / 411.5 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.3135, allocations: 12.94 kB / 411.5 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.315, allocations: 0.6017 MB / 412.1 MB, free: 15.85 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.003423/0.3184, allocations: 2.009 MB / 414.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.3198, allocations: 0.5858 MB / 414.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/0.3206, allocations: 366.2 kB / 415.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/0.3207, allocations: 19.64 kB / 415.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.3207, allocations: 49.59 kB / 415.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 1.783e-06/0.3207, allocations: 0 / 415.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005164/0.3259, allocations: 1.486 MB / 416.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004453/0.3263, allocations: 0.8236 MB / 417.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008049/0.3272, allocations: 0.6293 MB / 418.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/0.3272, allocations: 45.39 kB / 418.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.3275, allocations: 339.3 kB / 418.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.3278, allocations: 271.3 kB / 418.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.328, allocations: 142.5 kB / 418.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3282, allocations: 387.5 kB / 419.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/0.3289, allocations: 279.8 kB / 419.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009756/0.3299, allocations: 0.5474 MB / 420 MB, free: 9.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.3313, allocations: 0.6876 MB / 420.7 MB, free: 9.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3313, allocations: 0.9375 kB / 420.7 MB, free: 9.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002731/0.3341, allocations: 1.086 MB / 421.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.191e-05/0.3341, allocations: 87.84 kB / 421.9 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3342, allocations: 5.406 kB / 421.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/0.3349, allocations: 232.2 kB / 422.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.3355, allocations: 139.3 kB / 422.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008305/0.3438, allocations: 6.514 MB / 428.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/0.3447, allocations: 103.5 kB / 428.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.3448, allocations: 23.98 kB / 428.9 MB, free: 2.098 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.0003888/0.3452, allocations: 221.7 kB / 429.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.3453, allocations: 91.42 kB / 429.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.3455, allocations: 99.52 kB / 429.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3456, allocations: 8 kB / 429.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.3456, allocations: 4 kB / 429.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002672/0.3482, allocations: 1.229 MB / 430.6 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.3523, allocations: 1.888 MB / 432.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.3523, allocations: 0 / 432.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/0.353, allocations: 139.8 kB / 432.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005504/0.3535, allocations: 206.3 kB / 432.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.3536, allocations: 16 kB / 432.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006768/0.3603, allocations: 5.04 MB / 437.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3604, allocations: 4.031 kB / 437.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.3638, allocations: 1.384 MB / 439.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/0.3641, allocations: 159.3 kB / 439.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.3642, allocations: 23.98 kB / 439.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000668/0.3649, allocations: 51.95 kB / 439.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.3651, allocations: 64.53 kB / 439.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.3651, allocations: 16 kB / 439.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005675/0.3657, allocations: 463 kB / 440 MB, free: 6.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3657, allocations: 3.938 kB / 440 MB, free: 6.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008752/0.3666, allocations: 279.7 kB / 440.3 MB, free: 6.18 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.0001803/0.3667, allocations: 127.1 kB / 440.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.3691, allocations: 1.317 MB / 441.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.3691, allocations: 7.938 kB / 441.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.3705, allocations: 0.7379 MB / 442.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3715, allocations: 239 kB / 442.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.3745, allocations: 1.617 MB / 444.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.3752, allocations: 0.9401 MB / 445.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004107/0.3756, allocations: 110.4 kB / 445.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.3758, allocations: 67.38 kB / 445.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3758, allocations: 0 / 445.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of Templates: time 0.03199/0.4078, allocations: 19.19 MB / 464.6 MB, free: 13.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/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: 5.556970866397023]