Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00164/0.00164, allocations: 85.17 kB / 20.68 MB, free: 1.023 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.001709/0.001709, allocations: 168.4 kB / 23.95 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.515/1.515, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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.2586/0.2586, allocations: 34.29 MB / 295 MB, free: 14.55 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.173e-05/4.344e-05, allocations: 6.219 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3888/0.3888, allocations: 131.4 MB / 0.5606 GB, free: 2.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.391, allocations: 0.9615 MB / 0.5615 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.3911, allocations: 0 / 0.5615 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.3914, allocations: 27.83 kB / 0.5616 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009684/0.3924, allocations: 285 kB / 0.5618 GB, free: 1.316 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.3928, allocations: 120.4 kB / 0.5619 GB, free: 1.199 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.3933, allocations: 187.1 kB / 0.5621 GB, free: 1.016 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.3934, allocations: 4 kB / 0.5621 GB, free: 1.012 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.3937, allocations: 115.6 kB / 0.5622 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.3939, allocations: 51.81 kB / 0.5623 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.3939, allocations: 8 kB / 0.5623 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007587/0.3947, allocations: 259.5 kB / 0.5625 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.005e-05/0.3948, allocations: 27.89 kB / 0.5626 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.91e-05/0.3948, allocations: 31.94 kB / 0.5626 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000692/0.3955, allocations: 319.2 kB / 0.5629 GB, free: 220 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3955, allocations: 0 / 0.5629 GB, free: 220 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3955, allocations: 4 kB / 0.5629 GB, free: 216 kB / 462.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3956, allocations: 0 / 0.5629 GB, free: 216 kB / 462.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.0006697/0.3962, allocations: 341.8 kB / 0.5632 GB, free: 15.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3963, allocations: 12.03 kB / 0.5632 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.3987, allocations: 200.6 kB / 0.5634 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.399, allocations: 149.6 kB / 0.5636 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3991, allocations: 10.06 kB / 0.5636 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.3991, allocations: 11.89 kB / 0.5636 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.3999, allocations: 303.9 kB / 0.5639 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3999, allocations: 4 kB / 0.5639 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.4, allocations: 0 / 0.5639 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.4, allocations: 4 kB / 0.5639 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.4005, allocations: 171.8 kB / 0.5641 GB, free: 14.95 MB / 478.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.0013/0.4018, allocations: 0.4983 MB / 0.5645 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.4022, allocations: 142.5 kB / 0.5647 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.4024, allocations: 72.81 kB / 0.5647 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4024, allocations: 0 / 0.5647 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4025, allocations: 38.56 kB / 0.5648 GB, free: 14.14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.4025, allocations: 0 / 0.5648 GB, free: 14.14 MB / 478.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.006079/0.4085, allocations: 1.151 MB / 0.5659 GB, free: 12.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.4086, allocations: 59.41 kB / 0.566 GB, free: 12.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4087, allocations: 109.8 kB / 0.5661 GB, free: 12.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.4088, allocations: 29.7 kB / 0.5661 GB, free: 12.72 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.4089, allocations: 104 kB / 0.5662 GB, free: 12.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.312e-05/0.4089, allocations: 67.42 kB / 0.5663 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.4091, allocations: 49.69 kB / 0.5663 GB, free: 12.49 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.4093, allocations: 322.8 kB / 0.5666 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.4095, allocations: 67.97 kB / 0.5667 GB, free: 12.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.4097, allocations: 105.9 kB / 0.5668 GB, free: 11.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.4102, allocations: 194.5 kB / 0.567 GB, free: 11.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4102, allocations: 0 / 0.567 GB, free: 11.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006681/0.4109, allocations: 258.2 kB / 0.5672 GB, free: 11.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4109, allocations: 4 kB / 0.5672 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4109, allocations: 7.938 kB / 0.5672 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.4111, allocations: 52.77 kB / 0.5673 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.4115, allocations: 63.98 kB / 0.5673 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005648/0.412, allocations: 0.5563 MB / 0.5679 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.4123, allocations: 8.031 kB / 0.5679 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.4123, allocations: 23.94 kB / 0.5679 GB, free: 10.79 MB / 478.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 (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.0001588/0.4125, allocations: 129.8 kB / 0.568 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.4125, allocations: 7.953 kB / 0.568 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009326/0.4135, allocations: 352.3 kB / 0.5684 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4135, allocations: 0 / 0.5684 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4135, allocations: 0 / 0.5684 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4135, allocations: 3.984 kB / 0.5684 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.4147, allocations: 0.5438 MB / 0.5689 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.4147, allocations: 4.812 kB / 0.5689 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.4151, allocations: 67.89 kB / 0.569 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.4152, allocations: 20.94 kB / 0.569 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.4153, allocations: 15.98 kB / 0.569 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.4165, allocations: 1.24 MB / 0.5702 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4165, allocations: 0 / 0.5702 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.4174, allocations: 433.4 kB / 0.5706 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.4174, allocations: 12.2 kB / 0.5707 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.4174, allocations: 8 kB / 0.5707 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.4177, allocations: 8 kB / 0.5707 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.4178, allocations: 31.89 kB / 0.5707 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.4178, allocations: 20 kB / 0.5707 GB, free: 7.719 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.118e-05/0.4179, allocations: 95.2 kB / 0.5708 GB, free: 7.625 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4179, allocations: 0 / 0.5708 GB, free: 7.625 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.4184, allocations: 79.94 kB / 0.5709 GB, free: 7.547 MB / 478.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 (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.000455/0.4188, allocations: 151 kB / 0.571 GB, free: 7.387 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006091/0.4194, allocations: 204.4 kB / 0.5712 GB, free: 7.188 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.4194, allocations: 4 kB / 0.5712 GB, free: 7.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.4199, allocations: 210.6 kB / 0.5714 GB, free: 6.965 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.4204, allocations: 53.52 kB / 0.5715 GB, free: 6.918 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.4214, allocations: 405.5 kB / 0.5719 GB, free: 6.484 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.4215, allocations: 98.25 kB / 0.572 GB, free: 6.371 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003369/0.4218, allocations: 77.44 kB / 0.572 GB, free: 6.297 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.422, allocations: 56.47 kB / 0.5721 GB, free: 6.242 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.422, allocations: 4 kB / 0.5721 GB, free: 6.238 MB / 478.1 MB Notification: Performance of Templates: time 0.01205/0.4341, allocations: 5.55 MB / 0.5775 GB, free: 0.7305 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.388549327850342]