Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001332/0.001332, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001381/0.001381, allocations: 165.8 kB / 25.33 MB, free: 8.723 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.8322/0.8322, allocations: 158.6 MB / 187.2 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.373e-05, allocations: 2.312 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2796/0.2796, allocations: 143.6 MB / 394.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.2805, allocations: 0.9824 MB / 395.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.2806, allocations: 0 / 395.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.2808, allocations: 29.94 kB / 395.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005924/0.2814, allocations: 252.1 kB / 395.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.2817, allocations: 122.3 kB / 396 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.2819, allocations: 168.6 kB / 396.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.2819, allocations: 4.422 kB / 396.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.2821, allocations: 115.8 kB / 396.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.688e-05/0.2822, allocations: 43.77 kB / 396.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2822, allocations: 5.75 kB / 396.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.2825, allocations: 258.3 kB / 396.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.2826, allocations: 24 kB / 396.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.2826, allocations: 33.47 kB / 396.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.283, allocations: 305.2 kB / 396.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.283, allocations: 0 / 396.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.283, allocations: 0 / 396.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.283, allocations: 0 / 396.9 MB, free: 10.3 MB / 330.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.0003814/0.2834, allocations: 441.5 kB / 397.3 MB, free: 9.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2834, allocations: 12.52 kB / 397.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.2846, allocations: 208.3 kB / 397.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.2848, allocations: 151.4 kB / 397.7 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2848, allocations: 7.438 kB / 397.7 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.2848, allocations: 13.39 kB / 397.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.2852, allocations: 296.9 kB / 398 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2852, allocations: 0 / 398 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.2852, allocations: 3.562 kB / 398 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.2852, allocations: 2.938 kB / 398 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.2855, allocations: 130.8 kB / 398.1 MB, free: 9.566 MB / 330.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.000636/0.2861, allocations: 0.6458 MB / 398.8 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.2863, allocations: 132.6 kB / 398.9 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.2864, allocations: 60.34 kB / 399 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2864, allocations: 2.344 kB / 399 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2864, allocations: 39.89 kB / 399 MB, free: 8.906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.2864, allocations: 0 / 399 MB, free: 8.906 MB / 330.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.002884/0.2893, allocations: 0.9725 MB / 400 MB, free: 8.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/0.2893, allocations: 51.41 kB / 400 MB, free: 8.375 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.621e-05/0.2894, allocations: 172.8 kB / 400.2 MB, free: 8.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2894, allocations: 29.2 kB / 400.2 MB, free: 8.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.2894, allocations: 144.8 kB / 400.4 MB, free: 8.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.2895, allocations: 72.08 kB / 400.5 MB, free: 7.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.2895, allocations: 52.95 kB / 400.5 MB, free: 7.953 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.703e-05/0.2896, allocations: 0.4908 MB / 401 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.2896, allocations: 50 kB / 401 MB, free: 7.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.2897, allocations: 92.2 kB / 401.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.2899, allocations: 158.4 kB / 401.3 MB, free: 7.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2899, allocations: 2.078 kB / 401.3 MB, free: 7.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003016/0.2902, allocations: 220 kB / 401.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2902, allocations: 5.688 kB / 401.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2902, allocations: 0 / 401.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.2904, allocations: 35.14 kB / 401.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.2906, allocations: 59.52 kB / 401.6 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002156/0.2908, allocations: 0.8138 MB / 402.4 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.2909, allocations: 2.875 kB / 402.4 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.2909, allocations: 22.95 kB / 402.4 MB, free: 6.398 MB / 330.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 7.411e-05/0.291, allocations: 165.8 kB / 402.6 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.291, allocations: 16.11 kB / 402.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.2914, allocations: 272.9 kB / 402.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2914, allocations: 2.656 kB / 402.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2914, allocations: 0 / 402.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2915, allocations: 2.844 kB / 402.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.292, allocations: 0.5508 MB / 403.4 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.292, allocations: 7.062 kB / 403.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.2922, allocations: 47.97 kB / 403.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.3e-05/0.2923, allocations: 31.77 kB / 403.5 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.2923, allocations: 14.14 kB / 403.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004658/0.2928, allocations: 1.729 MB / 405.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2928, allocations: 0 / 405.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/0.2962, allocations: 434.5 kB / 405.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.2962, allocations: 7.234 kB / 405.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.2962, allocations: 6.094 kB / 405.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.2964, allocations: 6.984 kB / 405.7 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.2964, allocations: 34.89 kB / 405.8 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.2964, allocations: 21.05 kB / 405.8 MB, free: 3.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.349e-05/0.2965, allocations: 125.8 kB / 405.9 MB, free: 3.496 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2965, allocations: 5.297 kB / 405.9 MB, free: 3.492 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003556/0.2968, allocations: 80.44 kB / 406 MB, free: 3.484 MB / 330.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.0002902/0.2971, allocations: 155.7 kB / 406.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.2974, allocations: 170.2 kB / 406.3 MB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2974, allocations: 0 / 406.3 MB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.2976, allocations: 271.2 kB / 406.6 MB, free: 3.117 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.298, allocations: 59.83 kB / 406.6 MB, free: 3.094 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.2988, allocations: 402.1 kB / 407 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.454e-05/0.2988, allocations: 67.38 kB / 407.1 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.003204/0.302, allocations: 59.8 kB / 407.1 MB, free: 2.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3021, allocations: 46.66 kB / 407.2 MB, free: 2.664 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3021, allocations: 0 / 407.2 MB, free: 2.664 MB / 330.7 MB Notification: Performance of Templates: time 0.01373/0.3159, allocations: 5.819 MB / 413 MB, free: 15.65 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0355031662620604]