Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001671/0.001671, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001885/0.001885, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.545/1.545, allocations: 207.6 MB / 236 MB, free: 10.86 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [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.002112/0.002112, allocations: 60.34 kB / 348.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3112, allocations: 49.15 MB / 397.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004567/0.3157, allocations: 3.517 MB / 401.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3175, allocations: 1.002 MB / 402.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.3177, allocations: 9.562 kB / 402.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.3181, allocations: 108.6 kB / 402.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.3185, allocations: 186.9 kB / 402.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.3188, allocations: 133.7 kB / 402.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000754/0.3196, allocations: 0.6373 MB / 403.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.3198, allocations: 131.1 kB / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.3201, allocations: 252.3 kB / 403.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.3205, allocations: 277 kB / 403.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.3206, allocations: 52.47 kB / 403.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.3207, allocations: 54.03 kB / 403.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.3208, allocations: 116.5 kB / 404 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.3211, allocations: 287.8 kB / 404.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008157/0.3219, allocations: 0.6514 MB / 405 MB, free: 4.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3219, allocations: 0 / 405 MB, free: 4.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3219, allocations: 0 / 405 MB, free: 4.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.3219, allocations: 1.156 kB / 405 MB, free: 4.895 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001395/0.3233, allocations: 0.7858 MB / 405.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3234, allocations: 13.03 kB / 405.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.3235, allocations: 64.94 kB / 405.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.3241, allocations: 333.8 kB / 406.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.3242, allocations: 110.5 kB / 406.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.3243, allocations: 38.02 kB / 406.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.325, allocations: 463.4 kB / 406.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.325, allocations: 0 / 406.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.325, allocations: 17.44 kB / 406.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.325, allocations: 7.156 kB / 406.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.3256, allocations: 279.2 kB / 407.1 MB, free: 3.516 MB / 318.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.002023/0.3276, allocations: 1.254 MB / 408.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3287, allocations: 336 kB / 408.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.3289, allocations: 130.6 kB / 408.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.329, allocations: 5.406 kB / 408.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.329, allocations: 42.67 kB / 408.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.322e-06/0.329, allocations: 0 / 408.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001067/0.3301, allocations: 459.1 kB / 409.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.3302, allocations: 449.7 kB / 409.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.3307, allocations: 453.1 kB / 410.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.3307, allocations: 36.48 kB / 410.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.3309, allocations: 238 kB / 410.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.331, allocations: 121.7 kB / 410.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.3311, allocations: 72.75 kB / 410.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3312, allocations: 359.9 kB / 410.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.3314, allocations: 103.9 kB / 411 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.3318, allocations: 252.5 kB / 411.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/0.3323, allocations: 284.8 kB / 411.6 MB, free: 436 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3323, allocations: 0 / 411.6 MB, free: 436 kB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006805/0.3329, allocations: 413.9 kB / 412 MB, free: 220 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.333, allocations: 35.83 kB / 412 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.333, allocations: 0.7969 kB / 412 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.3331, allocations: 50.97 kB / 412.1 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.3335, allocations: 72.84 kB / 412.1 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.3363, allocations: 2.76 MB / 414.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.3368, allocations: 50.92 kB / 414.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.3368, allocations: 7.781 kB / 415 MB, free: 13.42 MB / 334.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 (36): * Single equations (assignments): 33 * 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.000258/0.3371, allocations: 167.7 kB / 415.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.3372, allocations: 49.91 kB / 415.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.3373, allocations: 52.58 kB / 415.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3373, allocations: 2.906 kB / 415.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3373, allocations: 9.312 kB / 415.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008066/0.3381, allocations: 0.6509 MB / 415.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.3396, allocations: 0.8652 MB / 416.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3396, allocations: 3.938 kB / 416.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.34, allocations: 67.72 kB / 416.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.34, allocations: 6.75 kB / 416.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.34, allocations: 9.297 kB / 416.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.34, allocations: 1.312 kB / 416.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.34, allocations: 0 / 416.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.341, allocations: 0.5132 MB / 417.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.3413, allocations: 93.52 kB / 417.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/0.3414, allocations: 11.59 kB / 417.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.3417, allocations: 20.92 kB / 417.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.3417, allocations: 23.11 kB / 417.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3417, allocations: 5.375 kB / 417.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004221/0.3421, allocations: 320.7 kB / 417.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3421, allocations: 0 / 417.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000502/0.3426, allocations: 132 kB / 417.9 MB, free: 11.21 MB / 334.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 (32): * Single equations (assignments): 32 * 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.0001498/0.3428, allocations: 103.4 kB / 418 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3438, allocations: 0.5533 MB / 418.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3438, allocations: 0 / 418.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.3441, allocations: 124.5 kB / 418.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.3447, allocations: 132.2 kB / 418.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3465, allocations: 0.9357 MB / 419.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.347, allocations: 0.8188 MB / 420.6 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3472, allocations: 40.06 kB / 420.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3472, allocations: 0 / 420.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of Templates: time 0.01353/0.3607, allocations: 8.316 MB / 429 MB, free: 3.023 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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: 8.190231578890234]