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.001268/0.001268, allocations: 91.12 kB / 17.63 MB, free: 6.133 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.001642/0.001643, allocations: 183.5 kB / 18.52 MB, free: 5.297 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.515/1.515, allocations: 223.3 MB / 242.5 MB, free: 14.59 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.2483/0.2483, allocations: 44.22 MB / 337.9 MB, free: 2.574 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.135, allocations: 61.93 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001987/0.137, allocations: 1.503 MB / 473.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003098/0.1373, allocations: 151.5 kB / 473.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.1374, allocations: 3.938 kB / 473.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.345e-05/0.1375, allocations: 11.92 kB / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1376, allocations: 47.61 kB / 473.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.1377, allocations: 31.95 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1379, allocations: 175.1 kB / 474.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1381, allocations: 41.72 kB / 474.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.1382, allocations: 63.77 kB / 474.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1383, allocations: 59.72 kB / 474.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1383, allocations: 8 kB / 474.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.438e-05/0.1384, allocations: 12 kB / 474.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.1384, allocations: 27.91 kB / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.1385, allocations: 57.64 kB / 474.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1386, allocations: 131.9 kB / 474.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1386, allocations: 0 / 474.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1386, allocations: 3.938 kB / 474.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1386, allocations: 0 / 474.5 MB, free: 11.38 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.0005485/0.1392, allocations: 431.2 kB / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1392, allocations: 8.031 kB / 474.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.1393, allocations: 15.81 kB / 474.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.1395, allocations: 198.9 kB / 475.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1395, allocations: 12.33 kB / 475.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.1396, allocations: 27.86 kB / 475.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1399, allocations: 165.6 kB / 475.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1399, allocations: 3.938 kB / 475.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1399, allocations: 8 kB / 475.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1399, allocations: 8 kB / 475.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1401, allocations: 83.95 kB / 475.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.1409, allocations: 0.6189 MB / 476.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.1411, allocations: 129.1 kB / 476.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.308e-05/0.1412, allocations: 53.7 kB / 476.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.1412, allocations: 0 / 476.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1412, allocations: 34.56 kB / 476.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.1412, allocations: 0 / 476.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007775/0.142, allocations: 385.4 kB / 476.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1421, allocations: 85.05 kB / 476.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.1422, allocations: 126 kB / 476.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1422, allocations: 33.7 kB / 476.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.1423, allocations: 124 kB / 477 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.1424, allocations: 59.19 kB / 477.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.1424, allocations: 4 kB / 477.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1425, allocations: 326.8 kB / 477.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-05/0.1426, allocations: 35.98 kB / 477.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1427, allocations: 104.6 kB / 477.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.394e-05/0.1428, allocations: 51.94 kB / 477.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1428, allocations: 0 / 477.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003464/0.1431, allocations: 231.3 kB / 477.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1432, allocations: 4 kB / 477.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1432, allocations: 4 kB / 477.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.1434, allocations: 49.64 kB / 477.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1435, allocations: 36.22 kB / 477.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.1459, allocations: 2.724 MB / 480.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.481e-05/0.146, allocations: 11.84 kB / 480.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.146, allocations: 12 kB / 480.6 MB, free: 4.629 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 (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.0001532/0.1461, allocations: 141.9 kB / 480.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.1462, allocations: 7.906 kB / 480.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.1462, allocations: 20.7 kB / 480.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1463, allocations: 0 / 480.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.1463, allocations: 8.094 kB / 480.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1463, allocations: 3.984 kB / 480.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.1466, allocations: 225.5 kB / 481 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1466, allocations: 0 / 481 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1468, allocations: 35.92 kB / 481.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.1469, allocations: 53.62 kB / 481.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1469, allocations: 4 kB / 481.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.1491, allocations: 2.716 MB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1491, allocations: 0 / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.1496, allocations: 372.3 kB / 484.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.1496, allocations: 85.02 kB / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1496, allocations: 8.156 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.1497, allocations: 4 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1498, allocations: 15.94 kB / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.1498, allocations: 4 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.1499, allocations: 101.8 kB / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1499, allocations: 0 / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.1503, allocations: 55.84 kB / 484.5 MB, free: 428 kB / 350.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.0001339/0.1505, allocations: 108.2 kB / 484.6 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005437/0.151, allocations: 348.8 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.151, allocations: 0 / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.1513, allocations: 285.8 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.1518, allocations: 34.14 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1529, allocations: 0.8087 MB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1533, allocations: 0.7203 MB / 486.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.1533, allocations: 19.44 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1533, allocations: 0 / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Templates: time 0.005185/0.1585, allocations: 3.08 MB / 489.9 MB, free: 10.91 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++ 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.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