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.0009615/0.0009615, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0009801/0.0009801, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9199/0.9199, allocations: 158.6 MB / 185 MB, free: 3.043 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.1401/0.1401, allocations: 32.36 MB / 269.6 MB, free: 14.97 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.984e-06/1.984e-06, allocations: 0 / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.264e-05, allocations: 2.281 kB / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.304/0.3041, allocations: 131 MB / 0.5252 GB, free: 23.56 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3052, allocations: 1.075 MB / 0.5263 GB, free: 22.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.3052, allocations: 1.562 kB / 0.5263 GB, free: 22.89 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.3056, allocations: 33.56 kB / 0.5263 GB, free: 22.88 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.3088, allocations: 0.9044 MB / 0.5272 GB, free: 22.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.783e-06/0.3088, allocations: 0 / 0.5272 GB, free: 22.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.3089, allocations: 52.91 kB / 0.5272 GB, free: 22.45 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.309, allocations: 2.938 kB / 0.5272 GB, free: 22.45 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/0.309, allocations: 20.5 kB / 0.5272 GB, free: 22.45 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.3091, allocations: 19.67 kB / 0.5273 GB, free: 22.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.3091, allocations: 7.984 kB / 0.5273 GB, free: 22.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.3116, allocations: 1.379 MB / 0.5286 GB, free: 22.08 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3117, allocations: 16.02 kB / 0.5286 GB, free: 22.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.3118, allocations: 8.312 kB / 0.5286 GB, free: 22.07 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.3134, allocations: 0.8566 MB / 0.5295 GB, free: 21.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3134, allocations: 4 kB / 0.5295 GB, free: 21.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3134, allocations: 0 / 0.5295 GB, free: 21.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3134, allocations: 0 / 0.5295 GB, free: 21.82 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.0006769/0.314, allocations: 393.3 kB / 0.5299 GB, free: 21.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3141, allocations: 13.94 kB / 0.5299 GB, free: 21.47 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.3141, allocations: 36.09 kB / 0.5299 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.3142, allocations: 4.344 kB / 0.5299 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.597e-05/0.3142, allocations: 108.8 kB / 0.53 GB, free: 21.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3142, allocations: 1.875 kB / 0.53 GB, free: 21.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.3142, allocations: 6.656 kB / 0.53 GB, free: 21.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.3144, allocations: 69.88 kB / 0.5301 GB, free: 21.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3144, allocations: 0 / 0.5301 GB, free: 21.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3144, allocations: 7.969 kB / 0.5301 GB, free: 21.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.3144, allocations: 7.109 kB / 0.5301 GB, free: 21.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.193e-05/0.3145, allocations: 55.42 kB / 0.5301 GB, free: 21.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.3149, allocations: 269.2 kB / 0.5304 GB, free: 20.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.831e-05/0.315, allocations: 31.53 kB / 0.5304 GB, free: 20.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.315, allocations: 13.95 kB / 0.5304 GB, free: 20.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.3151, allocations: 15.42 kB / 0.5305 GB, free: 20.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3151, allocations: 33 kB / 0.5305 GB, free: 20.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3151, allocations: 0 / 0.5305 GB, free: 20.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.000147/0.3153, allocations: 50.45 kB / 0.5305 GB, free: 20.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.3153, allocations: 57.05 kB / 0.5306 GB, free: 20.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/0.3153, allocations: 105.8 kB / 0.5307 GB, free: 20.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.3154, allocations: 26.61 kB / 0.5307 GB, free: 20.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.3154, allocations: 95.34 kB / 0.5308 GB, free: 20.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.3154, allocations: 15.16 kB / 0.5308 GB, free: 20.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.3154, allocations: 24.05 kB / 0.5309 GB, free: 20.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.004e-05/0.3155, allocations: 313.2 kB / 0.5312 GB, free: 20.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.3155, allocations: 10.2 kB / 0.5312 GB, free: 20.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.3155, allocations: 33.66 kB / 0.5312 GB, free: 20.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.661e-05/0.3156, allocations: 50.2 kB / 0.5312 GB, free: 20.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3156, allocations: 2.531 kB / 0.5312 GB, free: 20.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.639e-05/0.3157, allocations: 65.83 kB / 0.5313 GB, free: 20.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3157, allocations: 6.344 kB / 0.5313 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3157, allocations: 1.125 kB / 0.5313 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3157, allocations: 1.859 kB / 0.5313 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.3158, allocations: 14.56 kB / 0.5313 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3158, allocations: 5.031 kB / 0.5313 GB, free: 20.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.3158, allocations: 2.891 kB / 0.5313 GB, free: 20.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3158, allocations: 3.5 kB / 0.5313 GB, free: 20.06 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.337e-05/0.3159, allocations: 122.3 kB / 0.5315 GB, free: 19.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.3159, allocations: 5.266 kB / 0.5315 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.316, allocations: 56.3 kB / 0.5315 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.316, allocations: 4.859 kB / 0.5315 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.316, allocations: 4.969 kB / 0.5315 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.316, allocations: 0 / 0.5315 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.466e-05/0.3161, allocations: 131.9 kB / 0.5317 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3161, allocations: 0 / 0.5317 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.3161, allocations: 6.891 kB / 0.5317 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3161, allocations: 5.078 kB / 0.5317 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.3161, allocations: 5.109 kB / 0.5317 GB, free: 19.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3161, allocations: 0 / 0.5317 GB, free: 19.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3161, allocations: 8.812 kB / 0.5317 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.174e-05/0.3162, allocations: 137.1 kB / 0.5318 GB, free: 19.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-06/0.3162, allocations: 4.906 kB / 0.5318 GB, free: 19.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.3162, allocations: 0 / 0.5318 GB, free: 19.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.48e-05/0.3162, allocations: 6.906 kB / 0.5318 GB, free: 19.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.3162, allocations: 9.375 kB / 0.5318 GB, free: 19.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.3163, allocations: 1.625 kB / 0.5318 GB, free: 19.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.546e-05/0.3163, allocations: 84.42 kB / 0.5319 GB, free: 19.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3163, allocations: 1.375 kB / 0.5319 GB, free: 19.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.3166, allocations: 95.08 kB / 0.532 GB, free: 19.46 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.000663/0.3173, allocations: 0.8361 MB / 0.5328 GB, free: 18.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3174, allocations: 26.89 kB / 0.5328 GB, free: 18.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3174, allocations: 0 / 0.5328 GB, free: 18.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.959e-06/0.3174, allocations: 5.188 kB / 0.5328 GB, free: 18.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.3176, allocations: 10.22 kB / 0.5329 GB, free: 18.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.318, allocations: 201.2 kB / 0.533 GB, free: 18.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.3181, allocations: 66.83 kB / 0.5331 GB, free: 18.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.233e-05/0.3181, allocations: 18.45 kB / 0.5331 GB, free: 18.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.3181, allocations: 18.3 kB / 0.5331 GB, free: 18.47 MB / 442.7 MB Notification: Performance of SimCode: time 8.51e-07/0.3181, allocations: 0 / 0.5331 GB, free: 18.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.3359, allocations: 4.489 MB / 0.5375 GB, free: 17.31 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.406, allocations: 11.44 kB / 0.5375 GB, free: 17.3 MB / 442.7 MB " [Timeout remaining time 653] (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.61095944326371]