Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.001551/0.001551, allocations: 114 kB / 20.43 MB, free: 1.457 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.001543/0.001543, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.42/1.42, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 59.89 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2481, allocations: 53.41 MB / 431.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004782/0.2529, allocations: 3.056 MB / 434.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.2555, allocations: 1.449 MB / 435.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.2557, allocations: 7.938 kB / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.2562, allocations: 135.2 kB / 435.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006383/0.2569, allocations: 222.7 kB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.2572, allocations: 143.5 kB / 436.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006146/0.2579, allocations: 438.2 kB / 436.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.258, allocations: 76.22 kB / 436.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.2584, allocations: 195.2 kB / 436.9 MB, free: 1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.2587, allocations: 191.2 kB / 437 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.2587, allocations: 28 kB / 437.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.2589, allocations: 59.97 kB / 437.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.259, allocations: 83.64 kB / 437.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.2592, allocations: 191 kB / 437.4 MB, free: 468 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.2598, allocations: 458.4 kB / 437.9 MB, free: 12 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2598, allocations: 0 / 437.9 MB, free: 12 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2598, allocations: 0 / 437.9 MB, free: 12 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.2598, allocations: 4 kB / 437.9 MB, free: 8 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001122/0.2609, allocations: 0.6149 MB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2609, allocations: 12.03 kB / 438.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.2611, allocations: 71.33 kB / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.776e-05/0.2612, allocations: 48.66 kB / 438.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.2617, allocations: 274.9 kB / 438.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2617, allocations: 21.03 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.2617, allocations: 28.38 kB / 438.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.2623, allocations: 312.6 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2623, allocations: 4 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.2623, allocations: 12 kB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.2623, allocations: 8 kB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.2627, allocations: 182.5 kB / 439.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.2641, allocations: 0.8219 MB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.2646, allocations: 253.8 kB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.2648, allocations: 89.39 kB / 440.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.2648, allocations: 4.281 kB / 440.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.2652, allocations: 170.3 kB / 440.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.2652, allocations: 0 / 440.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002272/0.2674, allocations: 1.088 MB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.2676, allocations: 199.9 kB / 442 MB, free: 11.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.268, allocations: 332.5 kB / 442.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.268, allocations: 33.7 kB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.2682, allocations: 192.7 kB / 442.6 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.2683, allocations: 154.7 kB / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2684, allocations: 70.14 kB / 442.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.2686, allocations: 350.7 kB / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.2688, allocations: 92.83 kB / 443.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.269, allocations: 177.3 kB / 443.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.2695, allocations: 254.1 kB / 443.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2695, allocations: 3.938 kB / 443.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006157/0.2701, allocations: 354.5 kB / 444 MB, free: 9.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2701, allocations: 4 kB / 444 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2701, allocations: 3.938 kB / 444 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.621e-05/0.2702, allocations: 28.92 kB / 444 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.2705, allocations: 91.89 kB / 444.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.2718, allocations: 1.291 MB / 445.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.272, allocations: 12 kB / 445.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2721, allocations: 12 kB / 445.4 MB, free: 7.949 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.2723, allocations: 164.5 kB / 445.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.2723, allocations: 39.77 kB / 445.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/0.273, allocations: 342.2 kB / 446 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.273, allocations: 4 kB / 446 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.273, allocations: 0 / 446 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007019/0.2737, allocations: 0.6615 MB / 446.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.275, allocations: 0.8258 MB / 447.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.275, allocations: 4 kB / 447.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.2753, allocations: 75.91 kB / 447.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.2753, allocations: 0 / 447.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.2753, allocations: 11.98 kB / 447.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2753, allocations: 4 kB / 447.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2753, allocations: 0 / 447.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.2761, allocations: 0.5469 MB / 448.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2763, allocations: 55.8 kB / 448.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.2763, allocations: 15.98 kB / 448.2 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.2765, allocations: 12 kB / 448.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.2766, allocations: 31.89 kB / 448.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.2766, allocations: 15.98 kB / 448.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.2769, allocations: 239.1 kB / 448.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2769, allocations: 0 / 448.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004192/0.2773, allocations: 107.9 kB / 448.6 MB, free: 4.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002552/0.2799, allocations: 1.402 MB / 450 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000685/0.2806, allocations: 350.9 kB / 450.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2806, allocations: 4.25 kB / 450.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.2808, allocations: 131.6 kB / 450.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.2814, allocations: 96.53 kB / 450.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/0.2867, allocations: 3.654 MB / 454.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.2872, allocations: 0.808 MB / 455 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.2874, allocations: 47.25 kB / 455.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.2875, allocations: 131.3 kB / 455.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2875, allocations: 0 / 455.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04286/0.3304, allocations: 9.72 MB / 464.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.79, allocations: 9.875 kB / 464.9 MB, free: 4.289 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.24219695222564]