Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001046, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 175.4 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4077/0.4077, allocations: 43.58 MB / 314.6 MB, free: 8.793 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000522/0.000522, allocations: 16.22 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2143, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5527/0.767, allocations: 148.6 MB / 0.5775 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007734/0.7748, allocations: 3.882 MB / 0.5813 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.7759, allocations: 15.88 kB / 0.5813 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.7773, allocations: 174.9 kB / 0.5815 GB, free: 3.078 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004211/0.7815, allocations: 0.7173 MB / 0.5822 GB, free: 2.359 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.7841, allocations: 0.536 MB / 0.5827 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002113/0.7862, allocations: 1.333 MB / 0.584 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007128/0.7869, allocations: 271.9 kB / 0.5843 GB, free: 236 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.7882, allocations: 402.5 kB / 0.5847 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008197/0.789, allocations: 370.5 kB / 0.585 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.7891, allocations: 20 kB / 0.585 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.7906, allocations: 427.3 kB / 0.5855 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.7909, allocations: 131.5 kB / 0.5856 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.7912, allocations: 125.4 kB / 0.5857 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.7923, allocations: 0.6532 MB / 0.5863 GB, free: 14.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.7923, allocations: 0 / 0.5863 GB, free: 14.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7924, allocations: 11.94 kB / 0.5863 GB, free: 14.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.7924, allocations: 0 / 0.5863 GB, free: 14.11 MB / 462.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.002155/0.7945, allocations: 0.8219 MB / 0.5871 GB, free: 13.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.7946, allocations: 12.02 kB / 0.5872 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.7951, allocations: 67.42 kB / 0.5872 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/0.7958, allocations: 378.7 kB / 0.5876 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.796, allocations: 72.34 kB / 0.5877 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.7961, allocations: 39.91 kB / 0.5877 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.7972, allocations: 0.5244 MB / 0.5882 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.7972, allocations: 4 kB / 0.5882 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.833e-05/0.7973, allocations: 16.52 kB / 0.5882 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.7973, allocations: 16.66 kB / 0.5882 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.7983, allocations: 434.1 kB / 0.5887 GB, free: 11.61 MB / 462.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.004661/0.803, allocations: 2.51 MB / 0.5911 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/0.804, allocations: 371.4 kB / 0.5915 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.8044, allocations: 166.1 kB / 0.5916 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.289e-05/0.8045, allocations: 8.281 kB / 0.5916 GB, free: 8.371 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/0.8051, allocations: 285.1 kB / 0.5919 GB, free: 8.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 4.288e-06/0.8051, allocations: 0 / 0.5919 GB, free: 8.07 MB / 462.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.01202/0.8171, allocations: 3.591 MB / 0.5954 GB, free: 4.355 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.8173, allocations: 170.2 kB / 0.5956 GB, free: 4.152 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.818, allocations: 373.6 kB / 0.5959 GB, free: 3.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.8181, allocations: 41.69 kB / 0.596 GB, free: 3.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.8184, allocations: 256 kB / 0.5962 GB, free: 3.477 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.8186, allocations: 161.6 kB / 0.5964 GB, free: 3.316 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.8187, allocations: 19.88 kB / 0.5964 GB, free: 3.297 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.8189, allocations: 354.8 kB / 0.5967 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.8195, allocations: 237.2 kB / 0.5969 GB, free: 2.711 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008132/0.8203, allocations: 433.1 kB / 0.5974 GB, free: 2.207 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.821, allocations: 318.3 kB / 0.5977 GB, free: 1.891 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8211, allocations: 4 kB / 0.5977 GB, free: 1.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002122/0.8232, allocations: 0.8103 MB / 0.5985 GB, free: 1.059 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.105e-05/0.8233, allocations: 45.64 kB / 0.5985 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.8233, allocations: 4 kB / 0.5985 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/0.8238, allocations: 116.8 kB / 0.5986 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.8243, allocations: 152.1 kB / 0.5988 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006213/0.825, allocations: 0.6664 MB / 0.5994 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.8255, allocations: 70.44 kB / 0.5995 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.8256, allocations: 43.94 kB / 0.5995 GB, free: 15.94 MB / 478.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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003593/0.826, allocations: 213.2 kB / 0.5997 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.8261, allocations: 47.44 kB / 0.5998 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.828, allocations: 0.7875 MB / 0.6005 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.8281, allocations: 8 kB / 0.6005 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.8281, allocations: 0 / 0.6005 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.8281, allocations: 3.984 kB / 0.6005 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.831, allocations: 1.331 MB / 0.6018 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.831, allocations: 0 / 0.6018 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.8316, allocations: 124 kB / 0.602 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005074/0.8321, allocations: 100.8 kB / 0.6021 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.8321, allocations: 16 kB / 0.6021 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.8344, allocations: 1.691 MB / 0.6037 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.8345, allocations: 4.031 kB / 0.6037 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.8366, allocations: 1.036 MB / 0.6047 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.8369, allocations: 160.6 kB / 0.6049 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.8371, allocations: 23.94 kB / 0.6049 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.8375, allocations: 63.84 kB / 0.605 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.8377, allocations: 67.84 kB / 0.605 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.8378, allocations: 35.17 kB / 0.6051 GB, free: 9.965 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004277/0.8382, allocations: 267.1 kB / 0.6053 GB, free: 9.707 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8382, allocations: 4 kB / 0.6053 GB, free: 9.703 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001094/0.8393, allocations: 236 kB / 0.6056 GB, free: 9.473 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008387/0.8402, allocations: 306.1 kB / 0.6059 GB, free: 9.176 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.8416, allocations: 0.6523 MB / 0.6065 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8416, allocations: 0 / 0.6065 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009847/0.8426, allocations: 447.3 kB / 0.6069 GB, free: 8.066 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000958/0.8436, allocations: 198.7 kB / 0.6071 GB, free: 7.875 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.8458, allocations: 1.376 MB / 0.6085 GB, free: 6.461 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.8463, allocations: 0.8592 MB / 0.6093 GB, free: 5.574 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006538/0.847, allocations: 152.5 kB / 0.6094 GB, free: 5.422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.8472, allocations: 71.42 kB / 0.6095 GB, free: 5.352 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.8472, allocations: 0 / 0.6095 GB, free: 5.352 MB / 478.1 MB Notification: Performance of Templates: time 0.0221/0.8693, allocations: 12.53 MB / 0.6217 GB, free: 8.867 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches