Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009193/0.0009193, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003756/0.003756, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8771/0.8771, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2665/0.2665, allocations: 34.24 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.749e-05, allocations: 6.281 kB / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2972/0.2972, allocations: 141.3 MB / 0.5711 GB, free: 2.738 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.2993, allocations: 1.59 MB / 0.5726 GB, free: 1.148 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.2995, allocations: 19.81 kB / 0.5726 GB, free: 1.129 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.3, allocations: 206.4 kB / 0.5728 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.3015, allocations: 0.8204 MB / 0.5736 GB, free: 108 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.3024, allocations: 0.6892 MB / 0.5743 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008226/0.3032, allocations: 1.168 MB / 0.5755 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.3035, allocations: 278.2 kB / 0.5757 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006492/0.3042, allocations: 0.6271 MB / 0.5763 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.3045, allocations: 343 kB / 0.5767 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.3046, allocations: 44 kB / 0.5767 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.3051, allocations: 0.4952 MB / 0.5772 GB, free: 12.47 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3052, allocations: 167.4 kB / 0.5773 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3054, allocations: 191.6 kB / 0.5775 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009368/0.3063, allocations: 1.028 MB / 0.5785 GB, free: 11.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3063, allocations: 4 kB / 0.5785 GB, free: 11.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3063, allocations: 4 kB / 0.5785 GB, free: 11.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3063, allocations: 0 / 0.5785 GB, free: 11.08 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.001169/0.3075, allocations: 0.8322 MB / 0.5794 GB, free: 10.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3075, allocations: 16.03 kB / 0.5794 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.3078, allocations: 71.66 kB / 0.5794 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.3082, allocations: 348.8 kB / 0.5798 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.3083, allocations: 84.41 kB / 0.5799 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.3083, allocations: 36 kB / 0.5799 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.309, allocations: 0.7542 MB / 0.5806 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.309, allocations: 11.92 kB / 0.5806 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.3091, allocations: 13.41 kB / 0.5806 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.3091, allocations: 20.64 kB / 0.5807 GB, free: 8.734 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005113/0.3096, allocations: 398.2 kB / 0.581 GB, free: 8.348 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.00173/0.3113, allocations: 1.937 MB / 0.5829 GB, free: 6.344 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.3118, allocations: 329.7 kB / 0.5833 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.312, allocations: 153.3 kB / 0.5834 GB, free: 5.867 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.312, allocations: 8.219 kB / 0.5834 GB, free: 5.859 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003822/0.3124, allocations: 418.1 kB / 0.5838 GB, free: 5.395 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 1.412e-06/0.3124, allocations: 0 / 0.5838 GB, free: 5.395 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.005859/0.3183, allocations: 3.014 MB / 0.5867 GB, free: 2.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.3183, allocations: 140.5 kB / 0.5869 GB, free: 2.152 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.3186, allocations: 369.5 kB / 0.5872 GB, free: 1.781 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.3186, allocations: 37.7 kB / 0.5873 GB, free: 1.738 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3187, allocations: 260.4 kB / 0.5875 GB, free: 1.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.303e-05/0.3188, allocations: 166.5 kB / 0.5877 GB, free: 1.316 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3189, allocations: 130.3 kB / 0.5878 GB, free: 1.184 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.319, allocations: 358.7 kB / 0.5881 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.3194, allocations: 246.8 kB / 0.5884 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.3198, allocations: 0.4914 MB / 0.5889 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007104/0.3205, allocations: 0.6443 MB / 0.5895 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3205, allocations: 0 / 0.5895 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001022/0.3215, allocations: 0.8177 MB / 0.5903 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.3216, allocations: 33.77 kB / 0.5903 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.3216, allocations: 11.98 kB / 0.5903 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.3218, allocations: 113.3 kB / 0.5904 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.3221, allocations: 139.7 kB / 0.5906 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003875/0.3225, allocations: 0.6718 MB / 0.5912 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.3227, allocations: 55.95 kB / 0.5913 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.3228, allocations: 40 kB / 0.5913 GB, free: 13.34 MB / 0.4948 GB 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.0001772/0.3229, allocations: 207 kB / 0.5915 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.323, allocations: 55.61 kB / 0.5916 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.324, allocations: 0.7296 MB / 0.5923 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.324, allocations: 4 kB / 0.5923 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3241, allocations: 0 / 0.5923 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3241, allocations: 0 / 0.5923 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.3254, allocations: 1.132 MB / 0.5934 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3254, allocations: 0 / 0.5934 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.3256, allocations: 108 kB / 0.5935 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/0.3259, allocations: 112.7 kB / 0.5936 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.3259, allocations: 16 kB / 0.5936 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.327, allocations: 1.683 MB / 0.5953 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.327, allocations: 0 / 0.5953 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.3282, allocations: 0.9694 MB / 0.5962 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3284, allocations: 83.72 kB / 0.5963 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.3284, allocations: 15.98 kB / 0.5963 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.3286, allocations: 47.89 kB / 0.5963 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3287, allocations: 63.83 kB / 0.5964 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.3288, allocations: 32 kB / 0.5964 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000172/0.3289, allocations: 259.2 kB / 0.5967 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.3289, allocations: 0 / 0.5967 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004701/0.3294, allocations: 239.7 kB / 0.5969 GB, free: 7.395 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.0004727/0.3299, allocations: 291.3 kB / 0.5972 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008444/0.3307, allocations: 0.6211 MB / 0.5978 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3307, allocations: 4 kB / 0.5978 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.3312, allocations: 395.3 kB / 0.5982 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.3318, allocations: 216.6 kB / 0.5984 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.333, allocations: 1.071 MB / 0.5994 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.3331, allocations: 256.8 kB / 0.5997 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.3333, allocations: 80.48 kB / 0.5998 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.3333, allocations: 0 / 0.5998 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of Templates: time 0.009841/0.3431, allocations: 11.82 MB / 0.6113 GB, free: 8.641 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.5243494268506765]