Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.000903/0.000903, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001073/0.001073, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8764/0.8764, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1366/0.1366, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.713e-05, allocations: 9.938 kB / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2992/0.2992, allocations: 130.1 MB / 0.5243 GB, free: 24.38 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.3018, allocations: 2.739 MB / 0.527 GB, free: 22.6 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.302, allocations: 1.094 kB / 0.527 GB, free: 22.6 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.3023, allocations: 56.66 kB / 0.527 GB, free: 22.57 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.3047, allocations: 1.049 MB / 0.5281 GB, free: 22.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.3052, allocations: 203.9 kB / 0.5283 GB, free: 21.97 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.3056, allocations: 359.8 kB / 0.5286 GB, free: 21.81 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.3057, allocations: 14.83 kB / 0.5286 GB, free: 21.8 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.306, allocations: 194.5 kB / 0.5288 GB, free: 21.74 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.3062, allocations: 101.8 kB / 0.5289 GB, free: 21.71 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.3062, allocations: 15.91 kB / 0.5289 GB, free: 21.71 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.3084, allocations: 1.292 MB / 0.5302 GB, free: 21.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.3085, allocations: 83.55 kB / 0.5303 GB, free: 21.24 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3086, allocations: 82.72 kB / 0.5303 GB, free: 21.21 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.3103, allocations: 1.043 MB / 0.5313 GB, free: 20.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3103, allocations: 0 / 0.5313 GB, free: 20.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3103, allocations: 0 / 0.5313 GB, free: 20.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.3103, allocations: 5.219 kB / 0.5314 GB, free: 20.92 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008145/0.3111, allocations: 479.4 kB / 0.5318 GB, free: 20.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3111, allocations: 10.22 kB / 0.5318 GB, free: 20.55 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.3112, allocations: 58.33 kB / 0.5319 GB, free: 20.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008128/0.312, allocations: 200.7 kB / 0.5321 GB, free: 20.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.3123, allocations: 188.9 kB / 0.5322 GB, free: 20.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3123, allocations: 16.08 kB / 0.5323 GB, free: 20.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.3123, allocations: 26.64 kB / 0.5323 GB, free: 20.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.3128, allocations: 0.5727 MB / 0.5328 GB, free: 19.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3128, allocations: 0 / 0.5328 GB, free: 19.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.3128, allocations: 14.12 kB / 0.5329 GB, free: 19.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3128, allocations: 4.531 kB / 0.5329 GB, free: 19.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.3132, allocations: 411.3 kB / 0.5333 GB, free: 19.79 MB / 442.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.001102/0.3143, allocations: 0.7544 MB / 0.534 GB, free: 19.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.3146, allocations: 212.7 kB / 0.5342 GB, free: 19.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.3147, allocations: 118 kB / 0.5343 GB, free: 19.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008551/0.3156, allocations: 299.5 kB / 0.5346 GB, free: 19.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3156, allocations: 45.2 kB / 0.5346 GB, free: 19.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.844e-06/0.3156, allocations: 1.25 kB / 0.5346 GB, free: 19.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007573/0.3163, allocations: 370.1 kB / 0.535 GB, free: 18.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.3164, allocations: 85.23 kB / 0.5351 GB, free: 18.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.3164, allocations: 110.4 kB / 0.5352 GB, free: 18.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3165, allocations: 32.45 kB / 0.5352 GB, free: 18.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.3165, allocations: 116.8 kB / 0.5353 GB, free: 18.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.3165, allocations: 112.9 kB / 0.5354 GB, free: 18.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.3166, allocations: 59.25 kB / 0.5355 GB, free: 18.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.919e-05/0.3167, allocations: 321.9 kB / 0.5358 GB, free: 18.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3168, allocations: 97.88 kB / 0.5359 GB, free: 18.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3169, allocations: 195.6 kB / 0.5361 GB, free: 17.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.3172, allocations: 300.6 kB / 0.5364 GB, free: 17.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3172, allocations: 1.375 kB / 0.5364 GB, free: 17.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003946/0.3176, allocations: 340.3 kB / 0.5367 GB, free: 17.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3176, allocations: 12.94 kB / 0.5367 GB, free: 17.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3176, allocations: 2.719 kB / 0.5367 GB, free: 17.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3176, allocations: 5.875 kB / 0.5367 GB, free: 17.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3178, allocations: 74.28 kB / 0.5368 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.3178, allocations: 7.609 kB / 0.5368 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3179, allocations: 30.31 kB / 0.5368 GB, free: 17.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.318, allocations: 19.48 kB / 0.5368 GB, free: 17.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.669e-05/0.3181, allocations: 141.4 kB / 0.537 GB, free: 17.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.3181, allocations: 15.42 kB / 0.537 GB, free: 17.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.3185, allocations: 323.6 kB / 0.5373 GB, free: 17.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3185, allocations: 3.25 kB / 0.5373 GB, free: 17.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3185, allocations: 2.594 kB / 0.5373 GB, free: 17.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3185, allocations: 1.922 kB / 0.5373 GB, free: 17.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.3189, allocations: 280.4 kB / 0.5376 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3189, allocations: 4 kB / 0.5376 GB, free: 17.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.319, allocations: 58.34 kB / 0.5376 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.319, allocations: 6.156 kB / 0.5376 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.319, allocations: 12.56 kB / 0.5376 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.319, allocations: 0 / 0.5376 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.319, allocations: 0 / 0.5376 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.3195, allocations: 0.513 MB / 0.5381 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.3195, allocations: 20.88 kB / 0.5382 GB, free: 16.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.3195, allocations: 6.875 kB / 0.5382 GB, free: 16.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3197, allocations: 21 kB / 0.5382 GB, free: 16.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.3197, allocations: 18.5 kB / 0.5382 GB, free: 16.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.3197, allocations: 13.27 kB / 0.5382 GB, free: 16.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.346e-05/0.3198, allocations: 91.7 kB / 0.5383 GB, free: 16.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3198, allocations: 0 / 0.5383 GB, free: 16.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007981/0.3206, allocations: 224.4 kB / 0.5385 GB, free: 16.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.3218, allocations: 1.398 MB / 0.5399 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003176/0.3221, allocations: 243.9 kB / 0.5401 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3221, allocations: 0 / 0.5401 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.3222, allocations: 122.9 kB / 0.5402 GB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.3226, allocations: 78.31 kB / 0.5403 GB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.3248, allocations: 2.548 MB / 0.5428 GB, free: 13.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3249, allocations: 115.7 kB / 0.5429 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.3251, allocations: 69.89 kB / 0.543 GB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3252, allocations: 65.8 kB / 0.543 GB, free: 13.38 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3252, allocations: 0 / 0.543 GB, free: 13.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.3509, allocations: 11.59 MB / 0.5544 GB, free: 8.871 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/7.045, allocations: 2.406 kB / 0.5544 GB, free: 8.871 MB / 442.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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: 9.067446964792907]