Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.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.0006997/0.0006997, allocations: 79.53 kB / 20.02 MB, free: 4.508 MB / 18.57 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.0008279/0.0008279, allocations: 173.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8202/0.8202, allocations: 158.6 MB / 185.1 MB, free: 3.004 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1235/0.1235, allocations: 32.37 MB / 269.7 MB, free: 14.92 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 407 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.731e-05, allocations: 5.938 kB / 407 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2888/0.2888, allocations: 131 MB / 0.5254 GB, free: 23.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.2899, allocations: 1.068 MB / 0.5265 GB, free: 23.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.29, allocations: 0 / 0.5265 GB, free: 23.02 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.2903, allocations: 37.41 kB / 0.5265 GB, free: 23.01 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.2923, allocations: 0.9017 MB / 0.5274 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.558e-06/0.2923, allocations: 0 / 0.5274 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2925, allocations: 49.73 kB / 0.5274 GB, free: 22.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.2925, allocations: 9.188 kB / 0.5274 GB, free: 22.58 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.2925, allocations: 23.47 kB / 0.5275 GB, free: 22.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/0.2926, allocations: 23.75 kB / 0.5275 GB, free: 22.57 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2926, allocations: 5.219 kB / 0.5275 GB, free: 22.56 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.2946, allocations: 1.376 MB / 0.5288 GB, free: 22.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.2946, allocations: 10.3 kB / 0.5288 GB, free: 22.21 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.2946, allocations: 15.66 kB / 0.5289 GB, free: 22.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.296, allocations: 0.8558 MB / 0.5297 GB, free: 21.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.296, allocations: 0 / 0.5297 GB, free: 21.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.296, allocations: 0 / 0.5297 GB, free: 21.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.296, allocations: 4 kB / 0.5297 GB, free: 21.95 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009218/0.2969, allocations: 385.7 kB / 0.5301 GB, free: 21.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.297, allocations: 14.16 kB / 0.5301 GB, free: 21.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.297, allocations: 36.52 kB / 0.5301 GB, free: 21.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.297, allocations: 4.906 kB / 0.5301 GB, free: 21.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.434e-05/0.2971, allocations: 104.6 kB / 0.5302 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2971, allocations: 1.719 kB / 0.5302 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.2971, allocations: 10.47 kB / 0.5302 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.2973, allocations: 73.7 kB / 0.5303 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2973, allocations: 0 / 0.5303 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.2973, allocations: 4.766 kB / 0.5303 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.2973, allocations: 11.05 kB / 0.5303 GB, free: 21.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.2974, allocations: 54.17 kB / 0.5304 GB, free: 21.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.2977, allocations: 263.9 kB / 0.5306 GB, free: 21.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.824e-05/0.2978, allocations: 32.16 kB / 0.5307 GB, free: 21.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.2979, allocations: 10.38 kB / 0.5307 GB, free: 21.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.298, allocations: 16.23 kB / 0.5307 GB, free: 21.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.298, allocations: 32.06 kB / 0.5307 GB, free: 21.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.298, allocations: 0 / 0.5307 GB, free: 21.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001352/0.2981, allocations: 50.53 kB / 0.5308 GB, free: 20.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.2981, allocations: 63.61 kB / 0.5308 GB, free: 20.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.856e-05/0.2982, allocations: 103.3 kB / 0.5309 GB, free: 20.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.2982, allocations: 25.7 kB / 0.5309 GB, free: 20.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.2982, allocations: 94.05 kB / 0.531 GB, free: 20.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.2982, allocations: 17.41 kB / 0.531 GB, free: 20.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.2983, allocations: 23.91 kB / 0.5311 GB, free: 20.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.34e-05/0.2983, allocations: 313 kB / 0.5314 GB, free: 20.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.2983, allocations: 5.906 kB / 0.5314 GB, free: 20.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.2983, allocations: 34.58 kB / 0.5314 GB, free: 20.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.2984, allocations: 53.38 kB / 0.5315 GB, free: 20.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2984, allocations: 1.438 kB / 0.5315 GB, free: 20.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.735e-05/0.2984, allocations: 66.73 kB / 0.5315 GB, free: 20.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2985, allocations: 10.19 kB / 0.5315 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2985, allocations: 1.375 kB / 0.5315 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2985, allocations: 1.344 kB / 0.5315 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.2985, allocations: 10.83 kB / 0.5315 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2985, allocations: 5.188 kB / 0.5315 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.2986, allocations: 2.625 kB / 0.5316 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2986, allocations: 10.41 kB / 0.5316 GB, free: 20.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 4.139e-05/0.2986, allocations: 115.5 kB / 0.5317 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.2986, allocations: 7.297 kB / 0.5317 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.259e-05/0.2987, allocations: 61.59 kB / 0.5317 GB, free: 20.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.2987, allocations: 0 / 0.5317 GB, free: 20.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2987, allocations: 8.688 kB / 0.5317 GB, free: 20.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2987, allocations: 0 / 0.5317 GB, free: 20.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.216e-05/0.2988, allocations: 133.2 kB / 0.5319 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2988, allocations: 0 / 0.5319 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.2988, allocations: 6.234 kB / 0.5319 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2988, allocations: 1.469 kB / 0.5319 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.2988, allocations: 0 / 0.5319 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.2988, allocations: 1.344 kB / 0.5319 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2989, allocations: 7.922 kB / 0.5319 GB, free: 19.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.692e-05/0.2989, allocations: 138.8 kB / 0.532 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.2989, allocations: 5.281 kB / 0.532 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2989, allocations: 1.375 kB / 0.532 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.47e-05/0.299, allocations: 4 kB / 0.532 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.299, allocations: 11.36 kB / 0.532 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.299, allocations: 2.5 kB / 0.532 GB, free: 19.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.678e-05/0.299, allocations: 80.56 kB / 0.5321 GB, free: 19.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.299, allocations: 0 / 0.5321 GB, free: 19.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.2994, allocations: 99.78 kB / 0.5322 GB, free: 19.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0006872/0.3001, allocations: 0.8308 MB / 0.533 GB, free: 18.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.3002, allocations: 25.16 kB / 0.5331 GB, free: 18.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3002, allocations: 1.062 kB / 0.5331 GB, free: 18.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.3002, allocations: 12.44 kB / 0.5331 GB, free: 18.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.3004, allocations: 6.062 kB / 0.5331 GB, free: 18.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.3008, allocations: 198.5 kB / 0.5333 GB, free: 18.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.3008, allocations: 64.84 kB / 0.5333 GB, free: 18.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.794e-05/0.3009, allocations: 14.36 kB / 0.5333 GB, free: 18.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.3009, allocations: 17.72 kB / 0.5334 GB, free: 18.61 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3009, allocations: 0 / 0.5334 GB, free: 18.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.3177, allocations: 4.483 MB / 0.5377 GB, free: 17.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.442, allocations: 7.938 kB / 0.5377 GB, free: 17.44 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable u in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.436738391406834]