Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.001475/0.001475, allocations: 88.28 kB / 20.96 MB, free: 3.441 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.001771/0.001771, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 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 1.566/1.566, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3963/0.3963, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.798e-05/4.966e-05, allocations: 3.719 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4084/0.4084, allocations: 131.4 MB / 0.4967 GB, free: 24.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.4097, allocations: 0.9604 MB / 0.4976 GB, free: 24.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.4097, allocations: 1.469 kB / 0.4976 GB, free: 24.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.41, allocations: 25.69 kB / 0.4976 GB, free: 24.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007163/0.4107, allocations: 290 kB / 0.4979 GB, free: 24.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.4111, allocations: 115.5 kB / 0.498 GB, free: 24.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.4113, allocations: 186.5 kB / 0.4982 GB, free: 23.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.4114, allocations: 4.234 kB / 0.4982 GB, free: 23.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.4116, allocations: 118.6 kB / 0.4983 GB, free: 23.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.4117, allocations: 59.67 kB / 0.4984 GB, free: 23.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.4117, allocations: 5.219 kB / 0.4984 GB, free: 23.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005231/0.4122, allocations: 260.6 kB / 0.4986 GB, free: 23.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.4123, allocations: 17.47 kB / 0.4986 GB, free: 23.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.4124, allocations: 36.72 kB / 0.4987 GB, free: 23.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.4129, allocations: 327.7 kB / 0.499 GB, free: 23.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4129, allocations: 0 / 0.499 GB, free: 23.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4129, allocations: 0 / 0.499 GB, free: 23.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.4129, allocations: 1.219 kB / 0.499 GB, free: 23.72 MB / 410.7 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.0004502/0.4134, allocations: 330.2 kB / 0.4993 GB, free: 23.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4134, allocations: 14.47 kB / 0.4993 GB, free: 23.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.4155, allocations: 227.1 kB / 0.4995 GB, free: 23.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.4158, allocations: 148.1 kB / 0.4997 GB, free: 23.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4158, allocations: 8.594 kB / 0.4997 GB, free: 23.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.4159, allocations: 19.44 kB / 0.4997 GB, free: 23.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.4164, allocations: 302.3 kB / 0.5 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4164, allocations: 1 kB / 0.5 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.4165, allocations: 1.031 kB / 0.5 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-06/0.4165, allocations: 1.844 kB / 0.5 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.4169, allocations: 168.6 kB / 0.5001 GB, free: 22.96 MB / 410.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.0009241/0.4178, allocations: 0.4984 MB / 0.5006 GB, free: 22.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.4181, allocations: 143 kB / 0.5008 GB, free: 22.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.4183, allocations: 73.84 kB / 0.5008 GB, free: 22.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.4183, allocations: 4.016 kB / 0.5008 GB, free: 22.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.4183, allocations: 31.94 kB / 0.5009 GB, free: 22.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.4183, allocations: 0 / 0.5009 GB, free: 22.38 MB / 410.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.004923/0.4233, allocations: 1.11 MB / 0.502 GB, free: 21.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.4233, allocations: 61.62 kB / 0.502 GB, free: 21.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.4234, allocations: 117 kB / 0.5021 GB, free: 21.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4234, allocations: 27.11 kB / 0.5021 GB, free: 21.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.4234, allocations: 100.1 kB / 0.5022 GB, free: 21.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.4235, allocations: 65.89 kB / 0.5023 GB, free: 21.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.4236, allocations: 51.23 kB / 0.5024 GB, free: 21.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.4236, allocations: 324.1 kB / 0.5027 GB, free: 21.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.4238, allocations: 67.06 kB / 0.5027 GB, free: 21.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.4239, allocations: 100.7 kB / 0.5028 GB, free: 21.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.4242, allocations: 181.6 kB / 0.503 GB, free: 20.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4242, allocations: 0 / 0.503 GB, free: 20.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004773/0.4247, allocations: 247.5 kB / 0.5032 GB, free: 20.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4247, allocations: 5.953 kB / 0.5032 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4247, allocations: 1.125 kB / 0.5032 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.4249, allocations: 40.78 kB / 0.5033 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.4252, allocations: 56.66 kB / 0.5033 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002829/0.4255, allocations: 0.5514 MB / 0.5039 GB, free: 20.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.4257, allocations: 7.422 kB / 0.5039 GB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.4257, allocations: 21.44 kB / 0.5039 GB, free: 20.3 MB / 410.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 8.885e-05/0.4258, allocations: 124.7 kB / 0.504 GB, free: 20.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.4259, allocations: 21.05 kB / 0.504 GB, free: 20.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000651/0.4265, allocations: 304.6 kB / 0.5043 GB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4265, allocations: 2.25 kB / 0.5043 GB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4265, allocations: 1.578 kB / 0.5043 GB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4266, allocations: 5.203 kB / 0.5043 GB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/0.4274, allocations: 0.5145 MB / 0.5048 GB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4274, allocations: 5 kB / 0.5048 GB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.4278, allocations: 59.62 kB / 0.5049 GB, free: 19.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.853e-05/0.4279, allocations: 17.62 kB / 0.5049 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.4279, allocations: 12.67 kB / 0.5049 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006249/0.4285, allocations: 1.245 MB / 0.5061 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.4285, allocations: 0 / 0.5061 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.4292, allocations: 413.9 kB / 0.5065 GB, free: 18.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.4292, allocations: 8.891 kB / 0.5065 GB, free: 18.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.4292, allocations: 7.422 kB / 0.5066 GB, free: 18.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.4294, allocations: 10.66 kB / 0.5066 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.4295, allocations: 22.84 kB / 0.5066 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.4295, allocations: 25.44 kB / 0.5066 GB, free: 18.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.708e-05/0.4296, allocations: 85.16 kB / 0.5067 GB, free: 18.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4296, allocations: 0 / 0.5067 GB, free: 18.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004446/0.43, allocations: 86.02 kB / 0.5068 GB, free: 18.02 MB / 410.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 (20): * Single equations (assignments): 19 * 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.0003463/0.4304, allocations: 153.9 kB / 0.5069 GB, free: 17.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.4308, allocations: 184.9 kB / 0.5071 GB, free: 17.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4308, allocations: 1.875 kB / 0.5071 GB, free: 17.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.4312, allocations: 219.3 kB / 0.5073 GB, free: 17.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.4316, allocations: 58.92 kB / 0.5074 GB, free: 17.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000672/0.4323, allocations: 390.1 kB / 0.5077 GB, free: 17.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.219e-05/0.4324, allocations: 90.23 kB / 0.5078 GB, free: 17.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002681/0.4326, allocations: 66.83 kB / 0.5079 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.4328, allocations: 44.78 kB / 0.5079 GB, free: 17.3 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4328, allocations: 0 / 0.5079 GB, free: 17.3 MB / 410.7 MB Notification: Performance of Templates: time 0.008838/0.4416, allocations: 5.268 MB / 0.5131 GB, free: 16.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.573684742092155]