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.0009463/0.0009463, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.0009411/0.0009411, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.9349/0.9349, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.853e-06/1.853e-06, allocations: 0 / 251.5 MB, free: 7.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.867e-05, allocations: 2.312 kB / 251.5 MB, free: 7.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2646/0.2646, allocations: 140.8 MB / 392.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008959/0.2655, allocations: 0.9724 MB / 393.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.2655, allocations: 0 / 393.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.2658, allocations: 28.09 kB / 393.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005553/0.2663, allocations: 248.8 kB / 393.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.2666, allocations: 131.2 kB / 393.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.2668, allocations: 169.4 kB / 393.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.2668, allocations: 5.391 kB / 393.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.267, allocations: 111.9 kB / 393.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.2671, allocations: 47.11 kB / 394 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.2671, allocations: 4.156 kB / 394 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.2675, allocations: 250.6 kB / 394.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.2675, allocations: 32.78 kB / 394.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.2675, allocations: 36.34 kB / 394.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.2679, allocations: 302.1 kB / 394.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2679, allocations: 0 / 394.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2679, allocations: 0 / 394.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2679, allocations: 1.203 kB / 394.6 MB, free: 10.61 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.0004084/0.2683, allocations: 439.7 kB / 395 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2684, allocations: 11.86 kB / 395 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.2694, allocations: 208.3 kB / 395.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.2695, allocations: 157.7 kB / 395.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2695, allocations: 8.844 kB / 395.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.2696, allocations: 13.36 kB / 395.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.2698, allocations: 276.4 kB / 395.7 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2698, allocations: 3.984 kB / 395.7 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.2698, allocations: 3.25 kB / 395.7 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2698, allocations: 2.969 kB / 395.7 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.27, allocations: 106.7 kB / 395.8 MB, free: 9.855 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.0005063/0.2705, allocations: 0.6205 MB / 396.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2706, allocations: 118.9 kB / 396.5 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.2707, allocations: 52.23 kB / 396.6 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.2707, allocations: 8.5 kB / 396.6 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2707, allocations: 36.02 kB / 396.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.2707, allocations: 0 / 396.6 MB, free: 9.242 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.002277/0.273, allocations: 0.8749 MB / 397.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.357e-05/0.273, allocations: 58 kB / 397.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.28e-05/0.2731, allocations: 168.5 kB / 397.7 MB, free: 8.672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.2731, allocations: 31.98 kB / 397.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.2731, allocations: 143 kB / 397.9 MB, free: 8.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.2731, allocations: 68.45 kB / 398 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.2732, allocations: 57.12 kB / 398 MB, free: 8.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.939e-05/0.2732, allocations: 0.4921 MB / 398.5 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.2733, allocations: 34.56 kB / 398.5 MB, free: 7.941 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.2733, allocations: 85.7 kB / 398.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.2734, allocations: 137.8 kB / 398.8 MB, free: 7.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2734, allocations: 2.531 kB / 398.8 MB, free: 7.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002477/0.2737, allocations: 215.5 kB / 399 MB, free: 7.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2737, allocations: 8.016 kB / 399 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2737, allocations: 0.625 kB / 399 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.2738, allocations: 53.33 kB / 399 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.274, allocations: 50.69 kB / 399.1 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001769/0.2742, allocations: 0.8044 MB / 399.9 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.2743, allocations: 13.55 kB / 399.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.2743, allocations: 19.31 kB / 399.9 MB, free: 6.953 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 6.172e-05/0.2743, allocations: 165.5 kB / 400.1 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.2744, allocations: 19.7 kB / 400.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.2747, allocations: 241.4 kB / 400.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2747, allocations: 2.781 kB / 400.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2747, allocations: 3.938 kB / 400.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2747, allocations: 5.969 kB / 400.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.2751, allocations: 0.5124 MB / 400.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.2751, allocations: 3.938 kB / 400.9 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.2753, allocations: 60.08 kB / 400.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.245e-05/0.2753, allocations: 22.95 kB / 400.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.2753, allocations: 9.062 kB / 400.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004206/0.2757, allocations: 1.713 MB / 402.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2757, allocations: 3.281 kB / 402.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.276, allocations: 409.1 kB / 403.1 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.276, allocations: 6.891 kB / 403.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.276, allocations: 6.344 kB / 403.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.2761, allocations: 15.34 kB / 403.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.2762, allocations: 26.41 kB / 403.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.2762, allocations: 13.94 kB / 403.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.433e-05/0.2762, allocations: 135.2 kB / 403.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2762, allocations: 0 / 403.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.2765, allocations: 80.62 kB / 403.3 MB, free: 4.137 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.00023/0.2767, allocations: 157.2 kB / 403.5 MB, free: 4.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.2769, allocations: 151 kB / 403.6 MB, free: 3.977 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2769, allocations: 5.391 kB / 403.6 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.277, allocations: 260.6 kB / 403.9 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2773, allocations: 49.92 kB / 404 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.2779, allocations: 400.5 kB / 404.3 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.854e-05/0.278, allocations: 73.5 kB / 404.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.2781, allocations: 62.67 kB / 404.5 MB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.2783, allocations: 143 kB / 404.6 MB, free: 3.238 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2783, allocations: 1.094 kB / 404.6 MB, free: 3.238 MB / 330.7 MB Notification: Performance of Templates: time 0.006461/0.2847, allocations: 5.887 MB / 410.5 MB, free: 204 kB / 330.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.0914777228608727]