Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009169/0.0009169, allocations: 98.78 kB / 16.33 MB, free: 5.953 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.001082/0.001082, allocations: 186.6 kB / 17.22 MB, free: 5.883 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.664/1.664, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.4482/0.4482, allocations: 43.54 MB / 315.2 MB, free: 8.824 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.0005244/0.0005245, allocations: 22.97 kB / 384.5 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1429, allocations: 58.85 MB / 443.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004153/0.1471, allocations: 3.52 MB / 446.9 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.149, allocations: 1.053 MB / 448 MB, free: 8.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.1493, allocations: 15.94 kB / 448 MB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.1495, allocations: 71.39 kB / 448.1 MB, free: 8.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.1498, allocations: 170.6 kB / 448.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.1502, allocations: 143.8 kB / 448.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.1509, allocations: 0.7121 MB / 449.1 MB, free: 7.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.1513, allocations: 186.9 kB / 449.3 MB, free: 7.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.1516, allocations: 255 kB / 449.5 MB, free: 6.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.1519, allocations: 298.7 kB / 449.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.152, allocations: 32 kB / 449.8 MB, free: 6.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1521, allocations: 51.98 kB / 449.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1523, allocations: 111.5 kB / 450 MB, free: 6.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1524, allocations: 141.4 kB / 450.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.1529, allocations: 0.5494 MB / 450.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1529, allocations: 0 / 450.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1529, allocations: 0 / 450.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1529, allocations: 0 / 450.7 MB, free: 5.75 MB / 382.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.001641/0.1546, allocations: 0.9313 MB / 451.6 MB, free: 4.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/0.1547, allocations: 8.031 kB / 451.6 MB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.1548, allocations: 79.06 kB / 451.7 MB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.1553, allocations: 372.8 kB / 452.1 MB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.1553, allocations: 45.31 kB / 452.1 MB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.1555, allocations: 71.83 kB / 452.2 MB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.1568, allocations: 0.6305 MB / 452.8 MB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.1568, allocations: 11.84 kB / 452.8 MB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.1569, allocations: 24 kB / 452.8 MB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.1569, allocations: 23.95 kB / 452.9 MB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1581, allocations: 0.5607 MB / 453.4 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.1612, allocations: 2.18 MB / 455.6 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2877/0.449, allocations: 0.7083 MB / 456.3 MB, free: 46.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/0.4498, allocations: 362.2 kB / 456.7 MB, free: 46.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.45, allocations: 97.05 kB / 456.8 MB, free: 46.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.4501, allocations: 50 kB / 456.8 MB, free: 46.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 4.238e-06/0.4501, allocations: 0 / 456.8 MB, free: 46.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.007442/0.4575, allocations: 4.614 MB / 461.4 MB, free: 44.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.4576, allocations: 228.6 kB / 461.6 MB, free: 43.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.458, allocations: 362.1 kB / 462 MB, free: 43.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.4581, allocations: 43.33 kB / 462 MB, free: 43.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.4582, allocations: 269.2 kB / 462.3 MB, free: 43.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.4585, allocations: 407.7 kB / 462.7 MB, free: 43.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.4585, allocations: 22.84 kB / 462.7 MB, free: 43.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4586, allocations: 379.1 kB / 463.1 MB, free: 42.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/0.4592, allocations: 334.4 kB / 463.4 MB, free: 42.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.4598, allocations: 0.5243 MB / 463.9 MB, free: 42.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/0.4605, allocations: 397.6 kB / 464.3 MB, free: 42.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4605, allocations: 4.688 kB / 464.3 MB, free: 42.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001775/0.4623, allocations: 1.025 MB / 465.4 MB, free: 42.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.4623, allocations: 12.41 kB / 465.4 MB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4623, allocations: 2.938 kB / 465.4 MB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/0.4623, allocations: 11.91 kB / 465.4 MB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009355/0.4633, allocations: 290.3 kB / 465.7 MB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.4633, allocations: 16.66 kB / 465.7 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.4637, allocations: 64.61 kB / 465.8 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.4638, allocations: 35.09 kB / 465.8 MB, free: 42.54 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.0003117/0.4641, allocations: 239.1 kB / 466 MB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.4644, allocations: 78.12 kB / 466.1 MB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/0.4649, allocations: 217.9 kB / 466.3 MB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4649, allocations: 12.84 kB / 466.3 MB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/0.4649, allocations: 3.094 kB / 466.3 MB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.4649, allocations: 6.562 kB / 466.3 MB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.4683, allocations: 2.382 MB / 468.7 MB, free: 41.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.4683, allocations: 7.328 kB / 468.7 MB, free: 41.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009471/0.4693, allocations: 263.5 kB / 469 MB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.685e-05/0.4693, allocations: 12.53 kB / 469 MB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.4693, allocations: 31.8 kB / 469 MB, free: 41.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/0.4694, allocations: 6.688 kB / 469 MB, free: 41.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.4694, allocations: 3.281 kB / 469 MB, free: 41.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.4719, allocations: 1.952 MB / 471 MB, free: 40.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.4721, allocations: 202.7 kB / 471.2 MB, free: 39.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.4722, allocations: 25.97 kB / 471.2 MB, free: 39.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.4728, allocations: 59.61 kB / 471.3 MB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.473, allocations: 87.67 kB / 471.3 MB, free: 39.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.473, allocations: 36.03 kB / 471.4 MB, free: 39.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.4733, allocations: 248.9 kB / 471.6 MB, free: 39.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4733, allocations: 0 / 471.6 MB, free: 39.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009452/0.4743, allocations: 197.3 kB / 471.8 MB, free: 39.64 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.0002537/0.4745, allocations: 136.7 kB / 472 MB, free: 39.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.4761, allocations: 0.8697 MB / 472.8 MB, free: 39.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.4761, allocations: 3.344 kB / 472.8 MB, free: 39.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008104/0.4769, allocations: 0.5019 MB / 473.3 MB, free: 39.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.4781, allocations: 121 kB / 473.4 MB, free: 39.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.4814, allocations: 2.693 MB / 476.1 MB, free: 37.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.4818, allocations: 0.9435 MB / 477.1 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.4821, allocations: 66.38 kB / 477.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4821, allocations: 4 kB / 477.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01505/0.4971, allocations: 8.809 MB / 486 MB, free: 35.69 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponentsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Translational.AllComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Translational.AllComponentsCalcHelperMain.o] Error 1