Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 94.7 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2799/0.2799, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 8 kB / 418.6 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 63.46 MB / 482.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004628/0.1555, allocations: 3.555 MB / 485.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1576, allocations: 1.06 MB / 486.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.1578, allocations: 15.94 kB / 486.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.1581, allocations: 71.39 kB / 486.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.1584, allocations: 174.6 kB / 487 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.1588, allocations: 135.8 kB / 487.1 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008372/0.1597, allocations: 0.716 MB / 487.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.16, allocations: 179.1 kB / 488 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.1603, allocations: 259 kB / 488.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.1607, allocations: 294.7 kB / 488.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.1607, allocations: 28 kB / 488.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.1609, allocations: 67.98 kB / 488.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.161, allocations: 115.5 kB / 488.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1611, allocations: 145.3 kB / 488.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.1617, allocations: 0.5378 MB / 489.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1617, allocations: 0 / 489.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1617, allocations: 0 / 489.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1617, allocations: 0 / 489.4 MB, free: 14.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001685/0.1634, allocations: 0.9235 MB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1634, allocations: 8.031 kB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.1642, allocations: 163 kB / 490.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.1647, allocations: 388.7 kB / 490.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.1648, allocations: 41.31 kB / 490.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/0.1651, allocations: 75.89 kB / 491 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.1666, allocations: 0.6343 MB / 491.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/0.1666, allocations: 7.906 kB / 491.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/0.1667, allocations: 24 kB / 491.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.1667, allocations: 16 kB / 491.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.1681, allocations: 0.5645 MB / 492.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/0.1717, allocations: 2.18 MB / 494.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.1731, allocations: 0.7115 MB / 495.1 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006102/0.1737, allocations: 362.5 kB / 495.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.1739, allocations: 93.84 kB / 495.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.174, allocations: 54.92 kB / 495.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.174, allocations: 4 kB / 495.7 MB, free: 7.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.008706/0.1827, allocations: 4.606 MB / 0.4885 GB, free: 2.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001879/0.1829, allocations: 222.1 kB / 0.4887 GB, free: 2.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.1834, allocations: 370.3 kB / 0.4891 GB, free: 1.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.1835, allocations: 45.7 kB / 0.4891 GB, free: 1.859 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.1837, allocations: 265 kB / 0.4894 GB, free: 1.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.1841, allocations: 402.1 kB / 0.4898 GB, free: 1.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.1841, allocations: 27.94 kB / 0.4898 GB, free: 1.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003026/0.1844, allocations: 382.8 kB / 0.4902 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/0.1851, allocations: 330.4 kB / 0.4905 GB, free: 476 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.186, allocations: 0.5205 MB / 0.491 GB, free: 15.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007263/0.1867, allocations: 403 kB / 0.4914 GB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1867, allocations: 0 / 0.4914 GB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002112/0.1888, allocations: 1.034 MB / 0.4924 GB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.1889, allocations: 15.89 kB / 0.4924 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.1889, allocations: 4 kB / 0.4924 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.1889, allocations: 12 kB / 0.4924 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.1901, allocations: 287.8 kB / 0.4927 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.1901, allocations: 16.45 kB / 0.4927 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.1906, allocations: 59.91 kB / 0.4928 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/0.1907, allocations: 44 kB / 0.4928 GB, free: 14.01 MB / 382.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: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003372/0.191, allocations: 229.5 kB / 0.493 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.1912, allocations: 83.14 kB / 0.4931 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005268/0.1917, allocations: 222.8 kB / 0.4933 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.1918, allocations: 12 kB / 0.4933 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.1918, allocations: 0 / 0.4933 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.1918, allocations: 11.97 kB / 0.4933 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.1954, allocations: 2.386 MB / 0.4957 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.1955, allocations: 4 kB / 0.4957 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/0.1965, allocations: 259.7 kB / 0.4959 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.1965, allocations: 8.281 kB / 0.4959 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.1965, allocations: 32.06 kB / 0.496 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/0.1966, allocations: 15.92 kB / 0.496 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1966, allocations: 4 kB / 0.496 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.1992, allocations: 1.943 MB / 0.4979 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.1995, allocations: 196.3 kB / 0.4981 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.1996, allocations: 27.98 kB / 0.4981 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.2002, allocations: 55.97 kB / 0.4981 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.2003, allocations: 84.34 kB / 0.4982 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.2004, allocations: 39.98 kB / 0.4983 GB, free: 8.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.2007, allocations: 247.2 kB / 0.4985 GB, free: 8 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2007, allocations: 0 / 0.4985 GB, free: 8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008592/0.2015, allocations: 192 kB / 0.4987 GB, free: 7.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000212/0.2018, allocations: 131 kB / 0.4988 GB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.2034, allocations: 0.8783 MB / 0.4997 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2034, allocations: 0 / 0.4997 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008568/0.2043, allocations: 0.5038 MB / 0.5002 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.2054, allocations: 120.6 kB / 0.5003 GB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.2093, allocations: 2.69 MB / 0.5029 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.2099, allocations: 0.9442 MB / 0.5038 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.2102, allocations: 75.42 kB / 0.5039 GB, free: 2.355 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2102, allocations: 0 / 0.5039 GB, free: 2.355 MB / 382.1 MB Notification: Performance of Templates: time 0.2882/0.4984, allocations: 8.785 MB / 0.5125 GB, free: 38.29 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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_trunk_ModelicaTest.Translational.AllComponentsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Translational.AllComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Translational.AllComponentsCalcHelperMain.o] Error 1