Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 92.2 kB / 17.63 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.0014, allocations: 194.5 kB / 18.53 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002909, allocations: 11.98 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.161, allocations: 63.46 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002049/0.1631, allocations: 1.34 MB / 483.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002665/0.1634, allocations: 115.6 kB / 483.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.1634, allocations: 4 kB / 483.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.1635, allocations: 7.922 kB / 483.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/0.1636, allocations: 27.77 kB / 483.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.1637, allocations: 19.92 kB / 483.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1639, allocations: 115.5 kB / 483.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.164, allocations: 29.09 kB / 483.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.1641, allocations: 51.67 kB / 483.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1642, allocations: 43.84 kB / 483.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1642, allocations: 8 kB / 483.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.1643, allocations: 4 kB / 483.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.1643, allocations: 19.91 kB / 483.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.1643, allocations: 49.64 kB / 483.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.1645, allocations: 88.03 kB / 484 MB, free: 3.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1645, allocations: 0 / 484 MB, free: 3.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.1645, allocations: 4 kB / 484 MB, free: 3.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1645, allocations: 0 / 484 MB, free: 3.473 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005494/0.1651, allocations: 391.2 kB / 484.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.1651, allocations: 8.562 kB / 484.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.1652, allocations: 11.91 kB / 484.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1655, allocations: 198.8 kB / 484.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1655, allocations: 4.234 kB / 484.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.1655, allocations: 24 kB / 484.7 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.1658, allocations: 124.9 kB / 484.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1658, allocations: 4 kB / 484.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1658, allocations: 4 kB / 484.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1659, allocations: 4 kB / 484.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.166, allocations: 55.95 kB / 484.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007859/0.1668, allocations: 0.5488 MB / 485.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1669, allocations: 97.14 kB / 485.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.167, allocations: 21.72 kB / 485.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.167, allocations: 0 / 485.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.1671, allocations: 38.56 kB / 485.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.1671, allocations: 0 / 485.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005674/0.1676, allocations: 297.6 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.1677, allocations: 89 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.1678, allocations: 117.8 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1678, allocations: 25.7 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.1679, allocations: 123.7 kB / 486.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.168, allocations: 31.55 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.168, allocations: 7.938 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1681, allocations: 322.8 kB / 486.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.1682, allocations: 19.98 kB / 486.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.155e-05/0.1683, allocations: 80.58 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.46e-05/0.1683, allocations: 39.94 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1683, allocations: 4 kB / 486.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000266/0.1686, allocations: 171.2 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1686, allocations: 4 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1687, allocations: 7.938 kB / 486.9 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.1688, allocations: 33.7 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.1689, allocations: 27.98 kB / 486.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.1709, allocations: 2.533 MB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.981e-05/0.171, allocations: 11.88 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.171, allocations: 8 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.1711, allocations: 121.8 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.1712, allocations: 15.95 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.1712, allocations: 19.89 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1712, allocations: 0 / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1713, allocations: 4 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1713, allocations: 0 / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.1716, allocations: 201.6 kB / 489.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1716, allocations: 0 / 489.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.1716, allocations: 19.94 kB / 489.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.964e-05/0.1717, allocations: 33.7 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1718, allocations: 8 kB / 489.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.1736, allocations: 2.529 MB / 492.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1736, allocations: 4.031 kB / 492.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.174, allocations: 308.4 kB / 492.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.174, allocations: 81.11 kB / 492.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.174, allocations: 0 / 492.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.1741, allocations: 4.047 kB / 492.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.1742, allocations: 7.984 kB / 492.8 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1742, allocations: 4 kB / 492.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.01e-05/0.1742, allocations: 99.2 kB / 492.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1742, allocations: 0 / 492.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000344/0.1746, allocations: 43.8 kB / 492.9 MB, free: 9.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.1747, allocations: 99.19 kB / 493 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004167/0.1752, allocations: 297.7 kB / 493.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1752, allocations: 0 / 493.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.1754, allocations: 257.2 kB / 493.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1759, allocations: 22.73 kB / 493.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000867/0.1768, allocations: 0.5992 MB / 494.2 MB, free: 8.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1771, allocations: 0.7122 MB / 494.9 MB, free: 7.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.1771, allocations: 11.44 kB / 494.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1771, allocations: 0 / 494.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of Templates: time 0.004434/0.1816, allocations: 2.41 MB / 497.3 MB, free: 5.051 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Rotational.ForUsersGuide.Directions3CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3CalcHelperMain.o] Error 1