Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009842/0.0009842, allocations: 95.06 kB / 17.64 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.001371/0.00137, allocations: 192.5 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.565/1.565, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 12 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 63.46 MB / 482.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002475/0.1572, allocations: 1.583 MB / 483.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.1581, allocations: 0.5108 MB / 484.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.1582, allocations: 7.938 kB / 484.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.1583, allocations: 11.92 kB / 484.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.867e-05/0.1584, allocations: 35.69 kB / 484.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.1586, allocations: 19.98 kB / 484.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1589, allocations: 139.3 kB / 484.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.159, allocations: 49.78 kB / 484.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1592, allocations: 47.8 kB / 484.5 MB, free: 3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1593, allocations: 63.69 kB / 484.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1594, allocations: 7.938 kB / 484.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-05/0.1594, allocations: 12 kB / 484.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.1595, allocations: 15.92 kB / 484.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.1595, allocations: 53.64 kB / 484.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1597, allocations: 115.9 kB / 484.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1597, allocations: 0 / 484.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1597, allocations: 8 kB / 484.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1597, allocations: 0 / 484.8 MB, free: 2.723 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006298/0.1604, allocations: 406.9 kB / 485.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1604, allocations: 8.031 kB / 485.2 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.1606, allocations: 27.8 kB / 485.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1608, allocations: 198.9 kB / 485.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1609, allocations: 12 kB / 485.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.1609, allocations: 16 kB / 485.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1612, allocations: 126.1 kB / 485.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.1612, allocations: 11.89 kB / 485.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.1613, allocations: 4 kB / 485.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.1613, allocations: 4 kB / 485.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.1615, allocations: 83.94 kB / 485.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007497/0.1623, allocations: 480.1 kB / 486.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.1625, allocations: 130.5 kB / 486.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1626, allocations: 57.09 kB / 486.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1626, allocations: 0 / 486.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1627, allocations: 34.56 kB / 486.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.1627, allocations: 0 / 486.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001533/0.1642, allocations: 0.8246 MB / 487.2 MB, free: 76 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1643, allocations: 55.41 kB / 487.2 MB, free: 8 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1644, allocations: 136.3 kB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1645, allocations: 29.7 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.1646, allocations: 108.3 kB / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.1646, allocations: 67.02 kB / 487.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.1646, allocations: 0 / 487.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1648, allocations: 334.8 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.108e-05/0.1649, allocations: 44.36 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.165, allocations: 76.16 kB / 488 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1651, allocations: 63.86 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1652, allocations: 3.953 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003866/0.1655, allocations: 206.3 kB / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1656, allocations: 4 kB / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1656, allocations: 0 / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.1658, allocations: 48.77 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1659, allocations: 31.98 kB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.1676, allocations: 1.561 MB / 489.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.1677, allocations: 16.02 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.1677, allocations: 4 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.1678, allocations: 129.8 kB / 490.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.1679, allocations: 23.75 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.1679, allocations: 17.19 kB / 490.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1679, allocations: 4 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.168, allocations: 64 / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.168, allocations: 7.984 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007869/0.1688, allocations: 0.5466 MB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1688, allocations: 4.031 kB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1689, allocations: 35.97 kB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.874e-05/0.1691, allocations: 28.84 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1691, allocations: 4 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.1702, allocations: 1.382 MB / 492.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1703, allocations: 0 / 492.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.1708, allocations: 348.2 kB / 492.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1708, allocations: 92.91 kB / 492.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1709, allocations: 4 kB / 492.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.171, allocations: 4 kB / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.171, allocations: 24.05 kB / 492.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.171, allocations: 4 kB / 492.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.1711, allocations: 107.3 kB / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1711, allocations: 0 / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.1715, allocations: 40 kB / 492.7 MB, free: 10.08 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001366/0.1716, allocations: 103.2 kB / 492.8 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.1721, allocations: 266.5 kB / 493.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1721, allocations: 0 / 493.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.1724, allocations: 197.1 kB / 493.3 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1727, allocations: 23.94 kB / 493.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000855/0.1736, allocations: 0.5465 MB / 493.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.1739, allocations: 0.7168 MB / 494.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.174, allocations: 15.44 kB / 494.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.174, allocations: 0 / 494.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of Templates: time 0.004634/0.1786, allocations: 2.383 MB / 497 MB, free: 5.742 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.SimpleDriveTrainCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrainCalcHelperMain.o] Error 1