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.001589/0.001589, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 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.001742/0.001742, allocations: 210.9 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.425/1.425, allocations: 230.5 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2151/0.2151, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 71.88 kB / 0.4969 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3448, allocations: 66.08 MB / 0.5614 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1645/0.5093, allocations: 130.2 MB / 0.6886 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008068/0.5174, allocations: 5.16 MB / 0.6936 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007104/0.5181, allocations: 31.69 kB / 0.6936 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000983/0.5191, allocations: 322 kB / 0.6939 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.521, allocations: 0.8902 MB / 0.6948 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.5236, allocations: 1.054 MB / 0.6958 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.5256, allocations: 1.817 MB / 0.6976 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006031/0.5262, allocations: 397.6 kB / 0.698 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.5275, allocations: 0.7941 MB / 0.6988 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.5286, allocations: 0.7553 MB / 0.6995 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.5287, allocations: 60 kB / 0.6996 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.5297, allocations: 495.1 kB / 0.7 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.53, allocations: 275.2 kB / 0.7003 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.5304, allocations: 334.6 kB / 0.7006 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.5319, allocations: 1.164 MB / 0.7018 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.5319, allocations: 0 / 0.7018 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5319, allocations: 0 / 0.7018 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.5319, allocations: 0 / 0.7018 GB, free: 3.859 MB / 0.5294 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.002111/0.534, allocations: 0.995 MB / 0.7027 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.5341, allocations: 8.031 kB / 0.7027 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.658e-05/0.5341, allocations: 13.19 kB / 0.7027 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.5342, allocations: 102.7 kB / 0.7028 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.5346, allocations: 108.3 kB / 0.7029 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008631/0.5354, allocations: 474.8 kB / 0.7034 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.5356, allocations: 148.4 kB / 0.7035 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5357, allocations: 55.92 kB / 0.7036 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.5371, allocations: 1.141 MB / 0.7047 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.5371, allocations: 3.938 kB / 0.7047 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.5372, allocations: 31.98 kB / 0.7047 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/0.5373, allocations: 36.98 kB / 0.7048 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.5383, allocations: 0.6518 MB / 0.7054 GB, free: 15.87 MB / 0.545 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.004346/0.5427, allocations: 3.155 MB / 0.7085 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/0.5435, allocations: 396.3 kB / 0.7089 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.5438, allocations: 193.4 kB / 0.7091 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.5441, allocations: 72.28 kB / 0.7091 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.5442, allocations: 38.89 kB / 0.7092 GB, free: 11.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.5442, allocations: 0 / 0.7092 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003258/0.5474, allocations: 1.398 MB / 0.7105 GB, free: 10.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.5475, allocations: 136.5 kB / 0.7107 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006825/0.5482, allocations: 0.5655 MB / 0.7112 GB, free: 9.723 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.5482, allocations: 33.7 kB / 0.7112 GB, free: 9.684 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.5485, allocations: 367.8 kB / 0.7116 GB, free: 9.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.5487, allocations: 170.6 kB / 0.7118 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.5489, allocations: 142.6 kB / 0.7119 GB, free: 9.008 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.5491, allocations: 370.8 kB / 0.7122 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.5494, allocations: 217.9 kB / 0.7125 GB, free: 8.422 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.5501, allocations: 0.5923 MB / 0.713 GB, free: 7.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.5511, allocations: 0.7601 MB / 0.7138 GB, free: 6.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.5511, allocations: 0 / 0.7138 GB, free: 6.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001622/0.5527, allocations: 0.9142 MB / 0.7147 GB, free: 5.859 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5528, allocations: 8 kB / 0.7147 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.5528, allocations: 8 kB / 0.7147 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.5542, allocations: 288.9 kB / 0.715 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.5546, allocations: 119.8 kB / 0.7151 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.5557, allocations: 0.89 MB / 0.7159 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.5562, allocations: 31.98 kB / 0.716 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.5563, allocations: 35.94 kB / 0.716 GB, free: 4.461 MB / 0.545 GB 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.0003951/0.5567, allocations: 258.1 kB / 0.7163 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.5568, allocations: 67.58 kB / 0.7163 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.5581, allocations: 0.6911 MB / 0.717 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5581, allocations: 8 kB / 0.717 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.5581, allocations: 3.938 kB / 0.717 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5581, allocations: 3.984 kB / 0.717 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.5601, allocations: 1.234 MB / 0.7182 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.5601, allocations: 4 kB / 0.7182 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.5611, allocations: 199.8 kB / 0.7184 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.009e-05/0.5612, allocations: 24.83 kB / 0.7184 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.5613, allocations: 16.19 kB / 0.7184 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.5634, allocations: 2.663 MB / 0.721 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5634, allocations: 4.344 kB / 0.7211 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.5649, allocations: 0.9491 MB / 0.722 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.5652, allocations: 127.5 kB / 0.7221 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/0.5653, allocations: 16 kB / 0.7221 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.5656, allocations: 19.98 kB / 0.7221 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.5657, allocations: 39.81 kB / 0.7222 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/0.5658, allocations: 27.98 kB / 0.7222 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005587/0.5664, allocations: 427 kB / 0.7226 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5664, allocations: 0 / 0.7226 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008928/0.5673, allocations: 231.8 kB / 0.7228 GB, free: 13.12 MB / 0.5606 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.002189/0.5694, allocations: 1.629 MB / 0.7244 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.5708, allocations: 0.5749 MB / 0.725 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5708, allocations: 7.938 kB / 0.725 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.5718, allocations: 447.7 kB / 0.7254 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.5735, allocations: 367.9 kB / 0.7258 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00991/0.5834, allocations: 6.489 MB / 0.7321 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.5838, allocations: 345.4 kB / 0.7324 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006416/0.5845, allocations: 211.8 kB / 0.7326 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.5848, allocations: 231.4 kB / 0.7329 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.5848, allocations: 0 / 0.7329 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3087/0.8935, allocations: 23.86 MB / 0.7562 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.7, allocations: 14.92 kB / 0.7562 GB, free: 157.2 MB / 0.5606 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/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: 17.951666407985613]