Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008369/0.0008368, allocations: 90.56 kB / 17.63 MB, free: 6.293 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.0008833/0.0008833, allocations: 180.8 kB / 18.52 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 242.5 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2694/0.2694, allocations: 44.23 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00325/0.1462, allocations: 2.396 MB / 474.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1476, allocations: 0.6741 MB / 475.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.1478, allocations: 8 kB / 475.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.148, allocations: 43.64 kB / 475.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.1482, allocations: 103.2 kB / 475.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1484, allocations: 79.84 kB / 475.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.1489, allocations: 410.4 kB / 475.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.1491, allocations: 137.4 kB / 476 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1493, allocations: 143.4 kB / 476.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1495, allocations: 159.2 kB / 476.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.1496, allocations: 24 kB / 476.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.1496, allocations: 20 kB / 476.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.1497, allocations: 63.7 kB / 476.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.1498, allocations: 93.52 kB / 476.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1501, allocations: 323.3 kB / 476.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1501, allocations: 0 / 476.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1501, allocations: 0 / 476.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1501, allocations: 0 / 476.8 MB, free: 9.078 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008741/0.151, allocations: 0.622 MB / 477.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1511, allocations: 8.562 kB / 477.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.1511, allocations: 39.53 kB / 477.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.1515, allocations: 275.4 kB / 477.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.1515, allocations: 29 kB / 477.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.1516, allocations: 43.95 kB / 477.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.1523, allocations: 393 kB / 478.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.1523, allocations: 3.906 kB / 478.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1524, allocations: 16 kB / 478.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1524, allocations: 8 kB / 478.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.1529, allocations: 263.8 kB / 478.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1546, allocations: 1.116 MB / 479.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.1551, allocations: 362.3 kB / 480 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.1554, allocations: 182.5 kB / 480.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.1555, allocations: 4 kB / 480.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.1555, allocations: 39.3 kB / 480.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.144e-06/0.1555, allocations: 0 / 480.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.004005/0.1596, allocations: 2.48 MB / 482.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.1597, allocations: 110.8 kB / 482.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.16, allocations: 234.6 kB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.16, allocations: 33.7 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1601, allocations: 188.6 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.1603, allocations: 197 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.1603, allocations: 12 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1605, allocations: 346.8 kB / 483.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.1608, allocations: 133.1 kB / 483.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.1612, allocations: 235.8 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.1615, allocations: 168 kB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1615, allocations: 0 / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009999/0.1625, allocations: 0.5654 MB / 484.9 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1625, allocations: 8 kB / 484.9 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1625, allocations: 4 kB / 484.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004814/0.163, allocations: 122.6 kB / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.1634, allocations: 103.8 kB / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004494/0.1679, allocations: 4.672 MB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.1682, allocations: 20 kB / 489.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.1682, allocations: 16 kB / 489.8 MB, free: 11.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.1685, allocations: 181.7 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1686, allocations: 39.53 kB / 490 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.67e-05/0.1687, allocations: 50.17 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1687, allocations: 4 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.1688, allocations: 4 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1688, allocations: 0 / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.1707, allocations: 1.343 MB / 491.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1708, allocations: 0 / 491.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.1712, allocations: 103.9 kB / 491.5 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.1714, allocations: 90.52 kB / 491.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.1715, allocations: 12 kB / 491.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.1746, allocations: 4.112 MB / 495.7 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1746, allocations: 8.219 kB / 495.7 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.1759, allocations: 0.9445 MB / 496.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.176, allocations: 108.7 kB / 496.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.176, allocations: 19.98 kB / 496.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1763, allocations: 16 kB / 496.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1764, allocations: 51.89 kB / 496.9 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.1764, allocations: 19.94 kB / 496.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.1766, allocations: 174 kB / 497.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1766, allocations: 0 / 497.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006959/0.1773, allocations: 120 kB / 497.2 MB, free: 3.172 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.1775, allocations: 107.3 kB / 497.3 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.1786, allocations: 0.7731 MB / 498 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1786, allocations: 0 / 498 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007024/0.1793, allocations: 0.5838 MB / 498.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.18, allocations: 54.94 kB / 498.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.1818, allocations: 1.327 MB / 0.4883 GB, free: 200 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1823, allocations: 0.8163 MB / 0.4891 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.1824, allocations: 31.42 kB / 0.4891 GB, free: 15.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1824, allocations: 4 kB / 0.4891 GB, free: 15.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01153/0.1939, allocations: 9.225 MB / 0.4981 GB, free: 6.09 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.o] Error 1