Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001444/0.001444, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001583/0.001583, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 47.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09434, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2133/0.3077, allocations: 27.22 MB / 454.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003946/0.3116, allocations: 4.195 MB / 458.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.3119, allocations: 5.719 kB / 458.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006128/0.3125, allocations: 210 kB / 458.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007129/0.3132, allocations: 344.3 kB / 459 MB, free: 7.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.317, allocations: 1.469 MB / 460.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.3183, allocations: 0.8902 MB / 461.3 MB, free: 7.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.3184, allocations: 75.56 kB / 461.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00629/0.3247, allocations: 4.081 MB / 465.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.3251, allocations: 293 kB / 465.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.3252, allocations: 35.78 kB / 465.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.3267, allocations: 0.7358 MB / 466.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3268, allocations: 87.44 kB / 466.6 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.327, allocations: 197.1 kB / 466.8 MB, free: 6.602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.3282, allocations: 0.8485 MB / 467.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3282, allocations: 0 / 467.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3282, allocations: 0 / 467.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3282, allocations: 1.281 kB / 467.7 MB, free: 6.434 MB / 366.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.0008386/0.329, allocations: 0.6644 MB / 468.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3291, allocations: 10.45 kB / 468.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.338e-05/0.3291, allocations: 7.844 kB / 468.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.3291, allocations: 62.42 kB / 468.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/0.3296, allocations: 55.44 kB / 468.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.3299, allocations: 293.6 kB / 468.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.33, allocations: 25.38 kB / 468.8 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.33, allocations: 29.83 kB / 468.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.3304, allocations: 339 kB / 469.2 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3305, allocations: 5.094 kB / 469.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.3305, allocations: 11.44 kB / 469.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3305, allocations: 8.062 kB / 469.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.3308, allocations: 213.2 kB / 469.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.3419, allocations: 5.917 MB / 475.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.3422, allocations: 170.5 kB / 475.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.3423, allocations: 84.03 kB / 475.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009746/0.3521, allocations: 3.878 MB / 479.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.3521, allocations: 40.81 kB / 479.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.434e-06/0.3521, allocations: 3.609 kB / 479.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006336/0.3585, allocations: 1.416 MB / 480.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3585, allocations: 53.88 kB / 480.9 MB, free: 14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3588, allocations: 258.3 kB / 481.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.3589, allocations: 31.98 kB / 481.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.359, allocations: 187.3 kB / 481.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.3591, allocations: 100.7 kB / 481.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3592, allocations: 68.06 kB / 481.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3593, allocations: 340.4 kB / 481.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.3595, allocations: 87.56 kB / 482 MB, free: 13.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.3597, allocations: 188.8 kB / 482.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.3601, allocations: 311.2 kB / 482.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3601, allocations: 1.094 kB / 482.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006896/0.3608, allocations: 397.8 kB / 482.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3608, allocations: 6.25 kB / 482.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.3608, allocations: 3.875 kB / 482.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004073/0.3649, allocations: 0.931 MB / 483.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.3652, allocations: 68.94 kB / 483.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.3669, allocations: 1.975 MB / 485.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.3671, allocations: 7.812 kB / 485.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.3671, allocations: 16.28 kB / 485.9 MB, free: 10.04 MB / 382.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.0002078/0.3673, allocations: 166.1 kB / 486 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.3674, allocations: 29.89 kB / 486.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/0.3681, allocations: 491.2 kB / 486.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.3681, allocations: 3.312 kB / 486.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3682, allocations: 1.031 kB / 486.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007057/0.3689, allocations: 0.719 MB / 487.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.3702, allocations: 0.9416 MB / 488.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3702, allocations: 1.344 kB / 488.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.3703, allocations: 46.3 kB / 488.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.372, allocations: 325.5 kB / 488.6 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.372, allocations: 7.812 kB / 488.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005202/0.3726, allocations: 0.642 MB / 489.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3726, allocations: 2.531 kB / 489.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009216/0.3735, allocations: 0.7131 MB / 489.9 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3736, allocations: 109.5 kB / 490 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.3736, allocations: 6.406 kB / 490.1 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.3738, allocations: 6.125 kB / 490.1 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.3739, allocations: 20.47 kB / 490.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.3739, allocations: 14.91 kB / 490.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.3741, allocations: 188.3 kB / 490.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3741, allocations: 0 / 490.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007905/0.3748, allocations: 188.9 kB / 490.5 MB, free: 6.684 MB / 382.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.00182/0.3767, allocations: 1.431 MB / 491.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008157/0.3775, allocations: 445.8 kB / 492.3 MB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3775, allocations: 0 / 492.3 MB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.378, allocations: 220.6 kB / 492.5 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009642/0.379, allocations: 170.3 kB / 492.7 MB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.3832, allocations: 3.334 MB / 496 MB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.3836, allocations: 0.7788 MB / 496.8 MB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.3838, allocations: 55.83 kB / 496.9 MB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.3839, allocations: 101.7 kB / 497 MB, free: 1.816 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3839, allocations: 0 / 497 MB, free: 1.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03932/0.4233, allocations: 13.54 MB / 0.4985 GB, free: 5.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.43, allocations: 3.984 kB / 0.4986 GB, free: 5.543 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.283111564000137]