Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.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) 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(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.000923, allocations: 89.47 kB / 17.95 MB, free: 5.426 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.001577/0.001578, allocations: 172.3 kB / 18.86 MB, free: 4.641 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.975/1.975, allocations: 205.4 MB / 225 MB, free: 12.73 MB / 190.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.0004796/0.0004796, allocations: 15.28 kB / 282 MB, free: 3.363 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1357, allocations: 47.58 MB / 329.6 MB, free: 3.707 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003482/0.1393, allocations: 2.272 MB / 331.9 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00088/0.1402, allocations: 358.8 kB / 332.2 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.1404, allocations: 7.938 kB / 332.2 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.1406, allocations: 39.75 kB / 332.3 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1408, allocations: 83.31 kB / 332.4 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.1411, allocations: 79.86 kB / 332.4 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.1417, allocations: 358.4 kB / 332.8 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.142, allocations: 99.92 kB / 332.9 MB, free: 424 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1422, allocations: 119.5 kB / 333 MB, free: 304 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1424, allocations: 147.3 kB / 333.1 MB, free: 156 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.1425, allocations: 16 kB / 333.2 MB, free: 140 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.22e-05/0.1425, allocations: 16 kB / 333.2 MB, free: 124 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1426, allocations: 55.75 kB / 333.2 MB, free: 68 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.1428, allocations: 177 kB / 333.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.1431, allocations: 267.1 kB / 333.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1431, allocations: 4 kB / 333.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1431, allocations: 0 / 333.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1431, allocations: 0 / 333.7 MB, free: 15.62 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001265/0.1444, allocations: 0.5848 MB / 334.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.1445, allocations: 12.03 kB / 334.3 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.66e-05/0.1446, allocations: 44.45 kB / 334.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.1451, allocations: 267.6 kB / 334.6 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.1452, allocations: 24.94 kB / 334.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.1452, allocations: 28.38 kB / 334.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.1459, allocations: 277.4 kB / 334.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.1459, allocations: 4.188 kB / 334.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.146, allocations: 23.88 kB / 334.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.146, allocations: 8 kB / 334.9 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006546/0.1467, allocations: 278.1 kB / 335.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.1481, allocations: 0.8068 MB / 336 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.1488, allocations: 366.7 kB / 336.4 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.1493, allocations: 212.7 kB / 336.6 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.1493, allocations: 7.984 kB / 336.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1494, allocations: 38.56 kB / 336.6 MB, free: 12.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.1494, allocations: 0 / 336.6 MB, free: 12.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=63): time 0.00455/0.1539, allocations: 2.035 MB / 338.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.154, allocations: 55.97 kB / 338.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.1542, allocations: 198.8 kB / 338.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.1543, allocations: 37.7 kB / 338.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1544, allocations: 145 kB / 339.1 MB, free: 9.902 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.1546, allocations: 220.8 kB / 339.3 MB, free: 9.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.1547, allocations: 49.69 kB / 339.3 MB, free: 9.629 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1549, allocations: 346.8 kB / 339.7 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.1552, allocations: 169 kB / 339.9 MB, free: 9.117 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.1556, allocations: 177 kB / 340 MB, free: 8.945 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.1564, allocations: 396 kB / 340.4 MB, free: 8.555 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1564, allocations: 0 / 340.4 MB, free: 8.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008822/0.1573, allocations: 0.4986 MB / 340.9 MB, free: 8.051 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1573, allocations: 4 kB / 340.9 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1573, allocations: 3.984 kB / 340.9 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.1573, allocations: 7.984 kB / 340.9 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.1578, allocations: 119.9 kB / 341 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1578, allocations: 4 kB / 341 MB, free: 7.914 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.158, allocations: 31.98 kB / 341.1 MB, free: 7.883 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.1581, allocations: 19.94 kB / 341.1 MB, free: 7.863 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.1583, allocations: 165.7 kB / 341.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.1584, allocations: 31.62 kB / 341.3 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1585, allocations: 43.34 kB / 341.3 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.1585, allocations: 8 kB / 341.3 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.1585, allocations: 0 / 341.3 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1585, allocations: 7.984 kB / 341.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.1606, allocations: 1.337 MB / 342.7 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.1607, allocations: 4 kB / 342.7 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.1611, allocations: 123.8 kB / 342.8 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.1612, allocations: 19.86 kB / 342.8 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.1612, allocations: 16 kB / 342.8 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.1612, allocations: 11.94 kB / 342.9 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.1612, allocations: 8.281 kB / 342.9 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.1626, allocations: 0.9097 MB / 343.8 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.1627, allocations: 116.6 kB / 343.9 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.1628, allocations: 20 kB / 343.9 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.1631, allocations: 40.02 kB / 343.9 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1632, allocations: 47.83 kB / 344 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.1632, allocations: 20 kB / 344 MB, free: 4.734 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1634, allocations: 136.6 kB / 344.1 MB, free: 4.602 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1634, allocations: 4 kB / 344.1 MB, free: 4.598 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004737/0.1639, allocations: 92 kB / 344.2 MB, free: 4.508 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001932/0.1641, allocations: 127.1 kB / 344.4 MB, free: 4.375 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.1649, allocations: 450.6 kB / 344.8 MB, free: 3.938 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1649, allocations: 7.938 kB / 344.8 MB, free: 3.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.1654, allocations: 261.1 kB / 345.1 MB, free: 3.676 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.1661, allocations: 80.03 kB / 345.1 MB, free: 3.598 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.1681, allocations: 1.258 MB / 346.4 MB, free: 2.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.1686, allocations: 0.7974 MB / 347.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.1687, allocations: 43.42 kB / 347.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1687, allocations: 0 / 347.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of Templates: time 0.007463/0.1762, allocations: 4.503 MB / 351.7 MB, free: 12.89 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.o] Error 1