Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009176/0.0009176, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9056/0.9056, allocations: 177 MB / 204.1 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2557/0.2557, allocations: 34.23 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.656e-05, allocations: 10.22 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3275/0.3275, allocations: 153.8 MB / 0.582 GB, free: 6.633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005135/0.3327, allocations: 4.919 MB / 0.5868 GB, free: 1.707 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.3333, allocations: 27.75 kB / 0.5869 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009304/0.3342, allocations: 313.8 kB / 0.5872 GB, free: 1.371 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.3367, allocations: 1.321 MB / 0.5884 GB, free: 44 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.3385, allocations: 1.01 MB / 0.5894 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001868/0.3404, allocations: 1.883 MB / 0.5913 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005908/0.3409, allocations: 396.4 kB / 0.5916 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.3428, allocations: 1.347 MB / 0.593 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007844/0.3436, allocations: 0.6351 MB / 0.5936 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.3437, allocations: 64 kB / 0.5936 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009194/0.3446, allocations: 0.5615 MB / 0.5942 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.3448, allocations: 283.1 kB / 0.5945 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.3451, allocations: 283.3 kB / 0.5947 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.3464, allocations: 1.383 MB / 0.5961 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3465, allocations: 0 / 0.5961 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3465, allocations: 4 kB / 0.5961 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.3465, allocations: 4 kB / 0.5961 GB, free: 8.203 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.001739/0.3482, allocations: 1.045 MB / 0.5971 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3483, allocations: 8.031 kB / 0.5971 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.3484, allocations: 98.52 kB / 0.5972 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004788/0.3488, allocations: 135.5 kB / 0.5973 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.3495, allocations: 473.4 kB / 0.5978 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.3496, allocations: 155.8 kB / 0.5979 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.3497, allocations: 51.92 kB / 0.598 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000962/0.3506, allocations: 1.144 MB / 0.5991 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3507, allocations: 3.984 kB / 0.5991 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.3507, allocations: 20 kB / 0.5991 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.3507, allocations: 40.92 kB / 0.5992 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.3515, allocations: 0.6127 MB / 0.5998 GB, free: 4.188 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.003023/0.3545, allocations: 3.315 MB / 0.603 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.3549, allocations: 336.9 kB / 0.6033 GB, free: 436 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.3551, allocations: 165.3 kB / 0.6035 GB, free: 268 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.732e-05/0.3552, allocations: 12.22 kB / 0.6035 GB, free: 256 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3552, allocations: 41.53 kB / 0.6035 GB, free: 208 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.3552, allocations: 0 / 0.6035 GB, free: 208 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003209/0.3584, allocations: 1.604 MB / 0.6051 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.3585, allocations: 140.5 kB / 0.6052 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.359, allocations: 0.6366 MB / 0.6059 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.359, allocations: 29.7 kB / 0.6059 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.3592, allocations: 371.8 kB / 0.6062 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.3593, allocations: 146.8 kB / 0.6064 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.3594, allocations: 158.6 kB / 0.6065 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3595, allocations: 378.8 kB / 0.6069 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.3598, allocations: 197.9 kB / 0.6071 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.3603, allocations: 0.5958 MB / 0.6077 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/0.3609, allocations: 0.7516 MB / 0.6084 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3609, allocations: 4 kB / 0.6084 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001045/0.3619, allocations: 0.8765 MB / 0.6093 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3619, allocations: 15.98 kB / 0.6093 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.362, allocations: 8 kB / 0.6093 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007307/0.3627, allocations: 300.8 kB / 0.6096 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.3629, allocations: 127.8 kB / 0.6097 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007195/0.3636, allocations: 0.9383 MB / 0.6106 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.3639, allocations: 31.98 kB / 0.6106 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.3639, allocations: 63.98 kB / 0.6107 GB, free: 8.41 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.0002168/0.3641, allocations: 248.9 kB / 0.6109 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.3642, allocations: 71.52 kB / 0.611 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/0.3652, allocations: 0.8751 MB / 0.6119 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3652, allocations: 4 kB / 0.6119 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3652, allocations: 4 kB / 0.6119 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3652, allocations: 3.984 kB / 0.6119 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.3666, allocations: 1.133 MB / 0.613 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.3666, allocations: 3.938 kB / 0.613 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.3671, allocations: 213.8 kB / 0.6132 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.839e-05/0.3672, allocations: 24.83 kB / 0.6132 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.3672, allocations: 20 kB / 0.6132 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.3684, allocations: 2.66 MB / 0.6158 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3684, allocations: 3.938 kB / 0.6158 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007652/0.3692, allocations: 0.8223 MB / 0.6166 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.3693, allocations: 115.5 kB / 0.6167 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.3694, allocations: 10 kB / 0.6167 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3696, allocations: 19.98 kB / 0.6168 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.3696, allocations: 47.81 kB / 0.6168 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.3697, allocations: 48.17 kB / 0.6169 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003276/0.37, allocations: 435 kB / 0.6173 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.37, allocations: 0 / 0.6173 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005684/0.3706, allocations: 259.7 kB / 0.6175 GB, free: 1.07 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.001327/0.3719, allocations: 1.546 MB / 0.619 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00073/0.3726, allocations: 0.5305 MB / 0.6195 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3726, allocations: 0 / 0.6195 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.3734, allocations: 412.7 kB / 0.6199 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009018/0.3743, allocations: 363 kB / 0.6203 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.3802, allocations: 6.265 MB / 0.6264 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.3807, allocations: 328.7 kB / 0.6267 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007253/0.3814, allocations: 473.1 kB / 0.6272 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.3818, allocations: 288.4 kB / 0.6274 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/0.3818, allocations: 0 / 0.6274 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1985/0.5803, allocations: 25.67 MB / 0.6525 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/8.954, allocations: 10.55 kB / 0.6525 GB, free: 162.5 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 11.094834963791072]