Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.002161/0.002161, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002317/0.002317, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.399/1.399, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 51.91 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2353, allocations: 53.36 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00412/0.2394, allocations: 2.698 MB / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.2417, allocations: 1.313 MB / 435.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.2419, allocations: 7.938 kB / 435.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.2424, allocations: 175.1 kB / 435.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.2429, allocations: 258.6 kB / 435.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.2433, allocations: 143.6 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005761/0.2439, allocations: 457.9 kB / 436.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.244, allocations: 66.02 kB / 436.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.2442, allocations: 191.3 kB / 436.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.2445, allocations: 219.1 kB / 436.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.2446, allocations: 36 kB / 436.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.2447, allocations: 67.98 kB / 436.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.2449, allocations: 95.61 kB / 436.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.245, allocations: 159.2 kB / 436.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.2456, allocations: 493.9 kB / 437.4 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2456, allocations: 0 / 437.4 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2456, allocations: 0 / 437.4 MB, free: 260 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2456, allocations: 0 / 437.4 MB, free: 260 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001067/0.2467, allocations: 0.6535 MB / 438 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2467, allocations: 8.031 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.949e-05/0.2468, allocations: 59.16 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.2469, allocations: 52.61 kB / 438.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.2474, allocations: 289.1 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.2474, allocations: 13.56 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.2475, allocations: 20 kB / 438.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.2481, allocations: 0.5995 MB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2481, allocations: 7.938 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/0.2482, allocations: 15.98 kB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2482, allocations: 8 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.2486, allocations: 157.6 kB / 439.3 MB, free: 14.21 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.001342/0.2499, allocations: 0.6955 MB / 440 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.2503, allocations: 171.1 kB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.2504, allocations: 68.83 kB / 440.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.2505, allocations: 12 kB / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.2508, allocations: 184.3 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.763e-06/0.2508, allocations: 4 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008799/0.2516, allocations: 333.7 kB / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/0.2518, allocations: 312.4 kB / 441 MB, free: 12.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.2523, allocations: 453.5 kB / 441.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.2524, allocations: 33.7 kB / 441.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.2525, allocations: 204.5 kB / 441.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.377e-05/0.2526, allocations: 87.28 kB / 441.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2527, allocations: 61.69 kB / 441.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2529, allocations: 346.8 kB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.253, allocations: 63.97 kB / 442.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.2534, allocations: 441.6 kB / 442.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.2537, allocations: 171.4 kB / 442.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2537, allocations: 7.938 kB / 442.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005485/0.2543, allocations: 270.1 kB / 443.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2543, allocations: 11.98 kB / 443.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.2543, allocations: 0 / 443.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.2545, allocations: 32.84 kB / 443.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.2547, allocations: 47.92 kB / 443.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.2563, allocations: 1.467 MB / 444.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.2565, allocations: 23.92 kB / 444.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.2566, allocations: 8 kB / 444.7 MB, free: 8.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 26 * 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.2568, allocations: 169.7 kB / 444.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.2569, allocations: 47.72 kB / 444.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.2574, allocations: 270 kB / 445.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2575, allocations: 4 kB / 445.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.2575, allocations: 0 / 445.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005824/0.258, allocations: 0.5944 MB / 445.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.2591, allocations: 0.659 MB / 446.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2591, allocations: 0 / 446.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.2593, allocations: 39.98 kB / 446.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2593, allocations: 3.984 kB / 446.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.2593, allocations: 8 kB / 446.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2593, allocations: 0 / 446.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2593, allocations: 0 / 446.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.26, allocations: 427 kB / 446.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.2601, allocations: 63.78 kB / 447 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.2602, allocations: 12 kB / 447 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.2604, allocations: 11.98 kB / 447 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.2604, allocations: 19.97 kB / 447 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.2604, allocations: 4 kB / 447 MB, free: 5.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003731/0.2608, allocations: 323.1 kB / 447.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2608, allocations: 0 / 447.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004262/0.2612, allocations: 95.88 kB / 447.4 MB, free: 5.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * 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 (24): * Single equations (assignments): 22 * 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.002488/0.2637, allocations: 1.303 MB / 448.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006965/0.2644, allocations: 310.5 kB / 449 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2644, allocations: 0 / 449 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.2646, allocations: 79.91 kB / 449.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.2652, allocations: 104.3 kB / 449.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.2699, allocations: 3.414 MB / 452.6 MB, free: 268 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.2701, allocations: 199.5 kB / 452.8 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.2703, allocations: 50.98 kB / 452.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.2705, allocations: 123.3 kB / 453 MB, free: 15.87 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2705, allocations: 0 / 453 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.3152, allocations: 11.66 MB / 464.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.38, allocations: 13.95 kB / 464.7 MB, free: 4.398 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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: 14.846957042987924]