Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.001961/0.001961, allocations: 106.9 kB / 16.52 MB, free: 6.723 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.002533/0.002533, allocations: 192.4 kB / 17.44 MB, free: 6.055 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.868/1.868, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2681/0.2681, allocations: 43.51 MB / 314.1 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.001681/0.001681, allocations: 65.84 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1538, allocations: 57.79 MB / 440.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003914/0.1578, allocations: 1.893 MB / 442.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004993/0.1584, allocations: 151.9 kB / 442.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.1585, allocations: 4 kB / 442.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.011e-05/0.1587, allocations: 19.84 kB / 442.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.1589, allocations: 43.67 kB / 442.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.159, allocations: 39.91 kB / 442.6 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1592, allocations: 171.2 kB / 442.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1594, allocations: 45.86 kB / 442.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1595, allocations: 67.7 kB / 442.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1596, allocations: 71.64 kB / 443 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1597, allocations: 11.94 kB / 443 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.025e-05/0.1597, allocations: 16 kB / 443 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.1598, allocations: 23.92 kB / 443 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.348e-05/0.1598, allocations: 83.59 kB / 443.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.16, allocations: 131.9 kB / 443.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.16, allocations: 0 / 443.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.16, allocations: 0 / 443.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.16, allocations: 0 / 443.2 MB, free: 4.711 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006446/0.1607, allocations: 459.2 kB / 443.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.1607, allocations: 8.031 kB / 443.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.1608, allocations: 20.75 kB / 443.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.161, allocations: 212 kB / 443.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1611, allocations: 12.7 kB / 443.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.1611, allocations: 20.38 kB / 443.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.1614, allocations: 162.2 kB / 444.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.1614, allocations: 12.03 kB / 444.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1614, allocations: 7.938 kB / 444.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1615, allocations: 4 kB / 444.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.1616, allocations: 95.89 kB / 444.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008344/0.1625, allocations: 0.6033 MB / 444.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1627, allocations: 137.2 kB / 445 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.1627, allocations: 61.81 kB / 445 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.1628, allocations: 4 kB / 445 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1628, allocations: 30.56 kB / 445 MB, free: 2.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.1628, allocations: 4 kB / 445.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007094/0.1635, allocations: 377.2 kB / 445.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.1636, allocations: 81.11 kB / 445.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.1637, allocations: 130.1 kB / 445.6 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1637, allocations: 25.7 kB / 445.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.1637, allocations: 132.3 kB / 445.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1638, allocations: 55.2 kB / 445.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.1638, allocations: 37.72 kB / 445.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.1639, allocations: 322.8 kB / 446.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.164, allocations: 47.91 kB / 446.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.164, allocations: 101.9 kB / 446.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1642, allocations: 152.5 kB / 446.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1642, allocations: 4 kB / 446.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003205/0.1645, allocations: 226.9 kB / 446.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1646, allocations: 4 kB / 446.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.1646, allocations: 4 kB / 446.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.1648, allocations: 45.95 kB / 446.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1649, allocations: 43.92 kB / 446.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.1674, allocations: 2.72 MB / 449.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.1675, allocations: 23.78 kB / 449.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.1676, allocations: 8.156 kB / 449.6 MB, free: 13.73 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 (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.0001363/0.1677, allocations: 129.8 kB / 449.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.1678, allocations: 11.91 kB / 449.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.1678, allocations: 16.72 kB / 449.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1678, allocations: 0 / 449.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1678, allocations: 0 / 449.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1678, allocations: 11.92 kB / 449.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.1682, allocations: 237.4 kB / 450 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1682, allocations: 4 kB / 450 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.1684, allocations: 28.08 kB / 450 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.1685, allocations: 49.67 kB / 450 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.1686, allocations: 8 kB / 450 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.171, allocations: 2.712 MB / 452.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.171, allocations: 0 / 452.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.1715, allocations: 379.8 kB / 453.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.1715, allocations: 97.03 kB / 453.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1715, allocations: 8.062 kB / 453.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1717, allocations: 3.938 kB / 453.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.1717, allocations: 11.98 kB / 453.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.1717, allocations: 4 kB / 453.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.83e-05/0.1718, allocations: 98.5 kB / 453.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1718, allocations: 3.938 kB / 453.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004678/0.1723, allocations: 59.84 kB / 453.4 MB, free: 9.512 MB / 334.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.0001245/0.1724, allocations: 103.2 kB / 453.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006367/0.1731, allocations: 352.8 kB / 453.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1731, allocations: 0.5 kB / 453.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.1734, allocations: 289.3 kB / 454.1 MB, free: 8.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.174, allocations: 27.97 kB / 454.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.1754, allocations: 0.7271 MB / 454.9 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.1759, allocations: 0.7242 MB / 455.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.176, allocations: 11.44 kB / 455.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of SimCode: time 8.72e-07/0.176, allocations: 0 / 455.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of Templates: time 0.006603/0.1826, allocations: 3.108 MB / 458.7 MB, free: 4.066 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.o] Error 1