Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001237/0.001237, allocations: 76.08 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001237/0.001237, allocations: 157.1 kB / 23.94 MB, free: 0.6133 MB / 18.57 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 0.8897/0.8897, allocations: 173.4 MB / 200.5 MB, free: 9.445 MB / 186.7 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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.057e-05, allocations: 2.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.01974/0.01976, allocations: 23.8 MB / 342.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.02152, allocations: 2.002 MB / 344.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.02158, allocations: 4 kB / 344.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.02192, allocations: 51.67 kB / 344.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.02222, allocations: 155 kB / 344.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.03327, allocations: 6.556 MB / 351 MB, free: 5.695 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.03362, allocations: 318.7 kB / 351.3 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.03367, allocations: 9.312 kB / 351.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.03388, allocations: 175.5 kB / 351.5 MB, free: 5.203 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.03404, allocations: 111.7 kB / 351.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.03406, allocations: 8 kB / 351.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/0.04495, allocations: 8.99 MB / 360.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.04507, allocations: 71.78 kB / 360.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.04519, allocations: 67.89 kB / 360.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009704/0.0549, allocations: 5.87 MB / 366.6 MB, free: 6.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.0549, allocations: 0 / 366.6 MB, free: 6.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.0549, allocations: 0 / 366.6 MB, free: 6.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.05491, allocations: 0 / 366.6 MB, free: 6.062 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002489/0.0574, allocations: 1.067 MB / 367.7 MB, free: 4.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.05744, allocations: 12.92 kB / 367.7 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.05749, allocations: 54.72 kB / 367.7 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.05761, allocations: 24.41 kB / 367.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.05782, allocations: 165 kB / 367.9 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.05784, allocations: 8.328 kB / 367.9 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.05787, allocations: 16 kB / 367.9 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.05845, allocations: 392.2 kB / 368.3 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.05846, allocations: 0 / 368.3 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.05848, allocations: 11.94 kB / 368.3 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.05851, allocations: 7.984 kB / 368.3 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.05897, allocations: 307.7 kB / 368.6 MB, free: 3.91 MB / 330.7 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.001048/0.06002, allocations: 0.6903 MB / 369.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.06047, allocations: 237.3 kB / 369.6 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.06064, allocations: 121.9 kB / 369.7 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005573/0.06622, allocations: 2.721 MB / 372.4 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.06625, allocations: 42.55 kB / 372.4 MB, free: 20 kB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/0.06625, allocations: 0 / 372.4 MB, free: 20 kB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001673/0.06792, allocations: 0.6868 MB / 373.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.06797, allocations: 93.03 kB / 373.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.06806, allocations: 125.8 kB / 373.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.06808, allocations: 29.7 kB / 373.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.06814, allocations: 108.9 kB / 373.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.06821, allocations: 134.8 kB / 373.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.0683, allocations: 73.67 kB / 373.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.06838, allocations: 322.8 kB / 374 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.06859, allocations: 139.9 kB / 374.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.06887, allocations: 215.6 kB / 374.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.06939, allocations: 358 kB / 374.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.06939, allocations: 4 kB / 374.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006515/0.07004, allocations: 420.2 kB / 375.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.07006, allocations: 4 kB / 375.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.07007, allocations: 7.984 kB / 375.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.07008, allocations: 12.2 kB / 375.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.07033, allocations: 87.81 kB / 375.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.07034, allocations: 4 kB / 375.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.07048, allocations: 35.86 kB / 375.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.07051, allocations: 19.98 kB / 375.3 MB, free: 13.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0001103/0.07062, allocations: 137.7 kB / 375.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/0.0707, allocations: 27.89 kB / 375.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.07101, allocations: 186.4 kB / 375.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.07101, allocations: 4 kB / 375.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.07102, allocations: 0 / 375.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.07103, allocations: 3.938 kB / 375.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.07202, allocations: 0.6966 MB / 376.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.07202, allocations: 8.031 kB / 376.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.07222, allocations: 75.88 kB / 376.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.07223, allocations: 4 kB / 376.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.07225, allocations: 15.98 kB / 376.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.07225, allocations: 4 kB / 376.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.07225, allocations: 3.938 kB / 376.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.07314, allocations: 0.696 MB / 377.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.07322, allocations: 55.78 kB / 377.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.07325, allocations: 8 kB / 377.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.07341, allocations: 20.05 kB / 377.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.07345, allocations: 31.89 kB / 377.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.07347, allocations: 23.92 kB / 377.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.372e-05/0.07351, allocations: 95.27 kB / 377.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07351, allocations: 0 / 377.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001994/0.07551, allocations: 0.9433 MB / 378.3 MB, free: 9.926 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (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 Backend phase and start with SimCode phase: time 0.004637/0.08015, allocations: 2.541 MB / 380.8 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006706/0.08082, allocations: 331.4 kB / 381.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.08082, allocations: 0 / 381.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.08107, allocations: 175.6 kB / 381.3 MB, free: 6.855 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.08156, allocations: 100.1 kB / 381.4 MB, free: 6.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.08555, allocations: 3.087 MB / 384.5 MB, free: 3.504 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.482e-05/0.08565, allocations: 128.8 kB / 384.7 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.0859, allocations: 86.03 kB / 384.7 MB, free: 3.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.08604, allocations: 72.45 kB / 384.8 MB, free: 3.207 MB / 346.7 MB Notification: Performance of SimCode: time 9.41e-07/0.08604, allocations: 0 / 384.8 MB, free: 3.207 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04816/0.1342, allocations: 33.76 MB / 418.6 MB, free: 1.613 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.581, allocations: 3.938 kB / 418.6 MB, free: 1.609 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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: 9.764180263504386]