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.0008623/0.0008625, allocations: 95.45 kB / 16.33 MB, free: 5.938 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.0008942/0.0008943, allocations: 188.6 kB / 17.22 MB, free: 5.859 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.703/1.703, allocations: 205.4 MB / 223.4 MB, free: 5.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4312/0.4312, allocations: 43.54 MB / 315.2 MB, free: 8.762 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.0004977/0.0004977, allocations: 16 kB / 384.5 MB, free: 8.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1332, allocations: 58.88 MB / 443.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002278/0.1355, allocations: 1.507 MB / 444.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.1359, allocations: 155.5 kB / 445.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.136, allocations: 7.938 kB / 445.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.506e-05/0.136, allocations: 7.922 kB / 445.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.1362, allocations: 43.62 kB / 445.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.1364, allocations: 27.97 kB / 445.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1366, allocations: 179.1 kB / 445.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.1368, allocations: 45.83 kB / 445.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1369, allocations: 59.8 kB / 445.4 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.137, allocations: 67.7 kB / 445.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.1371, allocations: 8 kB / 445.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-05/0.1371, allocations: 8 kB / 445.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.1372, allocations: 23.91 kB / 445.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.1372, allocations: 53.64 kB / 445.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.1374, allocations: 139.8 kB / 445.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.1374, allocations: 4 kB / 445.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1374, allocations: 0 / 445.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1375, allocations: 4 kB / 445.7 MB, free: 10.75 MB / 382.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.0006777/0.1382, allocations: 419.2 kB / 446.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.1382, allocations: 12.03 kB / 446.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.1383, allocations: 19.77 kB / 446.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1386, allocations: 206.8 kB / 446.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1386, allocations: 8.328 kB / 446.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.1386, allocations: 16 kB / 446.4 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.139, allocations: 177.5 kB / 446.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.139, allocations: 3.906 kB / 446.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.139, allocations: 8 kB / 446.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1391, allocations: 4 kB / 446.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.1392, allocations: 87.91 kB / 446.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009273/0.1402, allocations: 0.615 MB / 447.3 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1404, allocations: 137.1 kB / 447.4 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.1405, allocations: 49.7 kB / 447.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1405, allocations: 4 kB / 447.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.1406, allocations: 38.7 kB / 447.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 3.536e-06/0.1406, allocations: 0 / 447.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008469/0.1414, allocations: 381.2 kB / 447.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1415, allocations: 81.05 kB / 448 MB, free: 8.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1416, allocations: 130.1 kB / 448.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1417, allocations: 29.7 kB / 448.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1418, allocations: 139.9 kB / 448.3 MB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.1418, allocations: 55.2 kB / 448.3 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.1418, allocations: 0 / 448.3 MB, free: 7.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.142, allocations: 330.8 kB / 448.6 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.1421, allocations: 31.98 kB / 448.7 MB, free: 7.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1422, allocations: 104.6 kB / 448.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.908e-05/0.1423, allocations: 51.94 kB / 448.8 MB, free: 7.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1423, allocations: 0 / 448.8 MB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003489/0.1427, allocations: 215 kB / 449 MB, free: 7.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.1427, allocations: 11.95 kB / 449 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1427, allocations: 8.391 kB / 449.1 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.143, allocations: 49.95 kB / 449.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1431, allocations: 35.98 kB / 449.1 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.1452, allocations: 2.72 MB / 451.9 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.975e-05/0.1453, allocations: 15.88 kB / 451.9 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1453, allocations: 11.94 kB / 451.9 MB, free: 3.988 MB / 382.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.0001177/0.1455, allocations: 137.7 kB / 452 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.1455, allocations: 15.81 kB / 452 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.1455, allocations: 12.72 kB / 452.1 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1456, allocations: 4 kB / 452.1 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1456, allocations: 4.094 kB / 452.1 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1456, allocations: 3.984 kB / 452.1 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.1459, allocations: 233.5 kB / 452.3 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1459, allocations: 0 / 452.3 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.146, allocations: 27.92 kB / 452.3 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.1462, allocations: 49.69 kB / 452.4 MB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1462, allocations: 4 kB / 452.4 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.148, allocations: 2.712 MB / 455.1 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1481, allocations: 3.984 kB / 455.1 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.1484, allocations: 376.5 kB / 455.5 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2808/0.4293, allocations: 85.28 kB / 455.5 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.4294, allocations: 2.281 kB / 455.5 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4295, allocations: 2.938 kB / 455.5 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.4296, allocations: 11.53 kB / 455.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.4296, allocations: 3.969 kB / 455.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.346e-05/0.4297, allocations: 103.8 kB / 455.7 MB, free: 45.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4297, allocations: 2.25 kB / 455.7 MB, free: 45.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005704/0.4303, allocations: 54.31 kB / 455.7 MB, free: 45.91 MB / 382.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.000123/0.4304, allocations: 98.41 kB / 455.8 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.4309, allocations: 353.4 kB / 456.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4309, allocations: 0 / 456.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.4312, allocations: 276.2 kB / 456.4 MB, free: 45.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.4316, allocations: 38.64 kB / 456.5 MB, free: 45.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.4325, allocations: 0.8062 MB / 457.3 MB, free: 44.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.4327, allocations: 0.7297 MB / 458 MB, free: 44.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.4327, allocations: 15.59 kB / 458 MB, free: 44.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4328, allocations: 0 / 458 MB, free: 44.2 MB / 382.1 MB Notification: Performance of Templates: time 0.004367/0.4371, allocations: 3.081 MB / 461.1 MB, free: 44.01 MB / 382.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++ 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_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