Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.0008654/0.0008654, allocations: 79.7 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008419/0.0008419, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.9165/0.9165, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.747e-05, allocations: 2.281 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3423/0.3423, allocations: 153.8 MB / 0.582 GB, free: 6.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005329/0.3477, allocations: 4.918 MB / 0.5868 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.348, allocations: 27.75 kB / 0.5869 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.3487, allocations: 309.9 kB / 0.5872 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.3514, allocations: 1.314 MB / 0.5884 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.3531, allocations: 1.015 MB / 0.5894 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.3549, allocations: 1.883 MB / 0.5913 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.3553, allocations: 400.4 kB / 0.5917 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.3568, allocations: 1.343 MB / 0.593 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005962/0.3574, allocations: 0.6467 MB / 0.5936 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.3575, allocations: 60 kB / 0.5937 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008242/0.3583, allocations: 0.5537 MB / 0.5942 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.3585, allocations: 287.1 kB / 0.5945 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.3587, allocations: 283.4 kB / 0.5947 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.3598, allocations: 1.387 MB / 0.5961 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3598, allocations: 0 / 0.5961 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3598, allocations: 0 / 0.5961 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.3598, allocations: 4 kB / 0.5961 GB, free: 8.227 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001478/0.3613, allocations: 1.035 MB / 0.5971 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3614, allocations: 16.03 kB / 0.5971 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.563e-05/0.3615, allocations: 94.52 kB / 0.5972 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004336/0.3619, allocations: 135.5 kB / 0.5973 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/0.3627, allocations: 481.4 kB / 0.5978 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3628, allocations: 151.8 kB / 0.5979 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.3629, allocations: 51.98 kB / 0.598 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009073/0.3638, allocations: 1.14 MB / 0.5991 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3638, allocations: 8 kB / 0.5991 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.3638, allocations: 27.98 kB / 0.5991 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.3639, allocations: 44.3 kB / 0.5992 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.3646, allocations: 0.6166 MB / 0.5998 GB, free: 4.195 MB / 0.4948 GB 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.002531/0.3671, allocations: 3.301 MB / 0.603 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.3675, allocations: 342.6 kB / 0.6033 GB, free: 452 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3677, allocations: 159.7 kB / 0.6035 GB, free: 292 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.3677, allocations: 16.27 kB / 0.6035 GB, free: 276 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3677, allocations: 46.78 kB / 0.6036 GB, free: 220 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.302e-06/0.3677, allocations: 0 / 0.6036 GB, free: 220 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003264/0.371, allocations: 1.594 MB / 0.6051 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.3711, allocations: 136.5 kB / 0.6052 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.3715, allocations: 0.6404 MB / 0.6059 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.3716, allocations: 41.7 kB / 0.6059 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.3718, allocations: 367.8 kB / 0.6063 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/0.3718, allocations: 138.8 kB / 0.6064 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.372, allocations: 158.6 kB / 0.6065 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3721, allocations: 374.8 kB / 0.6069 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.3723, allocations: 205.9 kB / 0.6071 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.3727, allocations: 0.5919 MB / 0.6077 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.3734, allocations: 0.7516 MB / 0.6084 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3734, allocations: 4 kB / 0.6084 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009335/0.3743, allocations: 0.8842 MB / 0.6093 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.3743, allocations: 9.875 kB / 0.6093 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3743, allocations: 12 kB / 0.6093 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007653/0.3751, allocations: 307.8 kB / 0.6096 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.3753, allocations: 119.8 kB / 0.6097 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007428/0.3761, allocations: 0.9384 MB / 0.6106 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.3763, allocations: 27.94 kB / 0.6106 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.3764, allocations: 73.55 kB / 0.6107 GB, free: 8.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.3766, allocations: 249.5 kB / 0.611 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.3767, allocations: 75.52 kB / 0.611 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.378, allocations: 0.8728 MB / 0.6119 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.378, allocations: 4 kB / 0.6119 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.378, allocations: 0 / 0.6119 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.378, allocations: 0 / 0.6119 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.3793, allocations: 1.137 MB / 0.613 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3793, allocations: 7.938 kB / 0.613 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.3798, allocations: 207.8 kB / 0.6132 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-05/0.3799, allocations: 29.03 kB / 0.6132 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.38, allocations: 23.98 kB / 0.6132 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.3813, allocations: 2.664 MB / 0.6158 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3813, allocations: 4.031 kB / 0.6159 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.3821, allocations: 0.8161 MB / 0.6166 GB, free: 2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.3823, allocations: 111.6 kB / 0.6168 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.3823, allocations: 11.98 kB / 0.6168 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.3825, allocations: 13.12 kB / 0.6168 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.3826, allocations: 51.81 kB / 0.6168 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.3826, allocations: 39.98 kB / 0.6169 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003515/0.383, allocations: 439.2 kB / 0.6173 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.383, allocations: 4 kB / 0.6173 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006178/0.3836, allocations: 259.7 kB / 0.6175 GB, free: 1.094 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002149/0.3858, allocations: 1.549 MB / 0.6191 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007769/0.3865, allocations: 0.5272 MB / 0.6196 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3865, allocations: 0 / 0.6196 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.3871, allocations: 407.1 kB / 0.62 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/0.388, allocations: 376.5 kB / 0.6203 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005874/0.3939, allocations: 6.268 MB / 0.6264 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3941, allocations: 332.7 kB / 0.6268 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006151/0.3947, allocations: 463.1 kB / 0.6272 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.395, allocations: 280.4 kB / 0.6275 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.395, allocations: 0 / 0.6275 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2085/0.6035, allocations: 25.68 MB / 0.6525 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.878, allocations: 11.78 kB / 0.6525 GB, free: 162 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 10.998373268172145]