Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001187/0.001187, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.001273/0.001273, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.8998/0.8998, allocations: 177 MB / 204.1 MB, free: 5.773 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.2746/0.2746, allocations: 34.23 MB / 294.8 MB, free: 0.7109 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.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 3.938 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/3.004e-05, allocations: 2.281 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.311/0.311, allocations: 130.2 MB / 0.5589 GB, free: 14.38 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.006028/0.317, allocations: 5.178 MB / 0.564 GB, free: 9.191 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006197/0.3176, allocations: 27.75 kB / 0.564 GB, free: 9.164 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008287/0.3185, allocations: 321.8 kB / 0.5643 GB, free: 8.848 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.32, allocations: 0.9165 MB / 0.5652 GB, free: 7.926 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.3219, allocations: 1.073 MB / 0.5663 GB, free: 6.863 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.3236, allocations: 1.839 MB / 0.5681 GB, free: 5.023 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005326/0.3241, allocations: 394.6 kB / 0.5684 GB, free: 4.633 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.3251, allocations: 0.9933 MB / 0.5694 GB, free: 3.637 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007063/0.3258, allocations: 0.6974 MB / 0.5701 GB, free: 2.938 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.386e-05/0.3259, allocations: 60 kB / 0.5702 GB, free: 2.879 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008889/0.3268, allocations: 498.9 kB / 0.5706 GB, free: 2.391 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.327, allocations: 287.1 kB / 0.5709 GB, free: 2.109 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.3272, allocations: 287.3 kB / 0.5712 GB, free: 1.828 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.3282, allocations: 1.204 MB / 0.5724 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3282, allocations: 4 kB / 0.5724 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3282, allocations: 0 / 0.5724 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3282, allocations: 0 / 0.5724 GB, free: 0.6172 MB / 474.7 MB 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.001327/0.3295, allocations: 0.991 MB / 0.5733 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3296, allocations: 12.03 kB / 0.5733 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.023e-05/0.3296, allocations: 102.7 kB / 0.5734 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.3299, allocations: 92.45 kB / 0.5735 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.3304, allocations: 493.9 kB / 0.574 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.3305, allocations: 155.5 kB / 0.5741 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.3306, allocations: 48.38 kB / 0.5742 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008872/0.3315, allocations: 1.142 MB / 0.5753 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3315, allocations: 3.938 kB / 0.5753 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.3315, allocations: 20 kB / 0.5753 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/0.3316, allocations: 40.98 kB / 0.5754 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006667/0.3322, allocations: 0.6517 MB / 0.576 GB, free: 12.65 MB / 490.7 MB 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.002766/0.335, allocations: 3.146 MB / 0.5791 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.3355, allocations: 408.2 kB / 0.5795 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.3357, allocations: 189.4 kB / 0.5796 GB, free: 8.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.3359, allocations: 68.28 kB / 0.5797 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3359, allocations: 38.89 kB / 0.5797 GB, free: 8.691 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/0.3359, allocations: 0 / 0.5797 GB, free: 8.691 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.001992/0.3379, allocations: 1.394 MB / 0.5811 GB, free: 7.262 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.338, allocations: 144.4 kB / 0.5812 GB, free: 7.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.3384, allocations: 0.5848 MB / 0.5818 GB, free: 6.496 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.3384, allocations: 37.69 kB / 0.5819 GB, free: 6.453 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.3386, allocations: 359.9 kB / 0.5822 GB, free: 6.098 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/0.3387, allocations: 166.5 kB / 0.5824 GB, free: 5.934 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3388, allocations: 146.6 kB / 0.5825 GB, free: 5.785 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3389, allocations: 374.8 kB / 0.5829 GB, free: 5.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.3392, allocations: 213.9 kB / 0.5831 GB, free: 5.199 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.3396, allocations: 0.5884 MB / 0.5836 GB, free: 4.453 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009269/0.3405, allocations: 0.765 MB / 0.5844 GB, free: 3.559 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3405, allocations: 0 / 0.5844 GB, free: 3.559 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009981/0.3415, allocations: 0.9109 MB / 0.5853 GB, free: 2.641 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3415, allocations: 11.98 kB / 0.5853 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3415, allocations: 8 kB / 0.5853 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007339/0.3423, allocations: 282.6 kB / 0.5856 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.3425, allocations: 123.8 kB / 0.5857 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006345/0.3431, allocations: 0.8841 MB / 0.5865 GB, free: 1.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.3433, allocations: 28 kB / 0.5866 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.3434, allocations: 35.98 kB / 0.5866 GB, free: 1.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.3436, allocations: 250.2 kB / 0.5868 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.3436, allocations: 71.53 kB / 0.5869 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008828/0.3445, allocations: 0.6966 MB / 0.5876 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3445, allocations: 8 kB / 0.5876 GB, free: 220 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3446, allocations: 0 / 0.5876 GB, free: 220 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3446, allocations: 2.75 kB / 0.5876 GB, free: 220 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.3459, allocations: 1.238 MB / 0.5888 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3459, allocations: 8.031 kB / 0.5888 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.3464, allocations: 203.7 kB / 0.589 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.858e-05/0.3465, allocations: 20.84 kB / 0.589 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3465, allocations: 19.98 kB / 0.589 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.348, allocations: 2.651 MB / 0.5916 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.348, allocations: 10.31 kB / 0.5916 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009179/0.349, allocations: 0.9447 MB / 0.5926 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.3491, allocations: 131.4 kB / 0.5927 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.3492, allocations: 17.58 kB / 0.5927 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.3494, allocations: 16 kB / 0.5927 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.3495, allocations: 35.88 kB / 0.5928 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.3495, allocations: 27.97 kB / 0.5928 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003325/0.3498, allocations: 431 kB / 0.5932 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.3498, allocations: 0 / 0.5932 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005437/0.3504, allocations: 223.8 kB / 0.5934 GB, free: 9.941 MB / 0.4948 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001312/0.3517, allocations: 1.635 MB / 0.595 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007901/0.3525, allocations: 0.5883 MB / 0.5956 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3525, allocations: 0 / 0.5956 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.353, allocations: 438.2 kB / 0.596 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.354, allocations: 381.2 kB / 0.5964 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/0.3604, allocations: 6.418 MB / 0.6026 GB, free: 88 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3607, allocations: 337.4 kB / 0.603 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006333/0.3614, allocations: 216.8 kB / 0.6032 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.3617, allocations: 236.4 kB / 0.6034 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.603e-06/0.3617, allocations: 4 kB / 0.6034 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03673/0.3984, allocations: 24.09 MB / 0.6269 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/8.779, allocations: 18.75 kB / 0.6269 GB, free: 7.52 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.087049358524382]