Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001222/0.001222, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 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.00127/0.00127, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 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 1.37/1.37, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] 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.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 47.91 kB / 365.6 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.09927, allocations: 52.14 MB / 417.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02865/0.1279, allocations: 27.16 MB / 444.9 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1907/0.3187, allocations: 4.167 MB / 449.1 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.3189, allocations: 5.844 kB / 449.1 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006552/0.3196, allocations: 208.8 kB / 449.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006351/0.3202, allocations: 344.4 kB / 449.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.324, allocations: 1.475 MB / 451.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009545/0.325, allocations: 0.8845 MB / 452 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.3252, allocations: 80.67 kB / 452.1 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006017/0.3312, allocations: 4.077 MB / 456.2 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.3315, allocations: 292.9 kB / 456.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.3316, allocations: 31.53 kB / 456.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.333, allocations: 0.7255 MB / 457.2 MB, free: 6.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3332, allocations: 107.1 kB / 457.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.3334, allocations: 195 kB / 457.5 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.3346, allocations: 0.848 MB / 458.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3346, allocations: 0.6562 kB / 458.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3346, allocations: 0 / 458.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.3346, allocations: 0 / 458.4 MB, free: 6.379 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.0008679/0.3354, allocations: 0.6563 MB / 459 MB, free: 5.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3355, allocations: 8.938 kB / 459 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.3355, allocations: 69.11 kB / 459.1 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/0.336, allocations: 59.12 kB / 459.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.3364, allocations: 288.6 kB / 459.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.3364, allocations: 27.09 kB / 459.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.3365, allocations: 26.28 kB / 459.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.3369, allocations: 341.2 kB / 459.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.337, allocations: 2.328 kB / 459.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.337, allocations: 16.19 kB / 459.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.337, allocations: 6.5 kB / 459.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.3373, allocations: 215.5 kB / 460 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.3495, allocations: 5.912 MB / 466 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.3498, allocations: 167.7 kB / 466.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3499, allocations: 84.44 kB / 466.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009979/0.3599, allocations: 3.89 MB / 470.1 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.3599, allocations: 36.94 kB / 470.1 MB, free: 444 kB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.994e-06/0.3599, allocations: 0 / 470.1 MB, free: 444 kB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006224/0.3662, allocations: 1.41 MB / 471.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3662, allocations: 58.53 kB / 471.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.3666, allocations: 260.3 kB / 471.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.3666, allocations: 34.67 kB / 471.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.3667, allocations: 188.1 kB / 472.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.3668, allocations: 99.8 kB / 472.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3669, allocations: 68.27 kB / 472.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3671, allocations: 336.3 kB / 472.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.3673, allocations: 96.8 kB / 472.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.3675, allocations: 188.5 kB / 472.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.3679, allocations: 303.8 kB / 473.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3679, allocations: 0.9688 kB / 473.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006979/0.3686, allocations: 391.1 kB / 473.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3686, allocations: 10.44 kB / 473.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3686, allocations: 10.75 kB / 473.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004118/0.3728, allocations: 0.929 MB / 474.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.3731, allocations: 79.28 kB / 474.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.3749, allocations: 1.97 MB / 476.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.3752, allocations: 11.06 kB / 476.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.3752, allocations: 16.64 kB / 476.5 MB, free: 12.69 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.3754, allocations: 166.7 kB / 476.7 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.3755, allocations: 35.59 kB / 476.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/0.3762, allocations: 490.7 kB / 477.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3762, allocations: 3.562 kB / 477.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3762, allocations: 1.188 kB / 477.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007859/0.377, allocations: 0.7198 MB / 477.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.3782, allocations: 0.9467 MB / 478.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3782, allocations: 1.312 kB / 478.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.3784, allocations: 40.64 kB / 478.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.3801, allocations: 326.6 kB / 479.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3802, allocations: 6.156 kB / 479.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005448/0.3807, allocations: 0.6426 MB / 479.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3807, allocations: 1.438 kB / 479.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008957/0.3816, allocations: 0.7332 MB / 480.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.3817, allocations: 105.7 kB / 480.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.3818, allocations: 5.25 kB / 480.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.3819, allocations: 6.906 kB / 480.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.382, allocations: 15.84 kB / 480.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.382, allocations: 9.094 kB / 480.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.3822, allocations: 188.1 kB / 481 MB, free: 10.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3822, allocations: 0 / 481 MB, free: 10.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008266/0.383, allocations: 195.2 kB / 481.2 MB, free: 10.32 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.002001/0.385, allocations: 1.42 MB / 482.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007943/0.3858, allocations: 446.7 kB / 483 MB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.3858, allocations: 0 / 483 MB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004875/0.3863, allocations: 231.8 kB / 483.2 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.3873, allocations: 168.7 kB / 483.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.3919, allocations: 3.331 MB / 486.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.3925, allocations: 0.774 MB / 487.5 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000215/0.3927, allocations: 51.27 kB / 487.6 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.3928, allocations: 107.5 kB / 487.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3928, allocations: 0 / 487.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04355/0.4364, allocations: 13.51 MB / 0.4894 GB, free: 10.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.48, allocations: 9.703 kB / 0.4894 GB, free: 10.55 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.918113690800965]