Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.1 MB / 222.6 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4185/0.4185, allocations: 43.5 MB / 313.5 MB, free: 8.254 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 70.56 kB / 382 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1616, allocations: 57.79 MB / 439.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.46/0.6217, allocations: 148.4 MB / 0.5744 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.6233, allocations: 1.014 MB / 0.5754 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.6234, allocations: 3.938 kB / 0.5754 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.6238, allocations: 28.33 kB / 0.5754 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006706/0.6245, allocations: 210.2 kB / 0.5756 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.6249, allocations: 99.86 kB / 0.5757 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.6252, allocations: 207.8 kB / 0.5759 GB, free: 6.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.499e-05/0.6253, allocations: 12.77 kB / 0.5759 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.6255, allocations: 87.62 kB / 0.576 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.6257, allocations: 51.77 kB / 0.576 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.6257, allocations: 4 kB / 0.576 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005428/0.6263, allocations: 271.6 kB / 0.5763 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.6264, allocations: 22.92 kB / 0.5763 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.6265, allocations: 47.73 kB / 0.5764 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.627, allocations: 279.4 kB / 0.5766 GB, free: 5.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.627, allocations: 4 kB / 0.5766 GB, free: 5.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.627, allocations: 4 kB / 0.5766 GB, free: 5.406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.627, allocations: 0 / 0.5766 GB, free: 5.406 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006964/0.6277, allocations: 406.9 kB / 0.577 GB, free: 4.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.6278, allocations: 12.03 kB / 0.577 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.6299, allocations: 183.1 kB / 0.5772 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.6302, allocations: 212.5 kB / 0.5774 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.6302, allocations: 7.938 kB / 0.5774 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.6303, allocations: 8 kB / 0.5774 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.6308, allocations: 220 kB / 0.5776 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6309, allocations: 0 / 0.5776 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.6309, allocations: 8 kB / 0.5777 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6309, allocations: 4 kB / 0.5777 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.6314, allocations: 175.8 kB / 0.5778 GB, free: 4.102 MB / 446.1 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.001131/0.6325, allocations: 0.5747 MB / 0.5784 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.6329, allocations: 138.5 kB / 0.5785 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.6331, allocations: 70.45 kB / 0.5786 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.6331, allocations: 3.984 kB / 0.5786 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.6331, allocations: 38.56 kB / 0.5786 GB, free: 3.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.6332, allocations: 0 / 0.5786 GB, free: 3.207 MB / 446.1 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.005481/0.6386, allocations: 1.305 MB / 0.5799 GB, free: 1.816 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.6387, allocations: 55.41 kB / 0.58 GB, free: 1.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.6388, allocations: 106.5 kB / 0.5801 GB, free: 1.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.6389, allocations: 37.64 kB / 0.5801 GB, free: 1.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.6389, allocations: 92.05 kB / 0.5802 GB, free: 1.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.639, allocations: 70.94 kB / 0.5802 GB, free: 1.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.6391, allocations: 53.69 kB / 0.5803 GB, free: 1.371 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6393, allocations: 322.8 kB / 0.5806 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.6395, allocations: 67.97 kB / 0.5807 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.6397, allocations: 106.4 kB / 0.5808 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.6401, allocations: 187.3 kB / 0.5809 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6401, allocations: 0 / 0.5809 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004968/0.6406, allocations: 254.2 kB / 0.5812 GB, free: 424 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.6406, allocations: 4 kB / 0.5812 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.6407, allocations: 8.094 kB / 0.5812 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.6409, allocations: 48.83 kB / 0.5812 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.6412, allocations: 59.89 kB / 0.5813 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004593/0.6417, allocations: 0.5601 MB / 0.5819 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.6419, allocations: 17.86 kB / 0.5819 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.6419, allocations: 21.64 kB / 0.5819 GB, free: 15.67 MB / 462.1 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 0.0001223/0.642, allocations: 129.7 kB / 0.582 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.6421, allocations: 7.906 kB / 0.582 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008363/0.6429, allocations: 354.2 kB / 0.5824 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.643, allocations: 7.938 kB / 0.5824 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.643, allocations: 4 kB / 0.5824 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.643, allocations: 0 / 0.5824 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.644, allocations: 0.628 MB / 0.583 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.644, allocations: 0 / 0.583 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.6443, allocations: 59.95 kB / 0.583 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.142e-05/0.6444, allocations: 28.94 kB / 0.5831 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.6445, allocations: 7.984 kB / 0.5831 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009139/0.6454, allocations: 1.265 MB / 0.5843 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.6454, allocations: 7.922 kB / 0.5843 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.6461, allocations: 429.3 kB / 0.5847 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.6462, allocations: 89.03 kB / 0.5848 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.6462, allocations: 11.94 kB / 0.5848 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.6465, allocations: 11.94 kB / 0.5848 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.6465, allocations: 28.97 kB / 0.5849 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.6466, allocations: 27.98 kB / 0.5849 GB, free: 12.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.14e-05/0.6467, allocations: 85.7 kB / 0.585 GB, free: 12.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6467, allocations: 64 / 0.585 GB, free: 12.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.6471, allocations: 87.98 kB / 0.5851 GB, free: 12.18 MB / 462.1 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 (21): * Single equations (assignments): 20 * 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.000448/0.6476, allocations: 147.2 kB / 0.5852 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005479/0.6482, allocations: 203 kB / 0.5854 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6482, allocations: 3.938 kB / 0.5854 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.6485, allocations: 215.1 kB / 0.5856 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.649, allocations: 53.09 kB / 0.5857 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.65, allocations: 0.5212 MB / 0.5862 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.6504, allocations: 0.7049 MB / 0.5868 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000456/0.6508, allocations: 73.39 kB / 0.5869 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.6511, allocations: 55.41 kB / 0.587 GB, free: 10.16 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.6511, allocations: 0 / 0.587 GB, free: 10.16 MB / 462.1 MB Notification: Performance of Templates: time 0.01116/0.6622, allocations: 5.467 MB / 0.5923 GB, free: 4.727 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches