Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.004737/0.004737, allocations: 99.28 kB / 21.96 MB, free: 5.207 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.001329/0.001329, allocations: 217.5 kB / 25.26 MB, free: 3.137 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.31/1.31, allocations: 207.7 MB / 236.1 MB, free: 9.805 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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",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.001679/0.001679, allocations: 55.92 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2282, allocations: 49.16 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02381/0.252, allocations: 24.46 MB / 421.6 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00497/0.257, allocations: 3.77 MB / 425.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.2572, allocations: 7.188 kB / 425.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006534/0.2578, allocations: 193.9 kB / 425.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006351/0.2585, allocations: 342.6 kB / 425.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.2625, allocations: 1.456 MB / 427.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009955/0.2635, allocations: 0.9085 MB / 428.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2637, allocations: 79 kB / 428.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005843/0.2695, allocations: 4.132 MB / 432.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.2699, allocations: 298.8 kB / 432.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.27, allocations: 28 kB / 432.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.2712, allocations: 0.7337 MB / 433.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.2713, allocations: 103.7 kB / 433.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.2715, allocations: 167.4 kB / 433.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.2726, allocations: 0.8492 MB / 434.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2726, allocations: 0 / 434.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2726, allocations: 0 / 434.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.2726, allocations: 0 / 434.6 MB, free: 13.55 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000869/0.2734, allocations: 0.5867 MB / 435.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2735, allocations: 15.92 kB / 435.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.906e-05/0.2735, allocations: 8.844 kB / 435.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/0.2736, allocations: 62.73 kB / 435.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.274, allocations: 56.72 kB / 435.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.2744, allocations: 230 kB / 435.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.2744, allocations: 21.03 kB / 435.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.2745, allocations: 28.12 kB / 435.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.2751, allocations: 0.49 MB / 436.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.2751, allocations: 0 / 436.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.2751, allocations: 16 kB / 436.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.2751, allocations: 8 kB / 436.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.2754, allocations: 205.8 kB / 436.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.2873, allocations: 4.129 MB / 440.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.2876, allocations: 182.5 kB / 440.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.2877, allocations: 76.84 kB / 440.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009825/0.2975, allocations: 2.691 MB / 443.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.2976, allocations: 42.56 kB / 443.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.2976, allocations: 0 / 443.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006092/0.3037, allocations: 1.256 MB / 444.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3037, allocations: 59.41 kB / 444.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.304, allocations: 257.9 kB / 445 MB, free: 2.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.304, allocations: 29.7 kB / 445.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3042, allocations: 200.3 kB / 445.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.3042, allocations: 91.22 kB / 445.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.3043, allocations: 69.66 kB / 445.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3045, allocations: 338.8 kB / 445.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3046, allocations: 95.75 kB / 445.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3048, allocations: 190.8 kB / 446 MB, free: 1.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.3053, allocations: 299 kB / 446.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3053, allocations: 3.938 kB / 446.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006889/0.3059, allocations: 398.9 kB / 446.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.306, allocations: 8 kB / 446.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.306, allocations: 0 / 446.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004132/0.3101, allocations: 0.9381 MB / 447.7 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3104, allocations: 63.91 kB / 447.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.3121, allocations: 1.874 MB / 449.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.3123, allocations: 12.05 kB / 449.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.3123, allocations: 19.98 kB / 449.6 MB, free: 13.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * 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: 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.3125, allocations: 157.9 kB / 449.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.3126, allocations: 35.81 kB / 449.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/0.3133, allocations: 0.4909 MB / 450.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.3133, allocations: 7.984 kB / 450.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.3133, allocations: 0 / 450.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006897/0.314, allocations: 0.7209 MB / 451 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.3153, allocations: 0.898 MB / 451.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3153, allocations: 0 / 451.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.3155, allocations: 43.86 kB / 452 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/0.3172, allocations: 324.4 kB / 452.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.3172, allocations: 8 kB / 452.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005234/0.3178, allocations: 0.6537 MB / 453 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3178, allocations: 4.031 kB / 453 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009708/0.3187, allocations: 0.7254 MB / 453.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.3188, allocations: 27.95 kB / 453.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.3188, allocations: 8 kB / 453.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.319, allocations: 8 kB / 453.7 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.319, allocations: 23.91 kB / 453.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.3191, allocations: 11.98 kB / 453.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.3193, allocations: 181.2 kB / 453.9 MB, free: 9.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3193, allocations: 0 / 453.9 MB, free: 9.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000641/0.3199, allocations: 191.7 kB / 454.1 MB, free: 9.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001717/0.3216, allocations: 1.438 MB / 455.6 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007954/0.3224, allocations: 442.5 kB / 456 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3224, allocations: 4.688 kB / 456 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.3229, allocations: 231.8 kB / 456.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009052/0.3238, allocations: 172.1 kB / 456.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.328, allocations: 3.339 MB / 459.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.3282, allocations: 176.1 kB / 459.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.3284, allocations: 42.97 kB / 460 MB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3285, allocations: 103.4 kB / 460.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3285, allocations: 0 / 460.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.3682, allocations: 14.19 MB / 474.2 MB, free: 4.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.08, allocations: 3.984 kB / 474.2 MB, free: 4.836 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 17.71675071294885]