Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001365/0.001365, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001434/0.001434, allocations: 160.2 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 58.33 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.09061, allocations: 53.4 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004645/0.09525, allocations: 3.211 MB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.09687, allocations: 0.9268 MB / 383 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.09703, allocations: 7.938 kB / 383.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.09734, allocations: 111.1 kB / 383.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.09771, allocations: 186.4 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.09798, allocations: 127.8 kB / 383.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007382/0.09872, allocations: 0.6303 MB / 384.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.09896, allocations: 135.5 kB / 384.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.09922, allocations: 247.1 kB / 384.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.09957, allocations: 230.9 kB / 384.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.95e-05/0.09965, allocations: 52 kB / 384.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.09976, allocations: 56 kB / 384.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.09988, allocations: 123.5 kB / 384.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.1001, allocations: 243 kB / 385.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007029/0.1008, allocations: 0.6459 MB / 385.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1008, allocations: 3.938 kB / 385.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1009, allocations: 0 / 385.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1009, allocations: 4 kB / 385.8 MB, free: 8.527 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.001392/0.1023, allocations: 0.7828 MB / 386.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1023, allocations: 15.92 kB / 386.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.1024, allocations: 64.56 kB / 386.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.103, allocations: 337.2 kB / 387 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.1031, allocations: 110.3 kB / 387.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.1032, allocations: 40.36 kB / 387.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009388/0.1041, allocations: 0.8306 MB / 388 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1041, allocations: 0 / 388 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.1042, allocations: 16 kB / 388 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1042, allocations: 8 kB / 388 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/0.1048, allocations: 278.5 kB / 388.3 MB, free: 5.832 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.001941/0.1067, allocations: 0.9442 MB / 389.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.1079, allocations: 350.3 kB / 389.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.1082, allocations: 128.2 kB / 389.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1082, allocations: 4 kB / 389.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1082, allocations: 38.56 kB / 389.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.1082, allocations: 0 / 389.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001153/0.1094, allocations: 455.7 kB / 390.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/0.1096, allocations: 445 kB / 390.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.1101, allocations: 401.6 kB / 391 MB, free: 2.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.1101, allocations: 33.7 kB / 391 MB, free: 2.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1103, allocations: 244.4 kB / 391.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1104, allocations: 119 kB / 391.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.1106, allocations: 78.02 kB / 391.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1107, allocations: 350.7 kB / 391.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.111, allocations: 130.3 kB / 391.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.1116, allocations: 0.6634 MB / 392.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.1121, allocations: 273.3 kB / 392.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1121, allocations: 0 / 392.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007854/0.1129, allocations: 438.3 kB / 393.3 MB, free: 428 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.113, allocations: 33.7 kB / 393.3 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.113, allocations: 3.938 kB / 393.3 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.1131, allocations: 57.62 kB / 393.4 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.1135, allocations: 67.98 kB / 393.5 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.1161, allocations: 2.708 MB / 396.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.1165, allocations: 36.03 kB / 396.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.1165, allocations: 15.98 kB / 396.2 MB, free: 13.27 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.0002136/0.1167, allocations: 173.7 kB / 396.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.1168, allocations: 43.72 kB / 396.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.238e-05/0.1169, allocations: 48.38 kB / 396.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1169, allocations: 4 kB / 396.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1169, allocations: 0 / 396.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007732/0.1177, allocations: 0.6572 MB / 397.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.119, allocations: 0.7435 MB / 397.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.119, allocations: 0 / 397.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.1193, allocations: 71.89 kB / 397.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1193, allocations: 0 / 397.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1194, allocations: 8 kB / 398 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1194, allocations: 0 / 398 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1194, allocations: 3.938 kB / 398 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/0.1203, allocations: 0.5212 MB / 398.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.1204, allocations: 79.73 kB / 398.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.1205, allocations: 11.94 kB / 398.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.1208, allocations: 19.98 kB / 398.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.1209, allocations: 27.89 kB / 398.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.1209, allocations: 8 kB / 398.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003309/0.1212, allocations: 283.2 kB / 398.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1212, allocations: 0 / 398.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004481/0.1217, allocations: 135.8 kB / 399 MB, free: 10.28 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.0001263/0.1218, allocations: 111.2 kB / 399.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009641/0.1228, allocations: 0.5725 MB / 399.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1228, allocations: 0 / 399.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.123, allocations: 119.8 kB / 399.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.1236, allocations: 129.4 kB / 400 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.1252, allocations: 0.8796 MB / 400.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1254, allocations: 216.4 kB / 401 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.1256, allocations: 55.36 kB / 401.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1257, allocations: 44.5 kB / 401.1 MB, free: 8.066 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1257, allocations: 0 / 401.1 MB, free: 8.066 MB / 366.1 MB Notification: Performance of Templates: time 0.0156/0.1413, allocations: 8.406 MB / 409.6 MB, free: 15.84 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.635602775029838]