Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 93.38 kB / 16.67 MB, free: 6.586 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.002282/0.002283, allocations: 174.9 kB / 17.57 MB, free: 6.191 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.926/1.926, allocations: 205.4 MB / 223.8 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.28/0.28, allocations: 43.59 MB / 315.6 MB, free: 428 kB / 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.0005401/0.0005401, allocations: 23.53 kB / 385.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.129, allocations: 58.87 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002983/0.132, allocations: 2.499 MB / 446.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1337, allocations: 0.7371 MB / 447.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004674/0.1342, allocations: 11.94 kB / 447.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.1345, allocations: 47.62 kB / 447.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.135, allocations: 103.2 kB / 447.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1354, allocations: 79.92 kB / 447.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005483/0.136, allocations: 426.4 kB / 448 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.1363, allocations: 158.9 kB / 448.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.1366, allocations: 147.4 kB / 448.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1369, allocations: 175.1 kB / 448.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.1369, allocations: 16 kB / 448.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.137, allocations: 20 kB / 448.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.665e-05/0.1371, allocations: 59.7 kB / 448.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1373, allocations: 208.7 kB / 448.8 MB, free: 496 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.1376, allocations: 323 kB / 449.1 MB, free: 172 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1376, allocations: 4 kB / 449.1 MB, free: 168 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1376, allocations: 0 / 449.1 MB, free: 168 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1376, allocations: 0 / 449.1 MB, free: 168 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001115/0.1387, allocations: 0.6045 MB / 449.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.1388, allocations: 8.031 kB / 449.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1389, allocations: 44.47 kB / 449.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.1393, allocations: 292.4 kB / 450 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.1394, allocations: 29.38 kB / 450 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.1394, allocations: 48.36 kB / 450.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.1402, allocations: 389.3 kB / 450.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.1402, allocations: 11.83 kB / 450.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.1402, allocations: 19.98 kB / 450.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1403, allocations: 12 kB / 450.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/0.1408, allocations: 255.8 kB / 450.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.1425, allocations: 1.116 MB / 451.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.1431, allocations: 363.4 kB / 452.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.1434, allocations: 182.5 kB / 452.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.1434, allocations: 11.94 kB / 452.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1435, allocations: 38.56 kB / 452.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.1435, allocations: 0 / 452.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003961/0.1474, allocations: 2.464 MB / 454.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.1475, allocations: 118.8 kB / 455 MB, free: 9.695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.1478, allocations: 242.6 kB / 455.3 MB, free: 9.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1478, allocations: 37.7 kB / 455.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.148, allocations: 180.7 kB / 455.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.1481, allocations: 201.1 kB / 455.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.1482, allocations: 41.7 kB / 455.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1484, allocations: 350.7 kB / 456.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.1486, allocations: 137.1 kB / 456.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.149, allocations: 239.8 kB / 456.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.1497, allocations: 414 kB / 456.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1497, allocations: 3.938 kB / 456.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001018/0.1507, allocations: 0.5732 MB / 457.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1507, allocations: 6.188 kB / 457.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1507, allocations: 8.094 kB / 457.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000363/0.1511, allocations: 122.5 kB / 457.6 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.1515, allocations: 103.8 kB / 457.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/0.1558, allocations: 4.688 MB / 462.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.156, allocations: 23.98 kB / 462.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.1561, allocations: 16 kB / 462.4 MB, free: 1.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.1563, allocations: 165.8 kB / 462.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1564, allocations: 43.47 kB / 462.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.949e-05/0.1565, allocations: 46.17 kB / 462.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1565, allocations: 8 kB / 462.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.1566, allocations: 4 kB / 462.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1566, allocations: 3.984 kB / 462.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.1586, allocations: 1.342 MB / 464 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1586, allocations: 0 / 464 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.159, allocations: 103.8 kB / 464.1 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.1593, allocations: 98.55 kB / 464.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.1593, allocations: 16 kB / 464.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/0.1628, allocations: 4.112 MB / 468.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1629, allocations: 3.938 kB / 468.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.1644, allocations: 0.9427 MB / 469.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1645, allocations: 108.8 kB / 469.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.1646, allocations: 16 kB / 469.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.1648, allocations: 19.98 kB / 469.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.165, allocations: 39.95 kB / 469.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.165, allocations: 19.98 kB / 469.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.1652, allocations: 170 kB / 469.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1652, allocations: 0 / 469.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007845/0.166, allocations: 120 kB / 469.7 MB, free: 9.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002073/0.1662, allocations: 131.1 kB / 469.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.1677, allocations: 0.7795 MB / 470.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1677, allocations: 0 / 470.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008379/0.1685, allocations: 0.5858 MB / 471.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007695/0.1693, allocations: 52.55 kB / 471.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.1715, allocations: 1.367 MB / 472.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.172, allocations: 0.821 MB / 473.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.902e-05/0.1721, allocations: 27.44 kB / 473.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1721, allocations: 0 / 473.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of Templates: time 0.01258/0.1847, allocations: 9.245 MB / 482.7 MB, free: 12.74 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.DirectionsCalcHelperMain.o] Error 1