Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001283/0.001283, allocations: 83.92 kB / 20.68 MB, free: 1.023 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.001434/0.001434, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.452/1.452, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.556e-05, allocations: 5.375 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3897/0.3897, allocations: 141.4 MB / 0.5704 GB, free: 8.441 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.3929, allocations: 1.583 MB / 0.5719 GB, free: 6.855 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.3931, allocations: 19.81 kB / 0.5719 GB, free: 6.836 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.3937, allocations: 214.5 kB / 0.5721 GB, free: 6.625 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.3958, allocations: 0.8164 MB / 0.5729 GB, free: 5.809 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.3974, allocations: 0.693 MB / 0.5736 GB, free: 5.117 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.3989, allocations: 1.166 MB / 0.5747 GB, free: 3.945 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.3993, allocations: 274.2 kB / 0.575 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.4003, allocations: 0.6232 MB / 0.5756 GB, free: 3.047 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.4009, allocations: 347 kB / 0.5759 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.401, allocations: 44 kB / 0.576 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009873/0.402, allocations: 0.4939 MB / 0.5765 GB, free: 2.172 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.4022, allocations: 167.4 kB / 0.5766 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.4024, allocations: 195.5 kB / 0.5768 GB, free: 1.816 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.404, allocations: 1.025 MB / 0.5778 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.404, allocations: 0 / 0.5778 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.404, allocations: 4 kB / 0.5778 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.404, allocations: 0 / 0.5778 GB, free: 0.7852 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.001784/0.4058, allocations: 0.8378 MB / 0.5786 GB, free: 15.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4058, allocations: 17.33 kB / 0.5786 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.4062, allocations: 71.66 kB / 0.5787 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.4069, allocations: 349.3 kB / 0.579 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-05/0.4069, allocations: 80.41 kB / 0.5791 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.868e-05/0.407, allocations: 44 kB / 0.5792 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.4083, allocations: 0.7402 MB / 0.5799 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.4083, allocations: 11.88 kB / 0.5799 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.4084, allocations: 16 kB / 0.5799 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.4084, allocations: 16.66 kB / 0.5799 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.4094, allocations: 406.2 kB / 0.5803 GB, free: 14.05 MB / 494.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.003287/0.4127, allocations: 1.953 MB / 0.5822 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009229/0.4136, allocations: 326.1 kB / 0.5825 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.414, allocations: 154.8 kB / 0.5827 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.4141, allocations: 8.281 kB / 0.5827 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007084/0.4148, allocations: 414.1 kB / 0.5831 GB, free: 11.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.4148, allocations: 0 / 0.5831 GB, free: 11.07 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.01313/0.4279, allocations: 3.011 MB / 0.586 GB, free: 7.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.428, allocations: 136.5 kB / 0.5862 GB, free: 7.828 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.4285, allocations: 381.4 kB / 0.5865 GB, free: 7.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.4286, allocations: 37.7 kB / 0.5866 GB, free: 7.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.4288, allocations: 256.4 kB / 0.5868 GB, free: 7.148 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.429, allocations: 170.6 kB / 0.587 GB, free: 6.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.4292, allocations: 118.3 kB / 0.5871 GB, free: 6.859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.4294, allocations: 362.7 kB / 0.5874 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007111/0.4301, allocations: 249.4 kB / 0.5877 GB, free: 6.246 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009038/0.431, allocations: 0.4997 MB / 0.5881 GB, free: 5.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.4325, allocations: 0.6327 MB / 0.5888 GB, free: 4.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.4325, allocations: 4 kB / 0.5888 GB, free: 4.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002143/0.4347, allocations: 0.8132 MB / 0.5896 GB, free: 4.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.4347, allocations: 33.7 kB / 0.5896 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4347, allocations: 4 kB / 0.5896 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/0.4352, allocations: 129.3 kB / 0.5897 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/0.4357, allocations: 139.8 kB / 0.5899 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006883/0.4364, allocations: 0.6617 MB / 0.5905 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.4369, allocations: 51.94 kB / 0.5906 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.437, allocations: 40 kB / 0.5906 GB, free: 3.016 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.000287/0.4373, allocations: 208.4 kB / 0.5908 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.4374, allocations: 51.67 kB / 0.5908 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.4396, allocations: 0.7296 MB / 0.5916 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.4396, allocations: 7.984 kB / 0.5916 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4396, allocations: 8 kB / 0.5916 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.4396, allocations: 0 / 0.5916 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/0.4423, allocations: 1.132 MB / 0.5927 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4423, allocations: 3.312 kB / 0.5927 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/0.4428, allocations: 107.8 kB / 0.5928 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005887/0.4434, allocations: 100.9 kB / 0.5929 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.4434, allocations: 15.98 kB / 0.5929 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.4456, allocations: 1.683 MB / 0.5945 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4456, allocations: 8.094 kB / 0.5945 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.4481, allocations: 0.9691 MB / 0.5955 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.4483, allocations: 83.72 kB / 0.5956 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.4484, allocations: 12 kB / 0.5956 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.4489, allocations: 43.94 kB / 0.5956 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.4491, allocations: 63.84 kB / 0.5957 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/0.4491, allocations: 35.98 kB / 0.5957 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003177/0.4495, allocations: 259.2 kB / 0.596 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4495, allocations: 0 / 0.596 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008031/0.4503, allocations: 235.7 kB / 0.5962 GB, free: 13.07 MB / 0.4981 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.0007552/0.451, allocations: 298.7 kB / 0.5965 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.4527, allocations: 0.6133 MB / 0.5971 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.4527, allocations: 4 kB / 0.5971 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.4536, allocations: 398.4 kB / 0.5975 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4547, allocations: 208.5 kB / 0.5977 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4567, allocations: 1.044 MB / 0.5987 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.457, allocations: 264.8 kB / 0.5989 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005018/0.4575, allocations: 144.5 kB / 0.5991 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.4577, allocations: 72.48 kB / 0.5991 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.4577, allocations: 0 / 0.5991 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.02394/0.4817, allocations: 12.97 MB / 0.6118 GB, free: 13.16 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.667828164994717]