Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.0009543/0.0009543, allocations: 85.95 kB / 23 MB, free: 1.504 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.0009959/0.0009959, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.9521/0.9521, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 252.3 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.446e-05, allocations: 2.312 kB / 252.3 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2732/0.2732, allocations: 142.5 MB / 394.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2743, allocations: 0.6974 MB / 395.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.2745, allocations: 7.125 kB / 395.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.2748, allocations: 93.36 kB / 395.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006322/0.2755, allocations: 393.4 kB / 395.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.2761, allocations: 366.6 kB / 396.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008568/0.2769, allocations: 0.9495 MB / 397.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.2771, allocations: 69.61 kB / 397.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.2786, allocations: 0.9177 MB / 398.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.2789, allocations: 253.8 kB / 398.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.279, allocations: 30.53 kB / 398.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.2792, allocations: 119.4 kB / 398.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.2793, allocations: 104.8 kB / 398.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.2794, allocations: 140.1 kB / 398.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.2798, allocations: 373.4 kB / 399.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2798, allocations: 0 / 399.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2798, allocations: 2.578 kB / 399.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2798, allocations: 0 / 399.2 MB, free: 10.29 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005568/0.2804, allocations: 0.6264 MB / 399.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2804, allocations: 18.78 kB / 399.9 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.2806, allocations: 89.36 kB / 400 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.2809, allocations: 232.4 kB / 400.2 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2809, allocations: 16.72 kB / 400.2 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.2809, allocations: 26.34 kB / 400.2 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.2812, allocations: 497.4 kB / 400.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2812, allocations: 2.875 kB / 400.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2812, allocations: 12.5 kB / 400.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2812, allocations: 5.219 kB / 400.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.2813, allocations: 115.9 kB / 400.9 MB, free: 9.059 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.0008361/0.2822, allocations: 1.413 MB / 402.3 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.2823, allocations: 129.1 kB / 402.4 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.2824, allocations: 56.62 kB / 402.5 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.2824, allocations: 9.281 kB / 402.5 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2824, allocations: 39.11 kB / 402.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.904e-06/0.2824, allocations: 0 / 402.5 MB, free: 7.781 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.002354/0.2848, allocations: 0.9413 MB / 403.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.2848, allocations: 54.19 kB / 403.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.2849, allocations: 268.3 kB / 403.8 MB, free: 7.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2849, allocations: 34.83 kB / 403.8 MB, free: 7.012 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.285, allocations: 227.3 kB / 404 MB, free: 6.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.285, allocations: 107.8 kB / 404.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.2851, allocations: 84.5 kB / 404.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.2851, allocations: 0.5081 MB / 404.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.2852, allocations: 35.72 kB / 404.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.83e-05/0.2853, allocations: 187.4 kB / 404.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2854, allocations: 246.8 kB / 405.2 MB, free: 5.828 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2855, allocations: 6.812 kB / 405.2 MB, free: 5.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003007/0.2858, allocations: 312.4 kB / 405.5 MB, free: 5.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2858, allocations: 5.25 kB / 405.5 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2858, allocations: 2.719 kB / 405.5 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.2859, allocations: 59.92 kB / 405.5 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.2861, allocations: 82.48 kB / 405.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007273/0.2868, allocations: 2.539 MB / 408.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2869, allocations: 12.56 kB / 408.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.2869, allocations: 24.94 kB / 408.2 MB, free: 3.086 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.478e-05/0.287, allocations: 176.1 kB / 408.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.2871, allocations: 38.33 kB / 408.4 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.2875, allocations: 344.6 kB / 408.7 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2875, allocations: 2.031 kB / 408.8 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2875, allocations: 3.469 kB / 408.8 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001908/0.2877, allocations: 495 kB / 409.2 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.2881, allocations: 0.5461 MB / 409.8 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2881, allocations: 3.125 kB / 409.8 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.2883, allocations: 66.17 kB / 409.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.779e-05/0.2884, allocations: 24.02 kB / 409.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2884, allocations: 13.06 kB / 409.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000469/0.2888, allocations: 1.713 MB / 411.6 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2888, allocations: 0 / 411.6 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.2894, allocations: 413.6 kB / 412 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.2894, allocations: 27.72 kB / 412 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.2894, allocations: 6.406 kB / 412 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.2896, allocations: 6.625 kB / 412 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.2896, allocations: 25.7 kB / 412.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.2897, allocations: 23.83 kB / 412.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2898, allocations: 184.1 kB / 412.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2898, allocations: 0 / 412.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004916/0.2903, allocations: 132.8 kB / 412.4 MB, free: 15.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 24 * 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.0003086/0.2906, allocations: 143.6 kB / 412.5 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.291, allocations: 356.3 kB / 412.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.291, allocations: 0 / 412.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.2912, allocations: 261.6 kB / 413.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.2918, allocations: 146 kB / 413.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.2929, allocations: 0.6002 MB / 413.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.638e-05/0.293, allocations: 93.14 kB / 414 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.2933, allocations: 94.25 kB / 414.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.2937, allocations: 222 kB / 414.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2937, allocations: 0 / 414.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of Templates: time 0.01204/0.3057, allocations: 8.703 MB / 423 MB, free: 9.934 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.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.3982672607526183]