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.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.000683/0.000683, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007702/0.0007702, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9567/0.9567, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1245/0.1245, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.874e-05, allocations: 2.281 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2591/0.2591, allocations: 129.5 MB / 0.525 GB, free: 6.074 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008028/0.2599, allocations: 0.8867 MB / 0.5259 GB, free: 5.199 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.26, allocations: 4 kB / 0.5259 GB, free: 5.195 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.2602, allocations: 23.83 kB / 0.5259 GB, free: 5.172 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004462/0.2607, allocations: 249.2 kB / 0.5262 GB, free: 4.93 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.2609, allocations: 131.6 kB / 0.5263 GB, free: 4.801 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.2611, allocations: 167.2 kB / 0.5264 GB, free: 4.637 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.2611, allocations: 4 kB / 0.5264 GB, free: 4.633 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.2613, allocations: 111.6 kB / 0.5266 GB, free: 4.523 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.378e-05/0.2614, allocations: 47.88 kB / 0.5266 GB, free: 4.477 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.2614, allocations: 8 kB / 0.5266 GB, free: 4.469 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.2617, allocations: 247.6 kB / 0.5268 GB, free: 4.227 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.2617, allocations: 23.91 kB / 0.5269 GB, free: 4.203 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.2618, allocations: 35.92 kB / 0.5269 GB, free: 4.168 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.2621, allocations: 323.2 kB / 0.5272 GB, free: 3.852 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2621, allocations: 3.938 kB / 0.5272 GB, free: 3.848 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2621, allocations: 0 / 0.5272 GB, free: 3.848 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2621, allocations: 0 / 0.5272 GB, free: 3.848 MB / 426.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.0004071/0.2625, allocations: 330.4 kB / 0.5275 GB, free: 3.496 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2626, allocations: 8.031 kB / 0.5275 GB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009906/0.2635, allocations: 204.6 kB / 0.5277 GB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.2638, allocations: 149.6 kB / 0.5279 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2638, allocations: 9.969 kB / 0.5279 GB, free: 3.109 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.2638, allocations: 8.562 kB / 0.5279 GB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.2644, allocations: 304.5 kB / 0.5282 GB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2644, allocations: 4 kB / 0.5282 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.2644, allocations: 4 kB / 0.5282 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2645, allocations: 7.938 kB / 0.5282 GB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.2647, allocations: 179.7 kB / 0.5284 GB, free: 2.582 MB / 426.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.0006152/0.2653, allocations: 0.4902 MB / 0.5288 GB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.2655, allocations: 130.5 kB / 0.529 GB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.2656, allocations: 68.83 kB / 0.529 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2656, allocations: 3.938 kB / 0.529 GB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2657, allocations: 44.86 kB / 0.5291 GB, free: 1.793 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.2657, allocations: 4 kB / 0.5291 GB, free: 1.789 MB / 426.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.002652/0.2683, allocations: 1.145 MB / 0.5302 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.2683, allocations: 51.41 kB / 0.5303 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.2684, allocations: 117.8 kB / 0.5304 GB, free: 416 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2684, allocations: 25.7 kB / 0.5304 GB, free: 384 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.2685, allocations: 104 kB / 0.5305 GB, free: 276 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.2685, allocations: 67.44 kB / 0.5306 GB, free: 208 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.2685, allocations: 53.69 kB / 0.5306 GB, free: 148 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.2686, allocations: 322.8 kB / 0.5309 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.2687, allocations: 68.78 kB / 0.531 GB, free: 15.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.2688, allocations: 107.2 kB / 0.5311 GB, free: 15.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.269, allocations: 183.2 kB / 0.5313 GB, free: 15.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.269, allocations: 0 / 0.5313 GB, free: 15.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002857/0.2693, allocations: 266.2 kB / 0.5315 GB, free: 15.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2693, allocations: 10.34 kB / 0.5315 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2693, allocations: 0 / 0.5315 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.2694, allocations: 52.77 kB / 0.5316 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.2696, allocations: 55.95 kB / 0.5316 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002636/0.2699, allocations: 0.5642 MB / 0.5322 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.2699, allocations: 9.75 kB / 0.5322 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.27, allocations: 24 kB / 0.5322 GB, free: 14.44 MB / 442.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.257e-05/0.27, allocations: 129.7 kB / 0.5323 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.2701, allocations: 15.88 kB / 0.5323 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.2705, allocations: 343.9 kB / 0.5327 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2705, allocations: 0 / 0.5327 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.2705, allocations: 4 kB / 0.5327 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2705, allocations: 0 / 0.5327 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.2711, allocations: 0.5423 MB / 0.5332 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.738e-06/0.2711, allocations: 5.375 kB / 0.5332 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2712, allocations: 63.89 kB / 0.5333 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-05/0.2713, allocations: 24.78 kB / 0.5333 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2713, allocations: 11.98 kB / 0.5333 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005327/0.2718, allocations: 1.241 MB / 0.5345 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.2718, allocations: 8.016 kB / 0.5345 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.2725, allocations: 430.9 kB / 0.5349 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.2725, allocations: 15.98 kB / 0.535 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2725, allocations: 4 kB / 0.535 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.2726, allocations: 8 kB / 0.535 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.2727, allocations: 40.06 kB / 0.535 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.2727, allocations: 20 kB / 0.535 GB, free: 11.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.945e-05/0.2727, allocations: 91.27 kB / 0.5351 GB, free: 11.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2727, allocations: 0 / 0.5351 GB, free: 11.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.273, allocations: 79.94 kB / 0.5352 GB, free: 11.19 MB / 442.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 (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.0002523/0.2732, allocations: 151 kB / 0.5353 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.2735, allocations: 187.8 kB / 0.5355 GB, free: 10.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2735, allocations: 0 / 0.5355 GB, free: 10.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.2737, allocations: 225.1 kB / 0.5357 GB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.274, allocations: 52.36 kB / 0.5358 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.2745, allocations: 433.5 kB / 0.5362 GB, free: 10.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.827e-05/0.2745, allocations: 94.09 kB / 0.5363 GB, free: 9.992 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.2747, allocations: 56.47 kB / 0.5363 GB, free: 9.938 MB / 442.7 MB Notification: Performance of SimCode: time 3.5e-07/0.2747, allocations: 0 / 0.5363 GB, free: 9.938 MB / 442.7 MB Notification: Performance of Templates: time 0.003854/0.2785, allocations: 3.861 MB / 0.5401 GB, free: 6.078 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.170177284628153]