Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001305/0.001305, allocations: 73.95 kB / 21.24 MB, free: 0.5547 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.001432/0.001432, allocations: 159.2 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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+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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 59.98 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09296, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004639/0.0976, allocations: 3.211 MB / 382.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.0992, allocations: 0.9346 MB / 383 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.09936, allocations: 7.938 kB / 383.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.09968, allocations: 107.1 kB / 383.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.1001, allocations: 186.4 kB / 383.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1003, allocations: 131.8 kB / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007185/0.101, allocations: 0.6264 MB / 384.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.1013, allocations: 127.5 kB / 384.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.1015, allocations: 259 kB / 384.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.1019, allocations: 226.9 kB / 384.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.414e-05/0.102, allocations: 52 kB / 384.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1021, allocations: 56 kB / 384.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1022, allocations: 119.5 kB / 384.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.1024, allocations: 247 kB / 385.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007165/0.1032, allocations: 0.6536 MB / 385.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1032, allocations: 4 kB / 385.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1032, allocations: 0 / 385.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1032, allocations: 0 / 385.8 MB, free: 8.691 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001412/0.1046, allocations: 0.775 MB / 386.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1046, allocations: 16.02 kB / 386.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1047, allocations: 64.56 kB / 386.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.1053, allocations: 337.2 kB / 387 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.1055, allocations: 102.3 kB / 387.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.1055, allocations: 36.38 kB / 387.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009701/0.1065, allocations: 0.8345 MB / 388 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1065, allocations: 3.938 kB / 388 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.1066, allocations: 16 kB / 388 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1066, allocations: 12 kB / 388 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.1072, allocations: 274.5 kB / 388.3 MB, free: 6.008 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.001946/0.1091, allocations: 0.9481 MB / 389.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.1103, allocations: 343.3 kB / 389.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.1106, allocations: 128.8 kB / 389.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1106, allocations: 4 kB / 389.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.1107, allocations: 42.5 kB / 389.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.1107, allocations: 0 / 389.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001143/0.1118, allocations: 452.3 kB / 390.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002445/0.1121, allocations: 449 kB / 390.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.1125, allocations: 397.6 kB / 391 MB, free: 3.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.1126, allocations: 33.7 kB / 391 MB, free: 3.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1128, allocations: 244.5 kB / 391.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.1129, allocations: 118.9 kB / 391.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.113, allocations: 78.02 kB / 391.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1132, allocations: 354.7 kB / 391.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.1134, allocations: 138.3 kB / 391.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/0.1141, allocations: 0.6517 MB / 392.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/0.1146, allocations: 277.2 kB / 392.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1146, allocations: 0 / 392.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007761/0.1154, allocations: 438.4 kB / 393.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.1154, allocations: 37.64 kB / 393.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1154, allocations: 4.031 kB / 393.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/0.1156, allocations: 53.62 kB / 393.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.1159, allocations: 67.89 kB / 393.4 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.1185, allocations: 2.704 MB / 396.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.1189, allocations: 39.88 kB / 396.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.1189, allocations: 11.98 kB / 396.2 MB, free: 13.45 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 (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.0002111/0.1191, allocations: 181.6 kB / 396.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/0.1192, allocations: 43.72 kB / 396.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.816e-05/0.1193, allocations: 44.38 kB / 396.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1193, allocations: 4 kB / 396.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1193, allocations: 4 kB / 396.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007552/0.1201, allocations: 0.6611 MB / 397.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.1213, allocations: 0.7474 MB / 397.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1213, allocations: 0 / 397.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.1217, allocations: 63.95 kB / 397.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1217, allocations: 0 / 397.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1217, allocations: 8 kB / 398 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1217, allocations: 7.938 kB / 398 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1217, allocations: 3.938 kB / 398 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.1226, allocations: 0.5176 MB / 398.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.1228, allocations: 75.64 kB / 398.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.1229, allocations: 12 kB / 398.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.1232, allocations: 15.98 kB / 398.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.1232, allocations: 27.89 kB / 398.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1233, allocations: 4 kB / 398.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003294/0.1236, allocations: 287.2 kB / 398.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1236, allocations: 4 kB / 398.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004374/0.124, allocations: 135.8 kB / 399 MB, free: 10.45 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 (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.0001219/0.1241, allocations: 107.4 kB / 399.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009476/0.1251, allocations: 0.5724 MB / 399.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1251, allocations: 0 / 399.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.1254, allocations: 127.9 kB / 399.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.1259, allocations: 117.4 kB / 399.9 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.1275, allocations: 0.8835 MB / 400.8 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.1277, allocations: 212.4 kB / 401 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.1279, allocations: 55.38 kB / 401.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.128, allocations: 40.5 kB / 401.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.128, allocations: 0 / 401.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of Templates: time 0.01541/0.1434, allocations: 8.42 MB / 409.6 MB, free: 32 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.539932574029081]