Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 90.72 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.001233/0.001233, allocations: 184.4 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.491/1.491, allocations: 223.2 MB / 242.5 MB, free: 332 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.2292/0.2292, allocations: 44.23 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1496, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003382/0.1531, allocations: 2.598 MB / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007298/0.1538, allocations: 418.5 kB / 475.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.154, allocations: 11.94 kB / 475.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.316e-05/0.1541, allocations: 39.62 kB / 475.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1544, allocations: 146.8 kB / 475.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1546, allocations: 71.92 kB / 475.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.1552, allocations: 0.5091 MB / 476 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.1554, allocations: 128.9 kB / 476.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.1556, allocations: 171.4 kB / 476.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.1559, allocations: 195.1 kB / 476.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.156, allocations: 24 kB / 476.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.351e-05/0.156, allocations: 24 kB / 476.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.1561, allocations: 71.75 kB / 476.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1562, allocations: 117.5 kB / 476.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.1566, allocations: 383.2 kB / 477 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.567e-06/0.1566, allocations: 4 kB / 477.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1567, allocations: 0 / 477.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1567, allocations: 0 / 477.1 MB, free: 8.836 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009267/0.1576, allocations: 0.6432 MB / 477.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1577, allocations: 8.031 kB / 477.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1578, allocations: 51.44 kB / 477.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.1581, allocations: 282.4 kB / 478 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.1582, allocations: 40.95 kB / 478.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/0.1583, allocations: 55.89 kB / 478.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.159, allocations: 450.1 kB / 478.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.1591, allocations: 15.91 kB / 478.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.1591, allocations: 16 kB / 478.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.1592, allocations: 15.94 kB / 478.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.1596, allocations: 269.8 kB / 478.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.162, allocations: 1.691 MB / 480.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.1625, allocations: 415.4 kB / 481 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.1627, allocations: 159.6 kB / 481.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1628, allocations: 8 kB / 481.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.1628, allocations: 46.48 kB / 481.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.1628, allocations: 0 / 481.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007378/0.1636, allocations: 361.6 kB / 481.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.1638, allocations: 269 kB / 481.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.164, allocations: 254.8 kB / 482 MB, free: 3.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1641, allocations: 29.7 kB / 482.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1642, allocations: 243.6 kB / 482.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.1644, allocations: 181.4 kB / 482.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.1644, allocations: 12.31 kB / 482.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1646, allocations: 350.8 kB / 482.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.1648, allocations: 117.9 kB / 483 MB, free: 2.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.1653, allocations: 413.6 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.1656, allocations: 181.3 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1656, allocations: 4 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008638/0.1664, allocations: 0.5712 MB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.1665, allocations: 8 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.1665, allocations: 12 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/0.1665, allocations: 16 kB / 484.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.1671, allocations: 175.7 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/0.1671, allocations: 27.81 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.1674, allocations: 63.72 kB / 484.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.1675, allocations: 36 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.1677, allocations: 182.1 kB / 484.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.1679, allocations: 35.62 kB / 484.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.56e-05/0.168, allocations: 41.7 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.168, allocations: 8 kB / 484.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.168, allocations: 4 kB / 484.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.168, allocations: 11.88 kB / 484.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.169, allocations: 421.1 kB / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.169, allocations: 0 / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/0.1696, allocations: 127.9 kB / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1696, allocations: 4 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.1696, allocations: 16.08 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1697, allocations: 4 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1697, allocations: 3.938 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.1706, allocations: 1.08 MB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.1707, allocations: 108.7 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.1707, allocations: 16 kB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.1711, allocations: 8 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.1712, allocations: 32.05 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.1712, allocations: 23.98 kB / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.1714, allocations: 166 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1714, allocations: 0 / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008257/0.1722, allocations: 135.7 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.1724, allocations: 119.1 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.173, allocations: 349.4 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.173, allocations: 0 / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.1732, allocations: 127.9 kB / 487.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.1743, allocations: 91.23 kB / 487.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.1777, allocations: 2.465 MB / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.1783, allocations: 0.8239 MB / 490.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.1784, allocations: 35.44 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1784, allocations: 3.938 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Templates: time 0.007984/0.1864, allocations: 4.932 MB / 495.8 MB, free: 5.355 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.InertiaCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.InertiaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.InertiaCalcHelperMain.o] Error 1