Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 107 kB / 16.52 MB, free: 6.719 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.001613/0.001613, allocations: 195.7 kB / 17.44 MB, free: 6.078 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.846/1.846, allocations: 205.1 MB / 223.3 MB, free: 12.43 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.2645/0.2645, allocations: 43.52 MB / 314.2 MB, free: 0.75 MB / 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.001674/0.001674, allocations: 64.75 kB / 382.7 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1385, allocations: 57.79 MB / 440.5 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003599/0.1421, allocations: 2.872 MB / 443.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1431, allocations: 0.7448 MB / 444.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1433, allocations: 8 kB / 444.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.1435, allocations: 35.64 kB / 444.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1437, allocations: 111.1 kB / 444.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.144, allocations: 71.94 kB / 444.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.1443, allocations: 417.9 kB / 444.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.1445, allocations: 121.3 kB / 444.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1447, allocations: 151.4 kB / 445 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1448, allocations: 179.2 kB / 445.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.1449, allocations: 20 kB / 445.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.143e-05/0.145, allocations: 24 kB / 445.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.145, allocations: 67.75 kB / 445.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.1451, allocations: 187 kB / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1454, allocations: 319.2 kB / 445.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1454, allocations: 0 / 445.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1454, allocations: 3.938 kB / 445.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1454, allocations: 0 / 445.8 MB, free: 2.211 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007905/0.1462, allocations: 0.6396 MB / 446.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1463, allocations: 12.03 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.1463, allocations: 48.47 kB / 446.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1466, allocations: 280.4 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.1466, allocations: 25.38 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.1467, allocations: 44.36 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.1472, allocations: 402.4 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.1472, allocations: 7.891 kB / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.1473, allocations: 16 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1473, allocations: 12 kB / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.1477, allocations: 215.7 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.1499, allocations: 1.718 MB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.1504, allocations: 262.3 kB / 449.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1505, allocations: 102 kB / 449.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1506, allocations: 8 kB / 449.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1506, allocations: 42.5 kB / 449.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.1506, allocations: 0 / 449.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006777/0.1513, allocations: 253.4 kB / 449.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002273/0.1515, allocations: 221.5 kB / 450 MB, free: 13.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.1518, allocations: 266.9 kB / 450.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.1519, allocations: 33.7 kB / 450.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.1521, allocations: 247.3 kB / 450.6 MB, free: 13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.303e-05/0.1521, allocations: 110.4 kB / 450.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.1523, allocations: 106.3 kB / 450.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.1525, allocations: 350.7 kB / 451.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.1527, allocations: 93.27 kB / 451.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.1534, allocations: 432.8 kB / 451.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.1544, allocations: 0.5624 MB / 452.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.1545, allocations: 4 kB / 452.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00128/0.1557, allocations: 0.5246 MB / 452.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.1558, allocations: 11.98 kB / 452.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.1558, allocations: 12.09 kB / 452.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.433e-05/0.1559, allocations: 20.8 kB / 452.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.1563, allocations: 151.8 kB / 452.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/0.1563, allocations: 23.92 kB / 452.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.1567, allocations: 63.88 kB / 453 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.1567, allocations: 32 kB / 453 MB, free: 10.19 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0002226/0.1569, allocations: 181.5 kB / 453.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.1571, allocations: 31.62 kB / 453.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.1572, allocations: 41.72 kB / 453.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.1572, allocations: 4 kB / 453.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.1572, allocations: 8 kB / 453.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1573, allocations: 4 kB / 453.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.1586, allocations: 0.6475 MB / 453.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1587, allocations: 3.984 kB / 453.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.1591, allocations: 91.89 kB / 454 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1591, allocations: 4.062 kB / 454 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.1592, allocations: 12 kB / 454 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.1592, allocations: 11.92 kB / 454.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1592, allocations: 0 / 454.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/0.1602, allocations: 0.8304 MB / 454.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1603, allocations: 108.9 kB / 455 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.1604, allocations: 12 kB / 455 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.1607, allocations: 7.938 kB / 455 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/0.1608, allocations: 31.91 kB / 455 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.1608, allocations: 15.98 kB / 455.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.161, allocations: 178 kB / 455.2 MB, free: 7.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.161, allocations: 0 / 455.2 MB, free: 7.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007437/0.1618, allocations: 103.8 kB / 455.3 MB, free: 7.762 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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.0001878/0.162, allocations: 116.8 kB / 455.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.1626, allocations: 289.8 kB / 455.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1626, allocations: 0 / 455.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.1628, allocations: 91.77 kB / 455.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.164, allocations: 66.16 kB / 455.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.1667, allocations: 1.704 MB / 457.6 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.1672, allocations: 0.7914 MB / 458.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.1673, allocations: 35.42 kB / 458.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1673, allocations: 0 / 458.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of Templates: time 0.008672/0.176, allocations: 4.106 MB / 462.5 MB, free: 0.4961 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.o] Error 1