Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 220.8 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2444/0.2444, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 79.88 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3696, allocations: 66.03 MB / 0.5611 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1901/0.5597, allocations: 131.5 MB / 0.6895 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.562, allocations: 1.437 MB / 0.6909 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.5621, allocations: 0 / 0.6909 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.5624, allocations: 43.75 kB / 0.6909 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.5636, allocations: 414 kB / 0.6913 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.5642, allocations: 182.8 kB / 0.6915 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.5645, allocations: 183.2 kB / 0.6917 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.5645, allocations: 4 kB / 0.6917 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.5648, allocations: 91.61 kB / 0.6918 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.5649, allocations: 47.83 kB / 0.6918 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.5649, allocations: 8 kB / 0.6918 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.5661, allocations: 0.5455 MB / 0.6924 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.5661, allocations: 31.89 kB / 0.6924 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.5662, allocations: 51.8 kB / 0.6924 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007818/0.567, allocations: 401.5 kB / 0.6928 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.567, allocations: 0 / 0.6928 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.532e-06/0.567, allocations: 0 / 0.6928 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.567, allocations: 0 / 0.6928 GB, free: 12.77 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006153/0.5676, allocations: 353.8 kB / 0.6932 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5677, allocations: 16.02 kB / 0.6932 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.57, allocations: 200.6 kB / 0.6934 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.5704, allocations: 154 kB / 0.6935 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.5704, allocations: 0 / 0.6935 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.262e-05/0.5704, allocations: 12 kB / 0.6935 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.571, allocations: 281.5 kB / 0.6938 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.571, allocations: 0 / 0.6938 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.5711, allocations: 8 kB / 0.6938 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5711, allocations: 3.938 kB / 0.6938 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.5717, allocations: 235.8 kB / 0.694 GB, free: 11.46 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.001896/0.5736, allocations: 0.5399 MB / 0.6946 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.574, allocations: 182.4 kB / 0.6947 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.5743, allocations: 96.8 kB / 0.6948 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.5744, allocations: 15.98 kB / 0.6948 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.5744, allocations: 38.56 kB / 0.6949 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.5744, allocations: 0 / 0.6949 GB, free: 10.54 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.006038/0.5805, allocations: 1.394 MB / 0.6962 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.5805, allocations: 59.39 kB / 0.6963 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.5806, allocations: 109.8 kB / 0.6964 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.5807, allocations: 29.7 kB / 0.6964 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.5808, allocations: 100.4 kB / 0.6965 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.605e-05/0.5808, allocations: 67.42 kB / 0.6966 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.5809, allocations: 45.66 kB / 0.6966 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5811, allocations: 318.8 kB / 0.6969 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.5814, allocations: 91.95 kB / 0.697 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.5816, allocations: 132.9 kB / 0.6972 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.5822, allocations: 221.2 kB / 0.6974 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5822, allocations: 0 / 0.6974 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006922/0.5829, allocations: 290.3 kB / 0.6976 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.5829, allocations: 7.938 kB / 0.6976 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5829, allocations: 0 / 0.6976 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.583, allocations: 20.84 kB / 0.6977 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.5835, allocations: 55.91 kB / 0.6977 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005493/0.5841, allocations: 0.5332 MB / 0.6982 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.5844, allocations: 16.2 kB / 0.6983 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.5844, allocations: 11.94 kB / 0.6983 GB, free: 6.891 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.000155/0.5846, allocations: 125.8 kB / 0.6984 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.5846, allocations: 7.953 kB / 0.6984 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008241/0.5855, allocations: 323 kB / 0.6987 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.5855, allocations: 3.938 kB / 0.6987 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5855, allocations: 0 / 0.6987 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5855, allocations: 7.984 kB / 0.6987 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.5867, allocations: 0.5797 MB / 0.6993 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5867, allocations: 8.094 kB / 0.6993 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.5872, allocations: 51.95 kB / 0.6993 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.442e-05/0.5873, allocations: 24.78 kB / 0.6994 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.5873, allocations: 4 kB / 0.6994 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.5884, allocations: 1.237 MB / 0.7006 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5884, allocations: 12.12 kB / 0.7006 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.5893, allocations: 442.7 kB / 0.701 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.5894, allocations: 11.98 kB / 0.701 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.5894, allocations: 7.938 kB / 0.701 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.5897, allocations: 11.98 kB / 0.701 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.5898, allocations: 19.91 kB / 0.7011 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.5898, allocations: 11.98 kB / 0.7011 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.5899, allocations: 95.33 kB / 0.7012 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5899, allocations: 0 / 0.7012 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005597/0.5905, allocations: 135.7 kB / 0.7013 GB, free: 3.594 MB / 0.5294 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 (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.0007435/0.5912, allocations: 260.3 kB / 0.7015 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.5919, allocations: 241.5 kB / 0.7018 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5919, allocations: 0 / 0.7018 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.5923, allocations: 226.9 kB / 0.702 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.5928, allocations: 52.12 kB / 0.702 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.5939, allocations: 466.9 kB / 0.7025 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.594, allocations: 93.97 kB / 0.7026 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003029/0.5943, allocations: 57.33 kB / 0.7026 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.5944, allocations: 19.42 kB / 0.7026 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.5944, allocations: 4 kB / 0.7026 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of Templates: time 0.01278/0.6072, allocations: 6.45 MB / 0.7089 GB, free: 11.71 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 5.781192807480693]