Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.0013/0.0013, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001456/0.001456, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.368/1.368, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 55.92 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2598, allocations: 49.16 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03146/0.2913, allocations: 23.99 MB / 420.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.2945, allocations: 1.994 MB / 422.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2946, allocations: 5.438 kB / 422.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.295, allocations: 63.09 kB / 422.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.2955, allocations: 148.7 kB / 422.5 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01975/0.3153, allocations: 6.169 MB / 428.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.3158, allocations: 312.4 kB / 429 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.681e-05/0.3159, allocations: 6.656 kB / 429 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.3162, allocations: 136.8 kB / 429.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.3165, allocations: 123.5 kB / 429.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.3165, allocations: 16 kB / 429.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01837/0.3349, allocations: 8.843 MB / 438.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.335, allocations: 67.84 kB / 438.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.3352, allocations: 83.72 kB / 438.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.3477, allocations: 4.634 MB / 442.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3478, allocations: 0 / 442.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3478, allocations: 0 / 442.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3478, allocations: 0 / 442.9 MB, free: 4.477 MB / 350.1 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.003372/0.3511, allocations: 1.059 MB / 444 MB, free: 3.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.3512, allocations: 15.98 kB / 444 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.1e-05/0.3513, allocations: 54.67 kB / 444 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.3514, allocations: 24.41 kB / 444.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3518, allocations: 157 kB / 444.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.3518, allocations: 12.33 kB / 444.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.3518, allocations: 23.98 kB / 444.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000847/0.3527, allocations: 388.3 kB / 444.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3527, allocations: 3.938 kB / 444.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3527, allocations: 8 kB / 444.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.3527, allocations: 4 kB / 444.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008693/0.3536, allocations: 323.6 kB / 445 MB, free: 2.316 MB / 350.1 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.001657/0.3553, allocations: 0.6781 MB / 445.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000786/0.3561, allocations: 246.5 kB / 445.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.3564, allocations: 129.6 kB / 446 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01201/0.3684, allocations: 2.69 MB / 448.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/0.3684, allocations: 42.5 kB / 448.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 3.406e-06/0.3685, allocations: 0 / 448.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.003312/0.3718, allocations: 0.6966 MB / 449.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.3718, allocations: 81.11 kB / 449.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.372, allocations: 129.7 kB / 449.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.372, allocations: 33.7 kB / 449.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.3721, allocations: 116.8 kB / 449.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.3723, allocations: 134.8 kB / 449.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.3724, allocations: 73.64 kB / 450 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3726, allocations: 330.8 kB / 450.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.373, allocations: 135.9 kB / 450.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.3735, allocations: 199.6 kB / 450.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3745, allocations: 360 kB / 451 MB, free: 12.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3745, allocations: 4 kB / 451 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001225/0.3757, allocations: 429.5 kB / 451.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3757, allocations: 12 kB / 451.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3758, allocations: 0 / 451.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3758, allocations: 4 kB / 451.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.3763, allocations: 95.81 kB / 451.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.3763, allocations: 7.938 kB / 451.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.3766, allocations: 19.97 kB / 451.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.3766, allocations: 20 kB / 451.6 MB, free: 11.49 MB / 366.1 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.000179/0.3768, allocations: 145.8 kB / 451.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.3769, allocations: 15.91 kB / 451.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.3774, allocations: 190.5 kB / 451.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.3775, allocations: 11.88 kB / 451.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3775, allocations: 8 kB / 451.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3775, allocations: 0 / 451.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.3793, allocations: 0.7043 MB / 452.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3793, allocations: 0 / 452.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.3797, allocations: 79.89 kB / 452.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.3797, allocations: 0 / 452.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.3798, allocations: 19.92 kB / 452.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3798, allocations: 0 / 452.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.3798, allocations: 7.938 kB / 452.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.3814, allocations: 0.711 MB / 453.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3815, allocations: 43.86 kB / 453.5 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.3816, allocations: 12 kB / 453.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.3819, allocations: 23.97 kB / 453.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.382, allocations: 31.83 kB / 453.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.382, allocations: 16 kB / 453.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.035e-05/0.3821, allocations: 95.27 kB / 453.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3821, allocations: 0 / 453.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0028/0.3849, allocations: 0.9394 MB / 454.6 MB, free: 8.34 MB / 366.1 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.006537/0.3914, allocations: 2.42 MB / 457 MB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.3925, allocations: 331.5 kB / 457.4 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3925, allocations: 0 / 457.4 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.393, allocations: 164.5 kB / 457.5 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.3937, allocations: 103.8 kB / 457.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/0.4003, allocations: 3.147 MB / 460.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.4004, allocations: 124.7 kB / 460.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003827/0.4008, allocations: 89.97 kB / 461 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.401, allocations: 71.39 kB / 461.1 MB, free: 1.668 MB / 366.1 MB Notification: Performance of SimCode: time 1.273e-06/0.401, allocations: 0 / 461.1 MB, free: 1.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07962/0.4807, allocations: 34.91 MB / 496 MB, free: 14.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.59, allocations: 19.66 kB / 496 MB, free: 14.62 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.741325390059501]