Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 184.4 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 47.94 kB / 371.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.224, allocations: 52.19 MB / 423.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006187/0.2302, allocations: 4.198 MB / 427.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.2323, allocations: 1.615 MB / 429.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.2324, allocations: 0 / 429.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.2326, allocations: 43.69 kB / 429.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.233, allocations: 123.3 kB / 429.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.2337, allocations: 253.3 kB / 429.6 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.2341, allocations: 302.9 kB / 429.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.2341, allocations: 9.312 kB / 429.9 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.2344, allocations: 139.5 kB / 430 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.2346, allocations: 79.69 kB / 430.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.2346, allocations: 8 kB / 430.1 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.2349, allocations: 91.88 kB / 430.2 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.256e-05/0.2349, allocations: 43.88 kB / 430.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.886e-05/0.235, allocations: 63.73 kB / 430.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.2354, allocations: 217.4 kB / 430.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2354, allocations: 4 kB / 430.5 MB, free: 7.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2354, allocations: 3.938 kB / 430.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2354, allocations: 0 / 430.5 MB, free: 7.211 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009437/0.2364, allocations: 414 kB / 430.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2364, allocations: 11.97 kB / 430.9 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.328e-05/0.2364, allocations: 8.453 kB / 430.9 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.2365, allocations: 46.75 kB / 431 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.2367, allocations: 28.83 kB / 431 MB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.2369, allocations: 146.3 kB / 431.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.237, allocations: 12.66 kB / 431.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.237, allocations: 20.08 kB / 431.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.2375, allocations: 371.6 kB / 431.5 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2375, allocations: 4 kB / 431.5 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.2376, allocations: 8 kB / 431.6 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2376, allocations: 4 kB / 431.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.2379, allocations: 147.8 kB / 431.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.2393, allocations: 0.879 MB / 432.6 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.2397, allocations: 138.8 kB / 432.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.2398, allocations: 60.2 kB / 432.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.2403, allocations: 324.2 kB / 433.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.2404, allocations: 38.56 kB / 433.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.2404, allocations: 0 / 433.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002629/0.243, allocations: 0.692 MB / 433.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2431, allocations: 59.34 kB / 433.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2432, allocations: 156.2 kB / 434 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.2433, allocations: 33.7 kB / 434.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.2434, allocations: 152 kB / 434.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.2434, allocations: 71.38 kB / 434.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2435, allocations: 53.7 kB / 434.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2437, allocations: 330.8 kB / 434.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.2439, allocations: 75.95 kB / 434.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.2443, allocations: 198 kB / 434.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.2449, allocations: 304.5 kB / 435.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2449, allocations: 0 / 435.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007345/0.2456, allocations: 317.5 kB / 435.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2456, allocations: 14.47 kB / 435.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2456, allocations: 8 kB / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2457, allocations: 4 kB / 435.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.246, allocations: 87.88 kB / 435.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.2461, allocations: 7.938 kB / 435.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.2463, allocations: 15.98 kB / 435.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.2463, allocations: 12 kB / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 prepare postOptimizeDAE: time 0.0001564/0.2465, allocations: 137.7 kB / 435.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.2465, allocations: 19.94 kB / 435.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.2472, allocations: 241.1 kB / 436.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2472, allocations: 4 kB / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2472, allocations: 0 / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.2472, allocations: 7.969 kB / 436.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.2486, allocations: 0.5477 MB / 436.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2486, allocations: 4 kB / 436.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.2489, allocations: 56.03 kB / 436.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2489, allocations: 0 / 436.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.2489, allocations: 11.92 kB / 436.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.249, allocations: 4 kB / 436.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.249, allocations: 0 / 436.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008764/0.2498, allocations: 411 kB / 437.1 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.2499, allocations: 23.86 kB / 437.1 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.2499, allocations: 4 kB / 437.1 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.2501, allocations: 19.92 kB / 437.1 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.2502, allocations: 7.984 kB / 437.2 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.2502, allocations: 11.98 kB / 437.2 MB, free: 36 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.2503, allocations: 118.6 kB / 437.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2503, allocations: 3.938 kB / 437.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.2507, allocations: 56 kB / 437.3 MB, free: 15.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.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 (20): * Single equations (assignments): 20 * 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.001256/0.2519, allocations: 0.9722 MB / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.2525, allocations: 212.5 kB / 438.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2525, allocations: 4 kB / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.2527, allocations: 83.88 kB / 438.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.2531, allocations: 47.89 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.2569, allocations: 2.368 MB / 441 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.257, allocations: 107.3 kB / 441.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002448/0.2572, allocations: 45.88 kB / 441.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.2574, allocations: 55.41 kB / 441.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2574, allocations: 0 / 441.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.286, allocations: 4.966 MB / 446.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.03, allocations: 7.156 kB / 446.2 MB, free: 6.93 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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: 13.38291200704407]