Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 95.48 kB / 17.63 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 200.4 kB / 18.54 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 45.92 MB / 344.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002858, allocations: 8 kB / 418.7 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1634, allocations: 63.46 MB / 482.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003169/0.1666, allocations: 2.417 MB / 484.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1679, allocations: 0.7247 MB / 485.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1681, allocations: 8 kB / 485.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.1683, allocations: 47.56 kB / 485.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1685, allocations: 99.16 kB / 485.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1687, allocations: 75.92 kB / 485.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.1692, allocations: 402.5 kB / 485.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.1695, allocations: 145.4 kB / 486 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1697, allocations: 147.4 kB / 486.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.17, allocations: 159.2 kB / 486.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.17, allocations: 16 kB / 486.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-05/0.1701, allocations: 24 kB / 486.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.1702, allocations: 55.77 kB / 486.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.1703, allocations: 97.52 kB / 486.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.1707, allocations: 335.2 kB / 486.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1707, allocations: 0 / 486.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1707, allocations: 0 / 486.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1707, allocations: 4 kB / 486.8 MB, free: 0.6914 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.001045/0.1718, allocations: 0.6082 MB / 487.4 MB, free: 32 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1718, allocations: 8.031 kB / 487.5 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.1722, allocations: 79.5 kB / 487.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.1726, allocations: 283.3 kB / 487.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.1726, allocations: 29 kB / 487.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.1727, allocations: 44 kB / 487.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.1734, allocations: 381 kB / 488.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1734, allocations: 7.906 kB / 488.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.1734, allocations: 12 kB / 488.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.1735, allocations: 15.94 kB / 488.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.174, allocations: 264.3 kB / 488.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.1757, allocations: 1.117 MB / 489.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.1762, allocations: 367.4 kB / 490 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.1766, allocations: 178.5 kB / 490.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1766, allocations: 4 kB / 490.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.1766, allocations: 50.48 kB / 490.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.693e-06/0.1766, allocations: 0 / 490.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.00418/0.1808, allocations: 2.475 MB / 492.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.1809, allocations: 106.8 kB / 492.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.1813, allocations: 238.6 kB / 493.1 MB, free: 9.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.1814, allocations: 29.7 kB / 493.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.1816, allocations: 188.6 kB / 493.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.1818, allocations: 201 kB / 493.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.1818, allocations: 8 kB / 493.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.182, allocations: 350.8 kB / 493.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.1823, allocations: 133.1 kB / 493.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.1826, allocations: 235.8 kB / 494.2 MB, free: 8.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.1829, allocations: 171.8 kB / 494.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1829, allocations: 3.953 kB / 494.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001019/0.184, allocations: 0.5577 MB / 494.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.184, allocations: 4 kB / 494.9 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.184, allocations: 7.984 kB / 494.9 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/0.1844, allocations: 122.5 kB / 495 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.1847, allocations: 107.9 kB / 495.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004421/0.1892, allocations: 4.672 MB / 499.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.1895, allocations: 20.03 kB / 499.8 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.1895, allocations: 20 kB / 499.9 MB, free: 2.676 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.0002798/0.1898, allocations: 169.7 kB / 0.4883 GB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.1899, allocations: 35.53 kB / 0.4883 GB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.19, allocations: 54.23 kB / 0.4884 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1901, allocations: 4 kB / 0.4884 GB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/0.1901, allocations: 7.953 kB / 0.4884 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1901, allocations: 7.938 kB / 0.4884 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.1922, allocations: 1.327 MB / 0.4897 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1922, allocations: 4 kB / 0.4897 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.1926, allocations: 104 kB / 0.4898 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002647/0.1929, allocations: 94.45 kB / 0.4899 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.1929, allocations: 12.19 kB / 0.4899 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.1964, allocations: 4.115 MB / 0.4939 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1964, allocations: 0 / 0.4939 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.1977, allocations: 0.9349 MB / 0.4948 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1978, allocations: 108.7 kB / 0.4949 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.1979, allocations: 16.05 kB / 0.495 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.1981, allocations: 20 kB / 0.495 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.1982, allocations: 44 kB / 0.495 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.1983, allocations: 24 kB / 0.495 GB, free: 11.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1984, allocations: 174 kB / 0.4952 GB, free: 10.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1984, allocations: 0 / 0.4952 GB, free: 10.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007134/0.1991, allocations: 120 kB / 0.4953 GB, free: 10.77 MB / 382.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.0001495/0.1993, allocations: 107.2 kB / 0.4954 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.2005, allocations: 0.7676 MB / 0.4962 GB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2005, allocations: 0 / 0.4962 GB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.2012, allocations: 0.5935 MB / 0.4968 GB, free: 9.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.2019, allocations: 56.48 kB / 0.4968 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.2038, allocations: 1.324 MB / 0.4981 GB, free: 7.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.2042, allocations: 0.8202 MB / 0.4989 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.2043, allocations: 39.36 kB / 0.4989 GB, free: 6.906 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2043, allocations: 0 / 0.4989 GB, free: 6.906 MB / 382.1 MB Notification: Performance of Templates: time 0.2778/0.4821, allocations: 9.219 MB / 0.5079 GB, free: 40.12 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.o] Error 1