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.0008074/0.0008074, allocations: 80.48 kB / 19.92 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.0008445/0.0008445, allocations: 169.9 kB / 23.21 MB, free: 1.348 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.7963/0.7963, allocations: 158.6 MB / 185 MB, free: 3.035 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.1199/0.1199, allocations: 32.37 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.322e-06/1.322e-06, allocations: 0 / 406.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.895e-05, allocations: 17.88 kB / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2537/0.2538, allocations: 131 MB / 0.5252 GB, free: 23.75 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2548, allocations: 1.071 MB / 0.5263 GB, free: 23.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.2548, allocations: 1.094 kB / 0.5263 GB, free: 23.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.2551, allocations: 33.12 kB / 0.5263 GB, free: 23.06 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.2568, allocations: 0.9095 MB / 0.5272 GB, free: 22.65 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.519e-06/0.2568, allocations: 0 / 0.5272 GB, free: 22.65 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2569, allocations: 44.88 kB / 0.5272 GB, free: 22.63 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.2569, allocations: 5.922 kB / 0.5272 GB, free: 22.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.257, allocations: 21.27 kB / 0.5272 GB, free: 22.62 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.581e-05/0.257, allocations: 25.75 kB / 0.5273 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.966e-06/0.257, allocations: 1.031 kB / 0.5273 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.2588, allocations: 1.382 MB / 0.5286 GB, free: 22.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.2589, allocations: 15.2 kB / 0.5286 GB, free: 22.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.2589, allocations: 13 kB / 0.5286 GB, free: 22.25 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.26, allocations: 0.8478 MB / 0.5295 GB, free: 22 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.26, allocations: 1.375 kB / 0.5295 GB, free: 22 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.26, allocations: 4 kB / 0.5295 GB, free: 22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.26, allocations: 0 / 0.5295 GB, free: 22 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.0005722/0.2605, allocations: 391.8 kB / 0.5298 GB, free: 21.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2606, allocations: 9.594 kB / 0.5299 GB, free: 21.65 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.124e-05/0.2606, allocations: 40.11 kB / 0.5299 GB, free: 21.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.2606, allocations: 4.297 kB / 0.5299 GB, free: 21.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.662e-05/0.2607, allocations: 107.8 kB / 0.53 GB, free: 21.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2607, allocations: 1.719 kB / 0.53 GB, free: 21.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.2607, allocations: 13.56 kB / 0.53 GB, free: 21.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.2608, allocations: 63.72 kB / 0.5301 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2608, allocations: 1.25 kB / 0.5301 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2608, allocations: 7.984 kB / 0.5301 GB, free: 21.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.2608, allocations: 11.28 kB / 0.5301 GB, free: 21.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.312e-05/0.2609, allocations: 55.22 kB / 0.5302 GB, free: 21.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.2612, allocations: 263.9 kB / 0.5304 GB, free: 21.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.881e-05/0.2612, allocations: 32.73 kB / 0.5304 GB, free: 21.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.2613, allocations: 8.234 kB / 0.5304 GB, free: 21.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.696e-05/0.2613, allocations: 24.16 kB / 0.5305 GB, free: 21.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.2613, allocations: 31.12 kB / 0.5305 GB, free: 21.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.2613, allocations: 1.312 kB / 0.5305 GB, free: 21.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001216/0.2615, allocations: 52.59 kB / 0.5305 GB, free: 21.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.2615, allocations: 55.34 kB / 0.5306 GB, free: 20.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.821e-05/0.2615, allocations: 105.3 kB / 0.5307 GB, free: 20.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-06/0.2615, allocations: 29.64 kB / 0.5307 GB, free: 20.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.054e-05/0.2615, allocations: 95.95 kB / 0.5308 GB, free: 20.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.2616, allocations: 11.62 kB / 0.5308 GB, free: 20.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.2616, allocations: 23.11 kB / 0.5309 GB, free: 20.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.646e-05/0.2616, allocations: 313.5 kB / 0.5312 GB, free: 20.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.2616, allocations: 10.03 kB / 0.5312 GB, free: 20.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.2616, allocations: 34.52 kB / 0.5312 GB, free: 20.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.2617, allocations: 56.83 kB / 0.5312 GB, free: 20.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2617, allocations: 1.281 kB / 0.5312 GB, free: 20.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.082e-05/0.2617, allocations: 65.75 kB / 0.5313 GB, free: 20.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2618, allocations: 5.812 kB / 0.5313 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2618, allocations: 0 / 0.5313 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2618, allocations: 1.5 kB / 0.5313 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.2618, allocations: 12.84 kB / 0.5313 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2618, allocations: 5.5 kB / 0.5313 GB, free: 20.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.2619, allocations: 5.094 kB / 0.5313 GB, free: 20.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.2619, allocations: 6.781 kB / 0.5313 GB, free: 20.24 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 3.632e-05/0.2619, allocations: 118 kB / 0.5315 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.2619, allocations: 8.406 kB / 0.5315 GB, free: 20.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.692e-05/0.262, allocations: 56.33 kB / 0.5315 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.262, allocations: 4.391 kB / 0.5315 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.262, allocations: 3.938 kB / 0.5315 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.262, allocations: 4 kB / 0.5315 GB, free: 20.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.439e-05/0.2621, allocations: 126.9 kB / 0.5317 GB, free: 19.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2621, allocations: 1.125 kB / 0.5317 GB, free: 19.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.2621, allocations: 7.891 kB / 0.5317 GB, free: 19.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.2621, allocations: 0 / 0.5317 GB, free: 19.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.2621, allocations: 5.391 kB / 0.5317 GB, free: 19.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2621, allocations: 0 / 0.5317 GB, free: 19.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2621, allocations: 7.875 kB / 0.5317 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.452e-05/0.2622, allocations: 136.7 kB / 0.5318 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.2622, allocations: 3.922 kB / 0.5318 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.2622, allocations: 5.312 kB / 0.5318 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.39e-05/0.2622, allocations: 4 kB / 0.5318 GB, free: 19.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.2622, allocations: 5.406 kB / 0.5318 GB, free: 19.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.2622, allocations: 4.25 kB / 0.5318 GB, free: 19.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.197e-05/0.2622, allocations: 84.69 kB / 0.5319 GB, free: 19.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2622, allocations: 0 / 0.5319 GB, free: 19.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.2625, allocations: 99.3 kB / 0.532 GB, free: 19.64 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.0004963/0.263, allocations: 0.833 MB / 0.5328 GB, free: 18.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.047e-05/0.2631, allocations: 24.78 kB / 0.5328 GB, free: 18.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2631, allocations: 4.188 kB / 0.5328 GB, free: 18.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.2631, allocations: 7.109 kB / 0.5329 GB, free: 18.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.2633, allocations: 14.19 kB / 0.5329 GB, free: 18.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.2637, allocations: 188.9 kB / 0.533 GB, free: 18.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.492e-05/0.2637, allocations: 70.8 kB / 0.5331 GB, free: 18.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.38e-05/0.2637, allocations: 19.11 kB / 0.5331 GB, free: 18.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.2638, allocations: 19.84 kB / 0.5331 GB, free: 18.65 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2638, allocations: 0 / 0.5331 GB, free: 18.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.2783, allocations: 4.491 MB / 0.5375 GB, free: 17.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/7.04, allocations: 11.59 kB / 0.5375 GB, free: 17.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.838732186704874]