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.0009145/0.0009145, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003923/0.003923, allocations: 160.3 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8797/0.8797, allocations: 177.2 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2263/0.2263, allocations: 34.26 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] 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 1.723e-06/1.723e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.297e-05, allocations: 6.219 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2875/0.2875, allocations: 131.5 MB / 0.5615 GB, free: 12.78 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.2886, allocations: 1.433 MB / 0.5629 GB, free: 11.34 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.2887, allocations: 3.938 kB / 0.5629 GB, free: 11.34 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.289, allocations: 47.73 kB / 0.5629 GB, free: 11.29 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.2896, allocations: 421.6 kB / 0.5633 GB, free: 10.88 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.2899, allocations: 179.3 kB / 0.5635 GB, free: 10.7 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.2901, allocations: 187.1 kB / 0.5637 GB, free: 10.52 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.2902, allocations: 2.922 kB / 0.5637 GB, free: 10.52 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2903, allocations: 115.6 kB / 0.5638 GB, free: 10.41 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.2904, allocations: 47.88 kB / 0.5639 GB, free: 10.36 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2904, allocations: 8 kB / 0.5639 GB, free: 10.35 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005461/0.291, allocations: 0.5492 MB / 0.5644 GB, free: 9.801 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.291, allocations: 31.89 kB / 0.5644 GB, free: 9.77 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.2911, allocations: 47.91 kB / 0.5645 GB, free: 9.723 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.2915, allocations: 442.9 kB / 0.5649 GB, free: 9.289 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2915, allocations: 3.984 kB / 0.5649 GB, free: 9.285 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2915, allocations: 0 / 0.5649 GB, free: 9.285 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.2915, allocations: 3.938 kB / 0.5649 GB, free: 9.281 MB / 474.7 MB 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.00044/0.292, allocations: 354.5 kB / 0.5652 GB, free: 8.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.292, allocations: 8.031 kB / 0.5652 GB, free: 8.902 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.2931, allocations: 211.9 kB / 0.5655 GB, free: 8.699 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.2933, allocations: 149.2 kB / 0.5656 GB, free: 8.531 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2933, allocations: 11.25 kB / 0.5656 GB, free: 8.523 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.2933, allocations: 15.95 kB / 0.5656 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.2936, allocations: 283.5 kB / 0.5659 GB, free: 8.207 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2937, allocations: 0 / 0.5659 GB, free: 8.207 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.2937, allocations: 8 kB / 0.5659 GB, free: 8.199 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2937, allocations: 0 / 0.5659 GB, free: 8.199 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.294, allocations: 239.8 kB / 0.5661 GB, free: 7.965 MB / 474.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.001239/0.2953, allocations: 0.5361 MB / 0.5666 GB, free: 7.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.2955, allocations: 182.4 kB / 0.5668 GB, free: 7.242 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.2956, allocations: 92.81 kB / 0.5669 GB, free: 7.148 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.44e-05/0.2957, allocations: 19.98 kB / 0.5669 GB, free: 7.129 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.2957, allocations: 34.56 kB / 0.567 GB, free: 7.086 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.2957, allocations: 0 / 0.567 GB, free: 7.086 MB / 474.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.002896/0.2986, allocations: 1.377 MB / 0.5683 GB, free: 5.648 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.2987, allocations: 59.34 kB / 0.5684 GB, free: 5.578 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.2987, allocations: 117.7 kB / 0.5685 GB, free: 5.453 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2988, allocations: 29.7 kB / 0.5685 GB, free: 5.418 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.2988, allocations: 96.41 kB / 0.5686 GB, free: 5.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.2988, allocations: 75.36 kB / 0.5687 GB, free: 5.246 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.2989, allocations: 45.69 kB / 0.5687 GB, free: 5.195 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.299, allocations: 314.8 kB / 0.569 GB, free: 4.879 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.2991, allocations: 95.94 kB / 0.5691 GB, free: 4.785 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.2992, allocations: 123.2 kB / 0.5692 GB, free: 4.656 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.2995, allocations: 225 kB / 0.5694 GB, free: 4.426 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2995, allocations: 0 / 0.5694 GB, free: 4.426 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003511/0.2998, allocations: 293.4 kB / 0.5697 GB, free: 4.133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2999, allocations: 7.938 kB / 0.5697 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2999, allocations: 0 / 0.5697 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.3, allocations: 28.83 kB / 0.5698 GB, free: 4.094 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3002, allocations: 59.89 kB / 0.5698 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000235/0.3004, allocations: 0.529 MB / 0.5703 GB, free: 3.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3005, allocations: 12.22 kB / 0.5703 GB, free: 3.469 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.3006, allocations: 8 kB / 0.5703 GB, free: 3.461 MB / 474.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.54e-05/0.3006, allocations: 138.8 kB / 0.5705 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.3007, allocations: 7.953 kB / 0.5705 GB, free: 3.309 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.3011, allocations: 316.5 kB / 0.5708 GB, free: 2.992 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3011, allocations: 0 / 0.5708 GB, free: 2.992 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3011, allocations: 0 / 0.5708 GB, free: 2.992 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3011, allocations: 0 / 0.5708 GB, free: 2.992 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006186/0.3017, allocations: 0.589 MB / 0.5714 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3017, allocations: 96 / 0.5714 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.3019, allocations: 55.84 kB / 0.5714 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-05/0.302, allocations: 28.78 kB / 0.5714 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.302, allocations: 3.984 kB / 0.5714 GB, free: 2.266 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005288/0.3025, allocations: 1.24 MB / 0.5727 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3025, allocations: 8.172 kB / 0.5727 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.303, allocations: 454.6 kB / 0.5731 GB, free: 456 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.303, allocations: 7.984 kB / 0.5731 GB, free: 448 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.303, allocations: 8 kB / 0.5731 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3032, allocations: 11.94 kB / 0.5731 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.3032, allocations: 19.91 kB / 0.5731 GB, free: 408 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3032, allocations: 7.984 kB / 0.5732 GB, free: 400 kB / 474.7 MB Notification: Performance of sorting global known variables: time 3.191e-05/0.3032, allocations: 91.64 kB / 0.5732 GB, free: 308 kB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3032, allocations: 4 kB / 0.5732 GB, free: 304 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005549/0.3038, allocations: 131.7 kB / 0.5734 GB, free: 172 kB / 474.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 (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.0004282/0.3042, allocations: 270.7 kB / 0.5736 GB, free: 15.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.3046, allocations: 223.7 kB / 0.5738 GB, free: 15.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3046, allocations: 0 / 0.5738 GB, free: 15.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3048, allocations: 224.2 kB / 0.5741 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.305, allocations: 52.17 kB / 0.5741 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.3055, allocations: 432.5 kB / 0.5745 GB, free: 14.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.331e-05/0.3056, allocations: 90.09 kB / 0.5746 GB, free: 14.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3057, allocations: 36.48 kB / 0.5746 GB, free: 14.79 MB / 490.7 MB Notification: Performance of SimCode: time 6.12e-07/0.3057, allocations: 3.938 kB / 0.5746 GB, free: 14.79 MB / 490.7 MB Notification: Performance of Templates: time 0.004526/0.3102, allocations: 5.256 MB / 0.5798 GB, free: 9.551 MB / 490.7 MB " [Timeout remaining time 660] 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.164876338094473]