Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.0008921/0.0008921, allocations: 76.36 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.000824/0.000824, allocations: 160.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.8725/0.8725, allocations: 177 MB / 204.1 MB, free: 5.734 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.2384/0.2384, allocations: 34.24 MB / 294.8 MB, free: 0.6758 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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.759e-05, allocations: 5.094 kB / 442.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2696/0.2697, allocations: 131.5 MB / 0.5602 GB, free: 12.98 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.271, allocations: 1.441 MB / 0.5616 GB, free: 11.54 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.2711, allocations: 0 / 0.5616 GB, free: 11.54 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.2714, allocations: 43.69 kB / 0.5617 GB, free: 11.49 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007257/0.2722, allocations: 425.6 kB / 0.5621 GB, free: 11.07 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.2725, allocations: 171.4 kB / 0.5623 GB, free: 10.91 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.2727, allocations: 191.1 kB / 0.5624 GB, free: 10.72 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.2728, allocations: 8 kB / 0.5624 GB, free: 10.71 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.2729, allocations: 99.66 kB / 0.5625 GB, free: 10.61 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.2731, allocations: 55.8 kB / 0.5626 GB, free: 10.56 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2731, allocations: 8 kB / 0.5626 GB, free: 10.55 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006547/0.2737, allocations: 0.5454 MB / 0.5631 GB, free: 10 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.2738, allocations: 35.89 kB / 0.5632 GB, free: 9.969 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.2738, allocations: 43.86 kB / 0.5632 GB, free: 9.926 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.2743, allocations: 446.9 kB / 0.5636 GB, free: 9.488 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2743, allocations: 0 / 0.5636 GB, free: 9.488 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2743, allocations: 3.938 kB / 0.5636 GB, free: 9.484 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2743, allocations: 0 / 0.5636 GB, free: 9.484 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004316/0.2747, allocations: 358.5 kB / 0.564 GB, free: 9.109 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2748, allocations: 8.031 kB / 0.564 GB, free: 9.102 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.2748, allocations: 42.75 kB / 0.564 GB, free: 9.051 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.276, allocations: 211.9 kB / 0.5642 GB, free: 8.848 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.2762, allocations: 145.7 kB / 0.5644 GB, free: 8.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2762, allocations: 12.12 kB / 0.5644 GB, free: 8.668 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.2762, allocations: 8 kB / 0.5644 GB, free: 8.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.2765, allocations: 285.7 kB / 0.5647 GB, free: 8.359 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.2766, allocations: 0 / 0.5647 GB, free: 8.359 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.2766, allocations: 4 kB / 0.5647 GB, free: 8.355 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2766, allocations: 4 kB / 0.5647 GB, free: 8.352 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.2769, allocations: 235.8 kB / 0.5649 GB, free: 8.121 MB / 474.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.001015/0.2779, allocations: 0.5641 MB / 0.5654 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.2782, allocations: 194.4 kB / 0.5656 GB, free: 7.348 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.2783, allocations: 96.81 kB / 0.5657 GB, free: 7.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.059e-05/0.2784, allocations: 11.98 kB / 0.5657 GB, free: 7.238 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.2784, allocations: 30.56 kB / 0.5658 GB, free: 7.199 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.2784, allocations: 0 / 0.5658 GB, free: 7.199 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.003033/0.2815, allocations: 1.398 MB / 0.5671 GB, free: 5.742 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2815, allocations: 55.41 kB / 0.5672 GB, free: 5.676 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.2816, allocations: 109.8 kB / 0.5673 GB, free: 5.559 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2816, allocations: 29.7 kB / 0.5673 GB, free: 5.523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.2816, allocations: 100.4 kB / 0.5674 GB, free: 5.422 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.2817, allocations: 67.42 kB / 0.5675 GB, free: 5.355 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.2817, allocations: 37.7 kB / 0.5675 GB, free: 5.312 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.2818, allocations: 326.8 kB / 0.5678 GB, free: 4.984 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.2819, allocations: 87.95 kB / 0.5679 GB, free: 4.898 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.2821, allocations: 128 kB / 0.568 GB, free: 4.762 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.2824, allocations: 216.7 kB / 0.5682 GB, free: 4.539 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2824, allocations: 11.88 kB / 0.5682 GB, free: 4.527 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003713/0.2827, allocations: 286.3 kB / 0.5685 GB, free: 4.238 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2828, allocations: 9.25 kB / 0.5685 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2828, allocations: 0 / 0.5685 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.2829, allocations: 20.84 kB / 0.5686 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.2831, allocations: 56.75 kB / 0.5686 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00027/0.2834, allocations: 0.5407 MB / 0.5691 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.2835, allocations: 8.016 kB / 0.5691 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2835, allocations: 12 kB / 0.5692 GB, free: 3.566 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.781e-05/0.2836, allocations: 130.8 kB / 0.5693 GB, free: 3.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.2836, allocations: 7.953 kB / 0.5693 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.2841, allocations: 316.4 kB / 0.5696 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2841, allocations: 4 kB / 0.5696 GB, free: 3.098 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2841, allocations: 3.938 kB / 0.5696 GB, free: 3.094 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2841, allocations: 3.984 kB / 0.5696 GB, free: 3.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006969/0.2848, allocations: 0.6235 MB / 0.5702 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2848, allocations: 0 / 0.5702 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.285, allocations: 47.95 kB / 0.5703 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.652e-05/0.2851, allocations: 24.84 kB / 0.5703 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2851, allocations: 4 kB / 0.5703 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006402/0.2857, allocations: 1.256 MB / 0.5715 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2857, allocations: 4.031 kB / 0.5715 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.2863, allocations: 449.1 kB / 0.5719 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.2863, allocations: 13.7 kB / 0.572 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.2863, allocations: 8 kB / 0.572 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.2864, allocations: 11.98 kB / 0.572 GB, free: 472 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.2865, allocations: 16.12 kB / 0.572 GB, free: 456 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.2865, allocations: 15.94 kB / 0.572 GB, free: 440 kB / 474.7 MB Notification: Performance of sorting global known variables: time 3.649e-05/0.2865, allocations: 87.27 kB / 0.5721 GB, free: 352 kB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2865, allocations: 0 / 0.5721 GB, free: 352 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004095/0.2869, allocations: 139.7 kB / 0.5722 GB, free: 212 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * 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): 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.001116/0.288, allocations: 1.138 MB / 0.5733 GB, free: 15.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.2884, allocations: 235.1 kB / 0.5736 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2884, allocations: 4 kB / 0.5736 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.2887, allocations: 227.6 kB / 0.5738 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.289, allocations: 54.5 kB / 0.5738 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.2909, allocations: 2.071 MB / 0.5758 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.2909, allocations: 90.09 kB / 0.5759 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.2911, allocations: 53.45 kB / 0.576 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2912, allocations: 40.48 kB / 0.576 GB, free: 12.13 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2912, allocations: 0 / 0.576 GB, free: 12.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.3136, allocations: 8.834 MB / 0.5847 GB, free: 3.441 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.557, allocations: 8.609 kB / 0.5847 GB, free: 3.438 MB / 490.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.494648504070938]