Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_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.0009197/0.0009199, allocations: 99.16 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 177.2 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.3 MB / 241.9 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2867/0.2867, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 12 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4651/0.5967, allocations: 135.5 MB / 0.5928 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.5981, allocations: 0.9045 MB / 0.5937 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.5982, allocations: 1.969 kB / 0.5937 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.5985, allocations: 31.81 kB / 0.5937 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006833/0.5992, allocations: 198.6 kB / 0.5939 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.5995, allocations: 91.8 kB / 0.594 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.5998, allocations: 187.2 kB / 0.5942 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/0.5999, allocations: 8 kB / 0.5942 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.6002, allocations: 83.62 kB / 0.5943 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.6003, allocations: 51.83 kB / 0.5943 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.6004, allocations: 3.938 kB / 0.5943 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.601, allocations: 267.7 kB / 0.5946 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.6011, allocations: 19.91 kB / 0.5946 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.6011, allocations: 41.7 kB / 0.5947 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.6015, allocations: 201.5 kB / 0.5948 GB, free: 9.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.6016, allocations: 0 / 0.5948 GB, free: 9.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6016, allocations: 4 kB / 0.5948 GB, free: 9.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.6016, allocations: 0 / 0.5948 GB, free: 9.641 MB / 430.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.0005162/0.6021, allocations: 379.8 kB / 0.5952 GB, free: 9.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.6022, allocations: 8.031 kB / 0.5952 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.6041, allocations: 187.6 kB / 0.5954 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.6044, allocations: 214.8 kB / 0.5956 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.6044, allocations: 8 kB / 0.5956 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.6045, allocations: 8.562 kB / 0.5956 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.605, allocations: 222.2 kB / 0.5958 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.605, allocations: 0 / 0.5958 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.605, allocations: 7.938 kB / 0.5958 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.6051, allocations: 0 / 0.5958 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.6055, allocations: 179.8 kB / 0.596 GB, free: 8.352 MB / 430.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.001124/0.6067, allocations: 0.5757 MB / 0.5966 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.607, allocations: 142.5 kB / 0.5967 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.6071, allocations: 68.83 kB / 0.5968 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.6072, allocations: 4 kB / 0.5968 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.6072, allocations: 30.56 kB / 0.5968 GB, free: 7.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.6072, allocations: 3.938 kB / 0.5968 GB, free: 7.453 MB / 430.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.005079/0.6123, allocations: 1.302 MB / 0.5981 GB, free: 6.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.6124, allocations: 51.41 kB / 0.5981 GB, free: 5.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.6125, allocations: 117.8 kB / 0.5982 GB, free: 5.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.6125, allocations: 25.7 kB / 0.5983 GB, free: 5.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.6126, allocations: 95.98 kB / 0.5984 GB, free: 5.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.6126, allocations: 71 kB / 0.5984 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.6127, allocations: 4 kB / 0.5984 GB, free: 5.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6128, allocations: 322.8 kB / 0.5987 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.613, allocations: 67.97 kB / 0.5988 GB, free: 5.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.6132, allocations: 99.44 kB / 0.5989 GB, free: 5.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.6134, allocations: 84.92 kB / 0.599 GB, free: 5.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6134, allocations: 3.953 kB / 0.599 GB, free: 5.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005203/0.6139, allocations: 260.6 kB / 0.5992 GB, free: 4.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6139, allocations: 4 kB / 0.5992 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6139, allocations: 0 / 0.5992 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.6142, allocations: 48.83 kB / 0.5993 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.6145, allocations: 64.92 kB / 0.5993 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004487/0.615, allocations: 0.5563 MB / 0.5999 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.6152, allocations: 15.97 kB / 0.5999 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.6152, allocations: 23.95 kB / 0.5999 GB, free: 4.082 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.6154, allocations: 137.4 kB / 0.6001 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.6154, allocations: 15.81 kB / 0.6001 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009269/0.6164, allocations: 343.4 kB / 0.6004 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.6164, allocations: 7.938 kB / 0.6004 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6164, allocations: 0 / 0.6004 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6164, allocations: 3.953 kB / 0.6004 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.6175, allocations: 0.6198 MB / 0.601 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6175, allocations: 0 / 0.601 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.6178, allocations: 63.89 kB / 0.6011 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.05e-05/0.6179, allocations: 28.8 kB / 0.6011 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.618, allocations: 15.92 kB / 0.6011 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009809/0.619, allocations: 1.272 MB / 0.6024 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.619, allocations: 160 / 0.6024 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007177/0.6197, allocations: 430.6 kB / 0.6028 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.6198, allocations: 88.95 kB / 0.6029 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.6198, allocations: 8 kB / 0.6029 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.62, allocations: 12.06 kB / 0.6029 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.6201, allocations: 23.97 kB / 0.6029 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.6202, allocations: 23.98 kB / 0.6029 GB, free: 0.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.6202, allocations: 91.27 kB / 0.603 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6202, allocations: 0 / 0.603 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.6207, allocations: 79.95 kB / 0.6031 GB, free: 0.582 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004016/0.6211, allocations: 155 kB / 0.6032 GB, free: 432 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.6217, allocations: 203 kB / 0.6034 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.6217, allocations: 4 kB / 0.6034 GB, free: 228 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.6221, allocations: 218.6 kB / 0.6036 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.6226, allocations: 53.23 kB / 0.6037 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009584/0.6236, allocations: 0.5627 MB / 0.6042 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.6239, allocations: 0.7093 MB / 0.6049 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004599/0.6244, allocations: 77.39 kB / 0.605 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.6246, allocations: 51.41 kB / 0.6051 GB, free: 14.49 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.6246, allocations: 0 / 0.6051 GB, free: 14.49 MB / 446.1 MB Notification: Performance of Templates: time 0.01103/0.6357, allocations: 5.406 MB / 0.6103 GB, free: 9.098 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches