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.001457/0.001457, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 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.001363/0.001363, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.333/1.333, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 63.88 kB / 378.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2347, allocations: 53.41 MB / 432 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004581/0.2393, allocations: 3.534 MB / 435.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.2409, allocations: 0.9927 MB / 436.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.2411, allocations: 11.94 kB / 436.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.2413, allocations: 111 kB / 436.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.2417, allocations: 186.4 kB / 436.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.2419, allocations: 127.8 kB / 436.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006611/0.2426, allocations: 0.634 MB / 437.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.2428, allocations: 135.5 kB / 437.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.2431, allocations: 251.1 kB / 437.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.2434, allocations: 262.9 kB / 438.2 MB, free: 472 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.033e-05/0.2435, allocations: 60 kB / 438.2 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.178e-05/0.2435, allocations: 52 kB / 438.3 MB, free: 360 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2436, allocations: 123.6 kB / 438.4 MB, free: 236 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.2439, allocations: 294.6 kB / 438.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006429/0.2446, allocations: 0.6468 MB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2446, allocations: 0 / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2446, allocations: 0 / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.2446, allocations: 0 / 439.4 MB, free: 15.3 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.001305/0.2459, allocations: 0.7789 MB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2459, allocations: 12.03 kB / 440.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.128e-05/0.246, allocations: 17.12 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.2461, allocations: 75.67 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.2462, allocations: 76.56 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.2467, allocations: 337.5 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.2469, allocations: 114.7 kB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.2469, allocations: 32.12 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.2476, allocations: 478.1 kB / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2477, allocations: 7.953 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.2477, allocations: 23.94 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2477, allocations: 8 kB / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005716/0.2483, allocations: 287.8 kB / 441.6 MB, free: 12.93 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.002055/0.2503, allocations: 1.293 MB / 442.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.2513, allocations: 335.7 kB / 443.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.2516, allocations: 141 kB / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.2516, allocations: 11.98 kB / 443.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.2517, allocations: 42.56 kB / 443.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.603e-06/0.2517, allocations: 0 / 443.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003978/0.2557, allocations: 1.654 MB / 445 MB, free: 9.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002436/0.2581, allocations: 2.365 MB / 447.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.2586, allocations: 450 kB / 447.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.2587, allocations: 37.7 kB / 447.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.2589, allocations: 233 kB / 448.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.259, allocations: 190.3 kB / 448.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.2592, allocations: 106.2 kB / 448.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2594, allocations: 362.7 kB / 448.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.2598, allocations: 196.9 kB / 448.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.2603, allocations: 348 kB / 449.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/0.2611, allocations: 449 kB / 449.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2611, allocations: 0 / 449.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001278/0.2623, allocations: 0.6818 MB / 450.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.2624, allocations: 36.36 kB / 450.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2624, allocations: 0 / 450.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002958/0.2627, allocations: 135.3 kB / 450.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.2631, allocations: 95.88 kB / 450.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005061/0.2682, allocations: 5.576 MB / 456.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.2687, allocations: 28.02 kB / 456.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.2687, allocations: 20.45 kB / 456.3 MB, free: 13.24 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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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): 2 systems {(3,1,88.9%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.269, allocations: 185.7 kB / 456.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.2691, allocations: 55.67 kB / 456.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.2692, allocations: 69.34 kB / 456.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2692, allocations: 4 kB / 456.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.2692, allocations: 7.938 kB / 456.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001443/0.2707, allocations: 0.9546 MB / 457.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.2731, allocations: 1.428 MB / 459 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2732, allocations: 0 / 459 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.2735, allocations: 83.89 kB / 459.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/0.2739, allocations: 170.4 kB / 459.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.274, allocations: 19.92 kB / 459.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00463/0.2786, allocations: 4.707 MB / 464 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001506/0.2801, allocations: 1.646 MB / 465.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.2819, allocations: 0.951 MB / 466.6 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.2821, allocations: 103.6 kB / 466.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.2822, allocations: 19.92 kB / 466.7 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.2826, allocations: 23.98 kB / 466.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-05/0.2827, allocations: 44.41 kB / 466.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.2828, allocations: 19.94 kB / 466.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003886/0.2831, allocations: 323.1 kB / 467.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2831, allocations: 0 / 467.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006308/0.2838, allocations: 192 kB / 467.3 MB, free: 1.574 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 ($STATESET1.x,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 (43): * Single equations (assignments): 40 * 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): 3 systems {(3,1,88.9%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002113/0.2859, allocations: 1.522 MB / 468.8 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.2875, allocations: 0.9721 MB / 469.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2875, allocations: 0 / 469.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009294/0.2884, allocations: 0.6194 MB / 470.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/0.289, allocations: 146 kB / 470.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007492/0.2965, allocations: 5.291 MB / 475.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.297, allocations: 0.8526 MB / 476.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002549/0.2973, allocations: 68.75 kB / 476.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.2975, allocations: 183.4 kB / 476.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2975, allocations: 0 / 476.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05384/0.3514, allocations: 16.68 MB / 493.6 MB, free: 7.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.39, allocations: 7.844 kB / 493.6 MB, free: 7.199 MB / 398.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] 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: 15.7274868490058]