Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.004937/0.004937, allocations: 112 kB / 21.97 MB, free: 5.25 MB / 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.001387/0.001387, allocations: 202.5 kB / 25.27 MB, free: 3.238 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.275/1.275, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="cs",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.00165/0.00165, allocations: 63.92 kB / 348 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2161, allocations: 49.16 MB / 397.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0362/0.2523, allocations: 37.9 MB / 435.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005891/0.2582, allocations: 4.615 MB / 439.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.2586, allocations: 17.59 kB / 439.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008206/0.2594, allocations: 298.4 kB / 440 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000957/0.2603, allocations: 490.8 kB / 440.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.2651, allocations: 1.644 MB / 442.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.2667, allocations: 1.292 MB / 443.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.2669, allocations: 131 kB / 443.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006737/0.2676, allocations: 486.4 kB / 444 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.2682, allocations: 438.3 kB / 444.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.2682, allocations: 48 kB / 444.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.2698, allocations: 0.7571 MB / 445.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.27, allocations: 143.5 kB / 445.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.2703, allocations: 278.9 kB / 445.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2716, allocations: 1.048 MB / 446.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2716, allocations: 4 kB / 446.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2716, allocations: 0 / 446.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.2716, allocations: 0 / 446.7 MB, free: 1.645 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001169/0.2728, allocations: 0.7191 MB / 447.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2728, allocations: 11.98 kB / 447.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.235e-05/0.2729, allocations: 9.188 kB / 447.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.77e-05/0.2729, allocations: 86.7 kB / 447.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005328/0.2735, allocations: 80.62 kB / 447.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.274, allocations: 277.8 kB / 447.9 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.274, allocations: 29.38 kB / 447.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.2741, allocations: 48.08 kB / 447.9 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.2748, allocations: 471.5 kB / 448.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2748, allocations: 4 kB / 448.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.2748, allocations: 16 kB / 448.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.2749, allocations: 12 kB / 448.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.2753, allocations: 307.7 kB / 448.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.2884, allocations: 5.476 MB / 454.2 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.2889, allocations: 262.5 kB / 454.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.2891, allocations: 141.4 kB / 454.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009913/0.299, allocations: 2.684 MB / 457.3 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.299, allocations: 34.56 kB / 457.3 MB, free: 6.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.843e-06/0.299, allocations: 0 / 457.3 MB, free: 6.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01152/0.3105, allocations: 2.307 MB / 459.6 MB, free: 4.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.3106, allocations: 59.41 kB / 459.7 MB, free: 4.172 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.3109, allocations: 300.5 kB / 460 MB, free: 3.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.311, allocations: 37.7 kB / 460 MB, free: 3.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.3111, allocations: 228.5 kB / 460.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3113, allocations: 166.6 kB / 460.4 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.3114, allocations: 98.3 kB / 460.5 MB, free: 3.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3116, allocations: 346.8 kB / 460.8 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.3118, allocations: 157.2 kB / 461 MB, free: 2.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.3122, allocations: 276.6 kB / 461.3 MB, free: 2.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.3129, allocations: 472.3 kB / 461.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3129, allocations: 0 / 461.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001084/0.314, allocations: 0.596 MB / 462.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.314, allocations: 8.062 kB / 462.3 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.314, allocations: 8 kB / 462.3 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007951/0.3219, allocations: 1.843 MB / 464.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.3224, allocations: 115.8 kB / 464.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.3246, allocations: 2.458 MB / 466.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.3248, allocations: 12 kB / 466.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.3249, allocations: 24 kB / 466.8 MB, free: 12.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.3251, allocations: 177.6 kB / 467 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.3252, allocations: 39.77 kB / 467 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.3265, allocations: 0.8765 MB / 467.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3265, allocations: 4 kB / 467.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.3265, allocations: 4 kB / 467.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.3276, allocations: 0.9786 MB / 468.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.3297, allocations: 1.479 MB / 470.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3297, allocations: 0 / 470.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.33, allocations: 79.92 kB / 470.4 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003307/0.3333, allocations: 0.6295 MB / 471 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.3333, allocations: 11.98 kB / 471.1 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.3344, allocations: 1.296 MB / 472.4 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3344, allocations: 3.938 kB / 472.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.3361, allocations: 1.251 MB / 473.6 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.3362, allocations: 43.66 kB / 473.7 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.3362, allocations: 15.88 kB / 473.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3365, allocations: 12 kB / 473.7 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.3365, allocations: 31.98 kB / 473.7 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.3366, allocations: 19.98 kB / 473.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.3368, allocations: 215.1 kB / 473.9 MB, free: 5.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3368, allocations: 0 / 473.9 MB, free: 5.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007144/0.3375, allocations: 235.7 kB / 474.2 MB, free: 5.121 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002397/0.3399, allocations: 1.965 MB / 476.1 MB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.3411, allocations: 0.6801 MB / 476.8 MB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3411, allocations: 4 kB / 476.8 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009143/0.3421, allocations: 428.1 kB / 477.2 MB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.3433, allocations: 236.6 kB / 477.5 MB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.3495, allocations: 4.499 MB / 482 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.3499, allocations: 0.8323 MB / 482.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.3502, allocations: 76.33 kB / 482.9 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.3504, allocations: 159.4 kB / 483 MB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3504, allocations: 0 / 483 MB, free: 11.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/0.3956, allocations: 18.06 MB / 0.4893 GB, free: 9.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.2, allocations: 4.062 kB / 0.4893 GB, free: 9.84 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 19.27633673301898]