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.0007609/0.0007609, allocations: 91.94 kB / 16.33 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 186.9 kB / 17.22 MB, free: 5.863 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.615/1.615, allocations: 205.4 MB / 223.4 MB, free: 5.582 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.3863/0.3863, allocations: 43.55 MB / 315.2 MB, free: 8.871 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.0005238/0.0005239, allocations: 15.98 kB / 384.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1387, allocations: 58.87 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4399/0.5787, allocations: 148.6 MB / 0.5781 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005671/0.5844, allocations: 3.899 MB / 0.5819 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005211/0.585, allocations: 15.88 kB / 0.5819 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.5856, allocations: 170.9 kB / 0.5821 GB, free: 3.121 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.002004/0.5876, allocations: 0.706 MB / 0.5828 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.5891, allocations: 0.5245 MB / 0.5833 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.5906, allocations: 1.337 MB / 0.5846 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.591, allocations: 275.9 kB / 0.5849 GB, free: 292 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006462/0.5917, allocations: 402.5 kB / 0.5852 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.5921, allocations: 366.5 kB / 0.5856 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.5922, allocations: 24 kB / 0.5856 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008413/0.593, allocations: 427.3 kB / 0.586 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.5932, allocations: 131.5 kB / 0.5861 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.5933, allocations: 125.5 kB / 0.5863 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006647/0.594, allocations: 0.6571 MB / 0.5869 GB, free: 14.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.594, allocations: 4 kB / 0.5869 GB, free: 14.17 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.594, allocations: 0 / 0.5869 GB, free: 14.17 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.594, allocations: 0 / 0.5869 GB, free: 14.17 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.001377/0.5954, allocations: 0.818 MB / 0.5877 GB, free: 13.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.5954, allocations: 16 kB / 0.5877 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.5958, allocations: 75.41 kB / 0.5878 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.5963, allocations: 378.7 kB / 0.5882 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.586e-05/0.5963, allocations: 61.55 kB / 0.5882 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.5964, allocations: 43.89 kB / 0.5883 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008766/0.5973, allocations: 0.5283 MB / 0.5888 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5973, allocations: 3.938 kB / 0.5888 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.5974, allocations: 16.52 kB / 0.5888 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.5974, allocations: 20.66 kB / 0.5888 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/0.5982, allocations: 430.1 kB / 0.5892 GB, free: 11.66 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.002919/0.6012, allocations: 2.519 MB / 0.5917 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/0.6019, allocations: 363.4 kB / 0.592 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.6023, allocations: 171.2 kB / 0.5922 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.6023, allocations: 8.266 kB / 0.5922 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005242/0.6028, allocations: 284.1 kB / 0.5925 GB, free: 8.121 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.6028, allocations: 0 / 0.5925 GB, free: 8.121 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.0105/0.6134, allocations: 3.6 MB / 0.596 GB, free: 4.398 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.6135, allocations: 166.2 kB / 0.5961 GB, free: 4.199 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.6139, allocations: 373.6 kB / 0.5965 GB, free: 3.824 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.6139, allocations: 37.7 kB / 0.5965 GB, free: 3.781 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.6141, allocations: 259.9 kB / 0.5968 GB, free: 3.523 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.6143, allocations: 161.6 kB / 0.5969 GB, free: 3.363 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.6143, allocations: 11.94 kB / 0.5969 GB, free: 3.352 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6145, allocations: 358.8 kB / 0.5973 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.615, allocations: 241.1 kB / 0.5975 GB, free: 2.758 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.6157, allocations: 429.1 kB / 0.5979 GB, free: 2.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.6163, allocations: 322.2 kB / 0.5982 GB, free: 1.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6163, allocations: 0 / 0.5982 GB, free: 1.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001634/0.618, allocations: 0.8099 MB / 0.599 GB, free: 1.109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.618, allocations: 37.66 kB / 0.5991 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6181, allocations: 8 kB / 0.5991 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/0.6185, allocations: 125.4 kB / 0.5992 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.619, allocations: 147.8 kB / 0.5993 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005138/0.6195, allocations: 0.6703 MB / 0.6 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.62, allocations: 63.95 kB / 0.6 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/0.62, allocations: 49.81 kB / 0.6001 GB, free: 15.98 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.0002245/0.6203, allocations: 201.2 kB / 0.6003 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.6204, allocations: 55.42 kB / 0.6003 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.6222, allocations: 0.7837 MB / 0.6011 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6223, allocations: 4 kB / 0.6011 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6223, allocations: 0 / 0.6011 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.6223, allocations: 3.984 kB / 0.6011 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.6246, allocations: 1.331 MB / 0.6024 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6247, allocations: 4.156 kB / 0.6024 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.6251, allocations: 119.8 kB / 0.6025 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/0.6256, allocations: 105.6 kB / 0.6026 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.6256, allocations: 15.98 kB / 0.6026 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.6273, allocations: 1.698 MB / 0.6043 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6274, allocations: 8.016 kB / 0.6043 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.6294, allocations: 1.036 MB / 0.6053 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.6296, allocations: 160.5 kB / 0.6055 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.6297, allocations: 19.95 kB / 0.6055 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.6301, allocations: 63.84 kB / 0.6056 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.6303, allocations: 71.84 kB / 0.6056 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/0.6303, allocations: 35.98 kB / 0.6057 GB, free: 10.01 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003333/0.6307, allocations: 259.2 kB / 0.6059 GB, free: 9.758 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6307, allocations: 0 / 0.6059 GB, free: 9.758 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008058/0.6315, allocations: 240 kB / 0.6061 GB, free: 9.523 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.0007844/0.6323, allocations: 307.8 kB / 0.6064 GB, free: 9.227 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.6337, allocations: 0.6524 MB / 0.6071 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.6337, allocations: 4 kB / 0.6071 GB, free: 8.559 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.6345, allocations: 439.3 kB / 0.6075 GB, free: 8.121 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.6355, allocations: 183.7 kB / 0.6077 GB, free: 7.945 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.6377, allocations: 1.42 MB / 0.6091 GB, free: 6.484 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.6382, allocations: 0.8475 MB / 0.6099 GB, free: 5.609 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.6385, allocations: 79.42 kB / 0.61 GB, free: 5.531 MB / 478.1 MB Notification: Performance of SimCode: time 3.5e-07/0.6385, allocations: 0 / 0.61 GB, free: 5.531 MB / 478.1 MB Notification: Performance of Templates: time 0.01736/0.6558, allocations: 11.64 MB / 0.6213 GB, free: 9.922 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o] Error 1