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.0008737/0.0008737, allocations: 83.69 kB / 21.43 MB, free: 3.121 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.003644/0.003644, allocations: 164.4 kB / 24.7 MB, free: 9.414 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.8732/0.8732, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 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.2507/0.2507, allocations: 32.79 MB / 294.2 MB, free: 1.227 MB / 266.7 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.643e-06/1.643e-06, allocations: 0 / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.264e-05, allocations: 3.828 kB / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3582/0.3583, allocations: 141.4 MB / 0.5686 GB, free: 7.047 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004593/0.3628, allocations: 1.581 MB / 0.5701 GB, free: 5.469 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008205/0.3637, allocations: 23.81 kB / 0.5701 GB, free: 5.445 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008685/0.3645, allocations: 210.5 kB / 0.5703 GB, free: 5.238 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.3668, allocations: 0.8255 MB / 0.5711 GB, free: 4.41 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.3683, allocations: 0.6899 MB / 0.5718 GB, free: 3.727 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.3695, allocations: 1.162 MB / 0.5729 GB, free: 2.562 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.37, allocations: 282.1 kB / 0.5732 GB, free: 2.281 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008417/0.3708, allocations: 0.631 MB / 0.5738 GB, free: 1.648 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.3712, allocations: 343 kB / 0.5741 GB, free: 1.312 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.3713, allocations: 44 kB / 0.5742 GB, free: 1.27 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009154/0.3722, allocations: 499.1 kB / 0.5747 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3723, allocations: 171.4 kB / 0.5748 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.3725, allocations: 191.6 kB / 0.575 GB, free: 436 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.3737, allocations: 1.028 MB / 0.576 GB, free: 15.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3737, allocations: 0 / 0.576 GB, free: 15.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3737, allocations: 0 / 0.576 GB, free: 15.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.3737, allocations: 0 / 0.576 GB, free: 15.4 MB / 490.7 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.001416/0.3752, allocations: 0.843 MB / 0.5768 GB, free: 14.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3752, allocations: 11.98 kB / 0.5768 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.3755, allocations: 75.66 kB / 0.5769 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/0.3764, allocations: 353.3 kB / 0.5773 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.495e-05/0.3764, allocations: 88.39 kB / 0.5773 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.3765, allocations: 36 kB / 0.5774 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.3772, allocations: 0.7566 MB / 0.5781 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3773, allocations: 3.938 kB / 0.5781 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.3773, allocations: 19.94 kB / 0.5781 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.3773, allocations: 16.66 kB / 0.5782 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.3779, allocations: 398.2 kB / 0.5785 GB, free: 12.65 MB / 490.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.002002/0.3799, allocations: 1.938 MB / 0.5804 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.3804, allocations: 322.7 kB / 0.5807 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.3806, allocations: 149.3 kB / 0.5809 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.3806, allocations: 12.22 kB / 0.5809 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004184/0.381, allocations: 422.1 kB / 0.5813 GB, free: 9.691 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.725e-06/0.381, allocations: 0 / 0.5813 GB, free: 9.691 MB / 490.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: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.006686/0.3877, allocations: 3.02 MB / 0.5842 GB, free: 6.609 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.3878, allocations: 136.5 kB / 0.5844 GB, free: 6.445 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.3881, allocations: 369.5 kB / 0.5847 GB, free: 6.074 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.3881, allocations: 41.7 kB / 0.5848 GB, free: 6.027 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3882, allocations: 256.4 kB / 0.585 GB, free: 5.773 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.78e-05/0.3883, allocations: 166.6 kB / 0.5852 GB, free: 5.609 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.3885, allocations: 126.2 kB / 0.5853 GB, free: 5.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3886, allocations: 358.7 kB / 0.5856 GB, free: 5.121 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.3889, allocations: 246.8 kB / 0.5859 GB, free: 4.871 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.3894, allocations: 0.4935 MB / 0.5863 GB, free: 4.281 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/0.3901, allocations: 0.6365 MB / 0.587 GB, free: 3.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3901, allocations: 0 / 0.587 GB, free: 3.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001108/0.3912, allocations: 0.821 MB / 0.5878 GB, free: 2.727 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.3913, allocations: 37.69 kB / 0.5878 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3913, allocations: 4 kB / 0.5878 GB, free: 2.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.3916, allocations: 122 kB / 0.5879 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.3919, allocations: 131.8 kB / 0.5881 GB, free: 2.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004676/0.3923, allocations: 0.6711 MB / 0.5887 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.3926, allocations: 43.95 kB / 0.5887 GB, free: 1.691 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.3927, allocations: 55.92 kB / 0.5888 GB, free: 1.637 MB / 490.7 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.0002349/0.3929, allocations: 203.3 kB / 0.589 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.393, allocations: 49.45 kB / 0.589 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.3941, allocations: 0.7355 MB / 0.5898 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3941, allocations: 4 kB / 0.5898 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3941, allocations: 4 kB / 0.5898 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3941, allocations: 3.984 kB / 0.5898 GB, free: 0.625 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.3959, allocations: 1.133 MB / 0.5909 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3959, allocations: 4 kB / 0.5909 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.3962, allocations: 107.8 kB / 0.591 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.3965, allocations: 108.9 kB / 0.5911 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.3965, allocations: 16 kB / 0.5911 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.3977, allocations: 1.681 MB / 0.5927 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3977, allocations: 4.062 kB / 0.5928 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3989, allocations: 0.9732 MB / 0.5937 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.3991, allocations: 79.7 kB / 0.5938 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.3991, allocations: 16 kB / 0.5938 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3993, allocations: 39.95 kB / 0.5938 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3994, allocations: 71.77 kB / 0.5939 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.3995, allocations: 38.73 kB / 0.5939 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001911/0.3997, allocations: 255.2 kB / 0.5942 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.3997, allocations: 3.938 kB / 0.5942 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006047/0.4003, allocations: 231.7 kB / 0.5944 GB, free: 11.7 MB / 0.4948 GB 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.0005992/0.4009, allocations: 299.4 kB / 0.5947 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009358/0.4018, allocations: 0.6133 MB / 0.5953 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4018, allocations: 0 / 0.5953 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.4023, allocations: 402.4 kB / 0.5957 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.4029, allocations: 205.8 kB / 0.5959 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.4043, allocations: 1.077 MB / 0.5969 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.4045, allocations: 256.8 kB / 0.5972 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.4047, allocations: 84.47 kB / 0.5972 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of SimCode: time 1.412e-06/0.4047, allocations: 0 / 0.5972 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of Templates: time 0.01233/0.417, allocations: 11.82 MB / 0.6088 GB, free: 12.93 MB / 0.5105 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: 6.291594544425607]