Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007915/0.0007916, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008423/0.0008423, allocations: 196.6 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 45.92 MB / 344.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1527, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002354/0.1552, allocations: 1.519 MB / 483.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.1555, allocations: 151.5 kB / 483.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.1556, allocations: 4 kB / 483.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.533e-05/0.1557, allocations: 15.86 kB / 483.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.1558, allocations: 47.61 kB / 483.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.156, allocations: 31.91 kB / 483.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1562, allocations: 175.1 kB / 484 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.1564, allocations: 37.88 kB / 484.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.1565, allocations: 55.78 kB / 484.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1566, allocations: 67.7 kB / 484.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.1567, allocations: 15.94 kB / 484.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.76e-05/0.1567, allocations: 8 kB / 484.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.1567, allocations: 19.92 kB / 484.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.1568, allocations: 57.64 kB / 484.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.157, allocations: 139.9 kB / 484.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.157, allocations: 0 / 484.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.157, allocations: 0 / 484.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.157, allocations: 0 / 484.4 MB, free: 3.062 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.0005659/0.1576, allocations: 427.2 kB / 484.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1576, allocations: 8.031 kB / 484.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.1577, allocations: 15.81 kB / 484.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.1579, allocations: 210.8 kB / 485.1 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.158, allocations: 12.33 kB / 485.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.158, allocations: 23.89 kB / 485.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1583, allocations: 161.6 kB / 485.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1583, allocations: 4 kB / 485.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.1584, allocations: 8 kB / 485.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1584, allocations: 11.94 kB / 485.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1586, allocations: 79.95 kB / 485.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008706/0.1595, allocations: 0.615 MB / 486 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.1597, allocations: 129.1 kB / 486.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/0.1598, allocations: 45.7 kB / 486.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1598, allocations: 8 kB / 486.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.1598, allocations: 38.5 kB / 486.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1598, allocations: 0 / 486.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007819/0.1606, allocations: 381.6 kB / 486.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1607, allocations: 81.05 kB / 486.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1608, allocations: 136.7 kB / 486.8 MB, free: 444 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.1609, allocations: 29.7 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.161, allocations: 128.4 kB / 487 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.161, allocations: 59.19 kB / 487 MB, free: 212 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.161, allocations: 4 kB / 487 MB, free: 208 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1612, allocations: 326.8 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.1613, allocations: 39.92 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1614, allocations: 100 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.845e-05/0.1615, allocations: 59.92 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1616, allocations: 3.953 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003703/0.1619, allocations: 223 kB / 487.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.162, allocations: 4 kB / 487.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.162, allocations: 7.984 kB / 487.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/0.1622, allocations: 49.64 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1624, allocations: 31.98 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.1648, allocations: 2.717 MB / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.1649, allocations: 19.88 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1649, allocations: 4 kB / 490.6 MB, free: 12.31 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.165, allocations: 137.9 kB / 490.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.1651, allocations: 15.86 kB / 490.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.1651, allocations: 12.72 kB / 490.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.1651, allocations: 4 kB / 490.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.1651, allocations: 0 / 490.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1651, allocations: 7.984 kB / 490.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.1654, allocations: 229.5 kB / 491 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1654, allocations: 0 / 491 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.1656, allocations: 27.98 kB / 491 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.1657, allocations: 57.58 kB / 491.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1657, allocations: 4 kB / 491.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.1676, allocations: 2.72 MB / 493.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1676, allocations: 0 / 493.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.168, allocations: 379 kB / 494.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.1681, allocations: 89 kB / 494.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1681, allocations: 8.203 kB / 494.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.1682, allocations: 7.938 kB / 494.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.1683, allocations: 11.98 kB / 494.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.1683, allocations: 8 kB / 494.3 MB, free: 8.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.87e-05/0.1683, allocations: 95.27 kB / 494.4 MB, free: 8.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1683, allocations: 0 / 494.4 MB, free: 8.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.1688, allocations: 55.84 kB / 494.4 MB, free: 8.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.1689, allocations: 100.3 kB / 494.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004794/0.1694, allocations: 345.2 kB / 494.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1694, allocations: 0 / 494.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.1697, allocations: 281.8 kB / 495.1 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.1702, allocations: 38.34 kB / 495.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1713, allocations: 0.8125 MB / 496 MB, free: 6.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1717, allocations: 0.7203 MB / 496.7 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1717, allocations: 19.44 kB / 496.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1717, allocations: 0 / 496.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of Templates: time 0.00532/0.1771, allocations: 3.085 MB / 499.8 MB, free: 2.594 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.o] Error 1