Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 88.56 kB / 17.63 MB, free: 6.16 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.001149/0.001149, allocations: 182.8 kB / 18.52 MB, free: 5.32 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.546/1.546, allocations: 223.3 MB / 242.5 MB, free: 14.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.22 MB / 337.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 8 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002167/0.1499, allocations: 1.563 MB / 473.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008385/0.1507, allocations: 471.1 kB / 474.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.721e-05/0.1508, allocations: 0 / 474.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.151, allocations: 19.84 kB / 474.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.151, allocations: 31.7 kB / 474.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.1512, allocations: 23.98 kB / 474.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1514, allocations: 139.3 kB / 474.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1516, allocations: 53.78 kB / 474.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.1517, allocations: 51.73 kB / 474.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1518, allocations: 51.77 kB / 474.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1518, allocations: 8 kB / 474.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.169e-05/0.1519, allocations: 4 kB / 474.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.1519, allocations: 23.91 kB / 474.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.1519, allocations: 53.58 kB / 474.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1521, allocations: 108 kB / 474.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1521, allocations: 0 / 474.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1521, allocations: 0 / 474.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1521, allocations: 0 / 474.8 MB, free: 11.09 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.0005421/0.1527, allocations: 414.8 kB / 475.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1527, allocations: 8.562 kB / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1528, allocations: 15.81 kB / 475.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.1531, allocations: 206.9 kB / 475.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1531, allocations: 8 kB / 475.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.1531, allocations: 15.95 kB / 475.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.1534, allocations: 133.6 kB / 475.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1534, allocations: 3.906 kB / 475.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1535, allocations: 4 kB / 475.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1535, allocations: 4 kB / 475.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.1537, allocations: 95.83 kB / 475.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.1544, allocations: 476.2 kB / 476.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.1546, allocations: 114.5 kB / 476.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.1548, allocations: 64.8 kB / 476.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1548, allocations: 0 / 476.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1548, allocations: 38.55 kB / 476.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.1548, allocations: 0 / 476.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001446/0.1563, allocations: 0.8157 MB / 477.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.1564, allocations: 59.36 kB / 477.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1566, allocations: 136.9 kB / 477.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1566, allocations: 33.64 kB / 477.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1567, allocations: 112.3 kB / 477.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.1568, allocations: 74.92 kB / 477.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-06/0.1568, allocations: 4 kB / 477.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.157, allocations: 326.8 kB / 477.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/0.1571, allocations: 44.36 kB / 477.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1572, allocations: 72.16 kB / 478 MB, free: 7.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1573, allocations: 55.98 kB / 478 MB, free: 7.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1573, allocations: 4 kB / 478.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003827/0.1577, allocations: 210.2 kB / 478.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1578, allocations: 8 kB / 478.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1578, allocations: 0 / 478.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.158, allocations: 40.83 kB / 478.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.1582, allocations: 43.95 kB / 478.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1596, allocations: 1.557 MB / 479.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.1597, allocations: 12.02 kB / 479.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1597, allocations: 8 kB / 479.9 MB, free: 5.484 MB / 350.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.0001212/0.1598, allocations: 121.8 kB / 480 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.1599, allocations: 15.81 kB / 480.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.494e-05/0.16, allocations: 13.19 kB / 480.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.16, allocations: 4 kB / 480.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.16, allocations: 8.25 kB / 480.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.16, allocations: 7.938 kB / 480.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007461/0.1607, allocations: 0.5532 MB / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1608, allocations: 3.938 kB / 480.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1609, allocations: 35.98 kB / 480.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.49e-05/0.161, allocations: 28.84 kB / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.161, allocations: 7.984 kB / 480.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.1621, allocations: 1.366 MB / 482.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1621, allocations: 0 / 482.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.1626, allocations: 353.5 kB / 482.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.1627, allocations: 92.94 kB / 482.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1627, allocations: 4 kB / 482.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.798e-05/0.1628, allocations: 4 kB / 482.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.1629, allocations: 19.92 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1629, allocations: 12.06 kB / 482.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.163, allocations: 105.7 kB / 482.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.163, allocations: 3.938 kB / 482.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003222/0.1634, allocations: 44 kB / 482.7 MB, free: 2.453 MB / 350.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.0001262/0.1635, allocations: 99.17 kB / 482.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000528/0.164, allocations: 254.6 kB / 483.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.164, allocations: 0 / 483.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.1643, allocations: 194.6 kB / 483.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1647, allocations: 23.92 kB / 483.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008765/0.1655, allocations: 0.5469 MB / 483.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.166, allocations: 0.7168 MB / 484.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.1661, allocations: 15.44 kB / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1661, allocations: 4 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of Templates: time 0.004742/0.1708, allocations: 2.386 MB / 486.9 MB, free: 14.12 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrainCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrainCalcHelperMain.o] Error 1