Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.001323/0.001323, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.001415/0.001415, allocations: 167.5 kB / 23.95 MB, free: 4.172 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.352/1.352, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1933/0.1933, allocations: 32.82 MB / 293.5 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.234e-05, allocations: 5.375 kB / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3569/0.3569, allocations: 141.4 MB / 0.5678 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.3602, allocations: 1.586 MB / 0.5694 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003743/0.3605, allocations: 19.88 kB / 0.5694 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.3612, allocations: 202.6 kB / 0.5696 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.3632, allocations: 0.8209 MB / 0.5704 GB, free: 10 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.3649, allocations: 0.7028 MB / 0.5711 GB, free: 9.309 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.3664, allocations: 1.173 MB / 0.5722 GB, free: 8.129 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.3668, allocations: 271 kB / 0.5725 GB, free: 7.859 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.3679, allocations: 0.631 MB / 0.5731 GB, free: 7.227 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.3684, allocations: 339 kB / 0.5734 GB, free: 6.895 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.766e-05/0.3685, allocations: 44 kB / 0.5735 GB, free: 6.852 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009662/0.3695, allocations: 0.5021 MB / 0.5739 GB, free: 6.352 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.3696, allocations: 159.5 kB / 0.5741 GB, free: 6.195 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.3699, allocations: 191.6 kB / 0.5743 GB, free: 6.008 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.3713, allocations: 1.032 MB / 0.5753 GB, free: 4.973 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3713, allocations: 0 / 0.5753 GB, free: 4.973 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3713, allocations: 0 / 0.5753 GB, free: 4.973 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3713, allocations: 3.938 kB / 0.5753 GB, free: 4.969 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001682/0.373, allocations: 0.834 MB / 0.5761 GB, free: 4.098 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.373, allocations: 15.98 kB / 0.5761 GB, free: 4.082 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003785/0.3734, allocations: 67.66 kB / 0.5762 GB, free: 4.016 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.374, allocations: 349.3 kB / 0.5765 GB, free: 3.648 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3741, allocations: 92.03 kB / 0.5766 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.901e-05/0.3742, allocations: 36 kB / 0.5766 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.3754, allocations: 0.7464 MB / 0.5774 GB, free: 2.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.3754, allocations: 11.94 kB / 0.5774 GB, free: 2.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.3754, allocations: 16 kB / 0.5774 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.3755, allocations: 16.64 kB / 0.5774 GB, free: 2.625 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009598/0.3764, allocations: 398.2 kB / 0.5778 GB, free: 2.238 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.003051/0.3795, allocations: 1.949 MB / 0.5797 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/0.3804, allocations: 327.4 kB / 0.58 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/0.3807, allocations: 149.3 kB / 0.5802 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.3808, allocations: 4.281 kB / 0.5802 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006553/0.3814, allocations: 422.1 kB / 0.5806 GB, free: 15.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.3814, allocations: 4 kB / 0.5806 GB, free: 15.26 MB / 494.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: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01255/0.394, allocations: 3.013 MB / 0.5835 GB, free: 12.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.3941, allocations: 140.5 kB / 0.5836 GB, free: 12.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.3945, allocations: 373.5 kB / 0.584 GB, free: 11.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.3946, allocations: 37.7 kB / 0.584 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.3948, allocations: 256.5 kB / 0.5843 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.395, allocations: 166.5 kB / 0.5844 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.3952, allocations: 126.3 kB / 0.5846 GB, free: 11.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3953, allocations: 362.7 kB / 0.5849 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/0.396, allocations: 242.8 kB / 0.5851 GB, free: 10.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008379/0.3968, allocations: 0.4958 MB / 0.5856 GB, free: 9.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.3982, allocations: 0.6366 MB / 0.5862 GB, free: 9.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3982, allocations: 3.938 kB / 0.5862 GB, free: 9.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002045/0.4003, allocations: 0.8173 MB / 0.587 GB, free: 8.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.4003, allocations: 37.7 kB / 0.5871 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.4003, allocations: 8.859 kB / 0.5871 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004443/0.4008, allocations: 112.8 kB / 0.5872 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.4014, allocations: 140.2 kB / 0.5873 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006671/0.402, allocations: 0.6682 MB / 0.588 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.4025, allocations: 47.95 kB / 0.588 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/0.4026, allocations: 40 kB / 0.5881 GB, free: 7.207 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002878/0.4029, allocations: 204.4 kB / 0.5883 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.4029, allocations: 55.61 kB / 0.5883 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.405, allocations: 0.7336 MB / 0.589 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.405, allocations: 4 kB / 0.589 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.405, allocations: 0 / 0.589 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.405, allocations: 3.938 kB / 0.589 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.4075, allocations: 1.145 MB / 0.5902 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4075, allocations: 0 / 0.5902 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.408, allocations: 103.9 kB / 0.5903 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005718/0.4086, allocations: 100.8 kB / 0.5903 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.4087, allocations: 23.72 kB / 0.5904 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.4106, allocations: 1.679 MB / 0.592 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4106, allocations: 0 / 0.592 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.413, allocations: 0.9771 MB / 0.593 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.4132, allocations: 83.72 kB / 0.593 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.4133, allocations: 16.08 kB / 0.5931 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.4137, allocations: 39.95 kB / 0.5931 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.4139, allocations: 63.83 kB / 0.5932 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.414, allocations: 35.98 kB / 0.5932 GB, free: 1.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002936/0.4143, allocations: 259.2 kB / 0.5934 GB, free: 1.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4143, allocations: 0 / 0.5934 GB, free: 1.492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008746/0.4151, allocations: 243.7 kB / 0.5937 GB, free: 1.254 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007353/0.4159, allocations: 294.6 kB / 0.594 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.4175, allocations: 0.6171 MB / 0.5946 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4175, allocations: 4 kB / 0.5946 GB, free: 328 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008923/0.4184, allocations: 398.7 kB / 0.5949 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.4194, allocations: 210.2 kB / 0.5951 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.4213, allocations: 1.033 MB / 0.5962 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.4215, allocations: 252.8 kB / 0.5964 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004594/0.422, allocations: 152.5 kB / 0.5965 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.4222, allocations: 80.47 kB / 0.5966 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.4222, allocations: 0 / 0.5966 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.02204/0.4442, allocations: 12.96 MB / 0.6093 GB, free: 1.34 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.263032127171755]