Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 90.17 kB / 16.67 MB, free: 6.59 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.001268/0.001268, allocations: 176.2 kB / 17.57 MB, free: 6.191 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.949/1.949, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2892/0.2892, allocations: 43.6 MB / 315.6 MB, free: 412 kB / 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.0007704/0.0007707, allocations: 14.66 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1659, allocations: 58.88 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002112/0.1681, allocations: 1.362 MB / 445.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004728/0.1686, allocations: 99.67 kB / 445.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1688, allocations: 8 kB / 445.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.644e-05/0.1689, allocations: 11.86 kB / 445.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.169, allocations: 31.77 kB / 445.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.1692, allocations: 23.97 kB / 445.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1694, allocations: 119.4 kB / 445.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1696, allocations: 34.08 kB / 445.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1697, allocations: 39.86 kB / 445.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.406e-05/0.1698, allocations: 43.78 kB / 445.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.1698, allocations: 4 kB / 445.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.646e-05/0.1699, allocations: 8 kB / 445.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.1699, allocations: 19.92 kB / 445.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.17, allocations: 81.42 kB / 446 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1701, allocations: 87.69 kB / 446.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1701, allocations: 4 kB / 446.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1702, allocations: 8 kB / 446.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1702, allocations: 0 / 446.1 MB, free: 3.172 MB / 318.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.000528/0.1707, allocations: 375.5 kB / 446.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1708, allocations: 8.031 kB / 446.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.1708, allocations: 16.75 kB / 446.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1711, allocations: 196.1 kB / 446.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.1711, allocations: 8.609 kB / 446.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.1712, allocations: 12.38 kB / 446.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1715, allocations: 129.6 kB / 446.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1715, allocations: 4.188 kB / 446.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1715, allocations: 7.938 kB / 446.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1715, allocations: 4 kB / 446.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1717, allocations: 63.89 kB / 446.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008092/0.1725, allocations: 0.541 MB / 447.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1726, allocations: 93.14 kB / 447.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.1727, allocations: 33.66 kB / 447.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1727, allocations: 7.938 kB / 447.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1727, allocations: 42.44 kB / 447.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.1727, allocations: 0 / 447.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006076/0.1733, allocations: 301.6 kB / 447.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1734, allocations: 81.11 kB / 448 MB, free: 1.012 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.1735, allocations: 129.7 kB / 448.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1735, allocations: 25.7 kB / 448.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.175e-05/0.1736, allocations: 107.8 kB / 448.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1736, allocations: 39.55 kB / 448.3 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.1737, allocations: 13.72 kB / 448.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.1738, allocations: 326.8 kB / 448.6 MB, free: 356 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.1738, allocations: 16 kB / 448.6 MB, free: 340 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.1739, allocations: 96.5 kB / 448.7 MB, free: 212 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.174, allocations: 116.5 kB / 448.8 MB, free: 64 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.174, allocations: 0 / 448.8 MB, free: 64 kB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003253/0.1744, allocations: 175 kB / 449 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1744, allocations: 4 kB / 449 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1744, allocations: 4 kB / 449 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.1747, allocations: 37.64 kB / 449 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1748, allocations: 23.92 kB / 449.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.1774, allocations: 2.545 MB / 451.6 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.1775, allocations: 7.906 kB / 451.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1775, allocations: 8 kB / 451.6 MB, free: 12.98 MB / 334.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.1777, allocations: 137.8 kB / 451.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.1778, allocations: 7.906 kB / 451.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.1778, allocations: 19.89 kB / 451.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1779, allocations: 0 / 451.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1779, allocations: 0 / 451.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1779, allocations: 4 kB / 451.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.1782, allocations: 197.6 kB / 452 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1782, allocations: 0 / 452 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.73e-05/0.1783, allocations: 23.98 kB / 452 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.1785, allocations: 37.64 kB / 452 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1785, allocations: 7.938 kB / 452.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.1805, allocations: 2.54 MB / 454.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1805, allocations: 0 / 454.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.1808, allocations: 300.7 kB / 454.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1809, allocations: 88.95 kB / 455 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1809, allocations: 4 kB / 455 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.181, allocations: 96 / 455 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1811, allocations: 16.03 kB / 455 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1811, allocations: 0 / 455 MB, free: 9.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.609e-05/0.1811, allocations: 103.1 kB / 455.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.294e-06/0.1811, allocations: 0 / 455.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.1815, allocations: 39.84 kB / 455.1 MB, free: 9.094 MB / 334.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001645/0.1817, allocations: 99.19 kB / 455.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000548/0.1822, allocations: 301.3 kB / 455.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1823, allocations: 0 / 455.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.1826, allocations: 257.2 kB / 455.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.1831, allocations: 25.34 kB / 455.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1841, allocations: 0.6035 MB / 456.4 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.1846, allocations: 0.7122 MB / 457.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.1846, allocations: 15.44 kB / 457.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1846, allocations: 0 / 457.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of Templates: time 0.005327/0.19, allocations: 2.403 MB / 459.5 MB, free: 4.57 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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 OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3CalcHelperMain.o] Error 1