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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2491/0.2491, allocations: 44.9 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 71.88 kB / 497.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4412, allocations: 64.28 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2147/0.6558, allocations: 149.9 MB / 0.6951 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.6578, allocations: 0.9812 MB / 0.6961 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.6579, allocations: 0 / 0.6961 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.6582, allocations: 31.77 kB / 0.6961 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009179/0.6591, allocations: 246.7 kB / 0.6964 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.6596, allocations: 122.3 kB / 0.6965 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.66, allocations: 179.3 kB / 0.6967 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.66, allocations: 0 / 0.6967 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.6604, allocations: 91.62 kB / 0.6967 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.6605, allocations: 59.7 kB / 0.6968 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.6605, allocations: 4 kB / 0.6968 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/0.6613, allocations: 267.7 kB / 0.6971 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.6614, allocations: 19.91 kB / 0.6971 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.995e-05/0.6614, allocations: 39.86 kB / 0.6971 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006226/0.6621, allocations: 286.9 kB / 0.6974 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6621, allocations: 0 / 0.6974 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.564e-06/0.6621, allocations: 4 kB / 0.6974 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.6621, allocations: 0 / 0.6974 GB, free: 6.723 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000666/0.6627, allocations: 333.8 kB / 0.6977 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.6628, allocations: 12.92 kB / 0.6977 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/0.6657, allocations: 184.6 kB / 0.6979 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.6661, allocations: 157.8 kB / 0.698 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.6661, allocations: 8 kB / 0.6981 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.6662, allocations: 4 kB / 0.6981 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000739/0.6669, allocations: 228 kB / 0.6983 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.667, allocations: 4 kB / 0.6983 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.667, allocations: 0 / 0.6983 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.667, allocations: 0 / 0.6983 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006496/0.6677, allocations: 175.8 kB / 0.6984 GB, free: 5.57 MB / 0.5294 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.001479/0.6691, allocations: 0.5435 MB / 0.699 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.6696, allocations: 138.5 kB / 0.6991 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.6698, allocations: 68.77 kB / 0.6992 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.6699, allocations: 7.938 kB / 0.6992 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.6699, allocations: 38.55 kB / 0.6992 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.6699, allocations: 0 / 0.6992 GB, free: 4.707 MB / 0.5294 GB 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.007283/0.6772, allocations: 1.154 MB / 0.7003 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.6772, allocations: 51.41 kB / 0.7004 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.6774, allocations: 113.8 kB / 0.7005 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.6774, allocations: 29.7 kB / 0.7005 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.6775, allocations: 100 kB / 0.7006 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.6776, allocations: 75.36 kB / 0.7007 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.6777, allocations: 53.69 kB / 0.7008 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.6779, allocations: 326.8 kB / 0.7011 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.6782, allocations: 67.97 kB / 0.7011 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.6784, allocations: 102.8 kB / 0.7012 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.6789, allocations: 188.8 kB / 0.7014 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6789, allocations: 0 / 0.7014 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007425/0.6797, allocations: 267.9 kB / 0.7017 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6797, allocations: 4 kB / 0.7017 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.6797, allocations: 4.094 kB / 0.7017 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.6799, allocations: 48.83 kB / 0.7017 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.6804, allocations: 51.97 kB / 0.7018 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006061/0.681, allocations: 0.5679 MB / 0.7023 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.6812, allocations: 4 kB / 0.7023 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.6813, allocations: 32.08 kB / 0.7024 GB, free: 1.336 MB / 0.5294 GB 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.0001612/0.6815, allocations: 125.7 kB / 0.7025 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.6815, allocations: 11.95 kB / 0.7025 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.6826, allocations: 342 kB / 0.7028 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6826, allocations: 0 / 0.7028 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6826, allocations: 4 kB / 0.7028 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.6826, allocations: 3.984 kB / 0.7028 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.6841, allocations: 0.5985 MB / 0.7034 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6841, allocations: 3.938 kB / 0.7034 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.6846, allocations: 67.88 kB / 0.7035 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.716e-05/0.6847, allocations: 24.94 kB / 0.7035 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.6847, allocations: 15.98 kB / 0.7035 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.6861, allocations: 1.256 MB / 0.7047 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6861, allocations: 4.031 kB / 0.7047 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.6872, allocations: 434.7 kB / 0.7052 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.6872, allocations: 7.984 kB / 0.7052 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.6873, allocations: 8 kB / 0.7052 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.6876, allocations: 11.98 kB / 0.7052 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.6877, allocations: 19.92 kB / 0.7052 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/0.6877, allocations: 31.98 kB / 0.7052 GB, free: 14.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.474e-05/0.6878, allocations: 87.27 kB / 0.7053 GB, free: 14.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6878, allocations: 4.062 kB / 0.7053 GB, free: 14.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006368/0.6884, allocations: 83.81 kB / 0.7054 GB, free: 14 MB / 0.545 GB 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.0004723/0.6889, allocations: 155.1 kB / 0.7055 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007196/0.6896, allocations: 191.8 kB / 0.7057 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6896, allocations: 0 / 0.7057 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.6901, allocations: 218.6 kB / 0.7059 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.6908, allocations: 52.81 kB / 0.706 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.6921, allocations: 491.4 kB / 0.7065 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.6925, allocations: 0.7086 MB / 0.7072 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004309/0.693, allocations: 73.39 kB / 0.7072 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.6932, allocations: 51.41 kB / 0.7073 GB, free: 11.99 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.6932, allocations: 0 / 0.7073 GB, free: 11.99 MB / 0.545 GB Notification: Performance of Templates: time 0.01555/0.7088, allocations: 5.779 MB / 0.7129 GB, free: 6.227 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.919984408654273]