Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 97.64 kB / 18.01 MB, free: 5.734 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.001713/0.001713, allocations: 177.6 kB / 18.91 MB, free: 4.871 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.693/1.693, allocations: 223.3 MB / 242.9 MB, free: 224 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.2433/0.2433, allocations: 44.25 MB / 338.3 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 8.234 kB / 411 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 61.93 MB / 472.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003046/0.1493, allocations: 1.549 MB / 474.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004896/0.1499, allocations: 151.4 kB / 474.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.15, allocations: 8 kB / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.623e-05/0.1501, allocations: 15.84 kB / 474.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1504, allocations: 39.69 kB / 474.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.1506, allocations: 35.91 kB / 474.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.1508, allocations: 171.1 kB / 474.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.151, allocations: 49.7 kB / 474.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1512, allocations: 63.73 kB / 475 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1513, allocations: 71.69 kB / 475 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.1514, allocations: 8 kB / 475.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.369e-05/0.1514, allocations: 11.94 kB / 475.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.1514, allocations: 23.92 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1516, allocations: 105.3 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.1518, allocations: 131.9 kB / 475.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1518, allocations: 0 / 475.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1518, allocations: 0 / 475.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1518, allocations: 0 / 475.3 MB, free: 10.94 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007465/0.1525, allocations: 431.3 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.1526, allocations: 8.031 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/0.1527, allocations: 24.69 kB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.153, allocations: 212 kB / 476 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.153, allocations: 8.703 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.1531, allocations: 20.38 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.1535, allocations: 166.2 kB / 476.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.1536, allocations: 8.094 kB / 476.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.1536, allocations: 11.94 kB / 476.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1536, allocations: 4 kB / 476.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.1539, allocations: 87.89 kB / 476.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.1551, allocations: 0.6111 MB / 476.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.1554, allocations: 129.1 kB / 477 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.1556, allocations: 53.89 kB / 477.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1556, allocations: 7.938 kB / 477.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.1556, allocations: 34.56 kB / 477.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.1556, allocations: 0 / 477.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001094/0.1567, allocations: 385.2 kB / 477.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.1568, allocations: 77.11 kB / 477.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.157, allocations: 126.1 kB / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.157, allocations: 29.7 kB / 477.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1571, allocations: 128 kB / 477.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.1572, allocations: 63.48 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.1573, allocations: 25.7 kB / 477.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1574, allocations: 322.8 kB / 478.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1576, allocations: 35.98 kB / 478.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.1577, allocations: 108.4 kB / 478.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.158, allocations: 152.5 kB / 478.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.158, allocations: 4 kB / 478.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005587/0.1586, allocations: 222.9 kB / 478.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1586, allocations: 4.25 kB / 478.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1587, allocations: 8 kB / 478.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.159, allocations: 49.69 kB / 478.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.1592, allocations: 39.92 kB / 478.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.162, allocations: 2.728 MB / 481.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1621, allocations: 15.81 kB / 481.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1622, allocations: 15.94 kB / 481.6 MB, free: 4 MB / 350.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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.1623, allocations: 129.7 kB / 481.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.1624, allocations: 15.91 kB / 481.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.1625, allocations: 20.7 kB / 481.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1625, allocations: 4 kB / 481.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1625, allocations: 0 / 481.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1625, allocations: 0 / 481.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.163, allocations: 229.5 kB / 482 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.163, allocations: 0 / 482 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.1632, allocations: 31.92 kB / 482 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.1634, allocations: 45.69 kB / 482.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.1634, allocations: 8 kB / 482.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.166, allocations: 2.72 MB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1661, allocations: 0 / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.1666, allocations: 389.2 kB / 485.2 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.1667, allocations: 81.02 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1668, allocations: 8.062 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1669, allocations: 3.938 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.167, allocations: 19.98 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.167, allocations: 0 / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.723e-05/0.1671, allocations: 110.7 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1671, allocations: 4 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006406/0.1677, allocations: 47.91 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000135/0.1679, allocations: 107.7 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007019/0.1686, allocations: 349.3 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1686, allocations: 0 / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.169, allocations: 289.2 kB / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006598/0.1697, allocations: 28.66 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1713, allocations: 0.8279 MB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.1718, allocations: 0.7242 MB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.1718, allocations: 11.44 kB / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1718, allocations: 0 / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.007009/0.1788, allocations: 3.101 MB / 490.9 MB, free: 10.25 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.o] Error 1