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.0008321/0.0008321, allocations: 95.66 kB / 16.33 MB, free: 5.953 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.0008758/0.0008758, allocations: 187.7 kB / 17.22 MB, free: 5.883 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.725/1.725, allocations: 205.4 MB / 223.4 MB, free: 5.559 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.4319/0.4319, allocations: 43.55 MB / 315.2 MB, free: 8.812 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.0005386/0.0005387, allocations: 14.97 kB / 384.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1316, allocations: 58.85 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003355/0.1349, allocations: 2.405 MB / 445.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1366, allocations: 0.7256 MB / 446.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003822/0.137, allocations: 8 kB / 446.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.1373, allocations: 43.64 kB / 446.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.1377, allocations: 103.1 kB / 446.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1381, allocations: 71.86 kB / 446.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006142/0.1387, allocations: 406.5 kB / 447.2 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.1391, allocations: 145.4 kB / 447.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.1394, allocations: 139.5 kB / 447.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.1397, allocations: 163.2 kB / 447.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.1398, allocations: 20 kB / 447.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.1399, allocations: 20 kB / 447.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.1399, allocations: 63.7 kB / 447.7 MB, free: 8.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1401, allocations: 93.52 kB / 447.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.1404, allocations: 319.3 kB / 448.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1404, allocations: 3.938 kB / 448.1 MB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1404, allocations: 0 / 448.1 MB, free: 8.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1405, allocations: 0 / 448.1 MB, free: 8.32 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009752/0.1415, allocations: 0.6159 MB / 448.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1415, allocations: 12.02 kB / 448.7 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.1416, allocations: 43.53 kB / 448.8 MB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.142, allocations: 287.3 kB / 449 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.1421, allocations: 29 kB / 449.1 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.1421, allocations: 39.91 kB / 449.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.1428, allocations: 385 kB / 449.5 MB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.1429, allocations: 0 / 449.5 MB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.1429, allocations: 23.95 kB / 449.5 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1429, allocations: 8 kB / 449.5 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.1435, allocations: 263.8 kB / 449.8 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1452, allocations: 1.113 MB / 450.9 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.1457, allocations: 359.9 kB / 451.2 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.146, allocations: 178.8 kB / 451.4 MB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1461, allocations: 11.98 kB / 451.4 MB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1461, allocations: 34.56 kB / 451.5 MB, free: 4.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.013e-06/0.1461, allocations: 0 / 451.5 MB, free: 4.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003738/0.1499, allocations: 2.462 MB / 453.9 MB, free: 2.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.1499, allocations: 110.8 kB / 454 MB, free: 1.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1502, allocations: 242.6 kB / 454.3 MB, free: 1.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.1502, allocations: 41.7 kB / 454.3 MB, free: 1.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1504, allocations: 180.7 kB / 454.5 MB, free: 1.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.1505, allocations: 205 kB / 454.7 MB, free: 1.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.1506, allocations: 8 kB / 454.7 MB, free: 1.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1507, allocations: 346.8 kB / 455 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.151, allocations: 137 kB / 455.2 MB, free: 0.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.1513, allocations: 235.8 kB / 455.4 MB, free: 456 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.1516, allocations: 175.8 kB / 455.6 MB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1516, allocations: 0 / 455.6 MB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.2757/0.4273, allocations: 0.559 MB / 456.1 MB, free: 45.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.4274, allocations: 8.375 kB / 456.1 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4274, allocations: 2.906 kB / 456.1 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.4277, allocations: 125.2 kB / 456.3 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.4281, allocations: 96.88 kB / 456.4 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.4312, allocations: 4.676 MB / 461 MB, free: 41.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.4314, allocations: 21.55 kB / 461.1 MB, free: 41.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.4315, allocations: 20.84 kB / 461.1 MB, free: 41.67 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.4317, allocations: 167 kB / 461.2 MB, free: 41.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.4318, allocations: 38.27 kB / 461.3 MB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.4319, allocations: 51.95 kB / 461.3 MB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4319, allocations: 5.844 kB / 461.3 MB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/0.4319, allocations: 2.906 kB / 461.3 MB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4319, allocations: 9.594 kB / 461.3 MB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.4336, allocations: 1.331 MB / 462.7 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4336, allocations: 5.094 kB / 462.7 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.434, allocations: 103.3 kB / 462.8 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.4342, allocations: 100.2 kB / 462.9 MB, free: 41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.4343, allocations: 13.38 kB / 462.9 MB, free: 41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.4364, allocations: 4.1 MB / 467 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4364, allocations: 0 / 467 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.4375, allocations: 0.9433 MB / 467.9 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.4375, allocations: 109.5 kB / 468 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.4376, allocations: 15.97 kB / 468.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.4378, allocations: 16.62 kB / 468.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4379, allocations: 47.67 kB / 468.1 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.438, allocations: 16.89 kB / 468.1 MB, free: 36.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.4381, allocations: 172.4 kB / 468.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4381, allocations: 0 / 468.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006733/0.4388, allocations: 121.9 kB / 468.4 MB, free: 36.64 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001306/0.4389, allocations: 114.2 kB / 468.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.44, allocations: 0.773 MB / 469.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.44, allocations: 0 / 469.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005662/0.4406, allocations: 0.5817 MB / 469.9 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.4412, allocations: 56.11 kB / 469.9 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4429, allocations: 1.337 MB / 471.3 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.4431, allocations: 0.8165 MB / 472.1 MB, free: 34.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.4432, allocations: 39.72 kB / 472.1 MB, free: 34.29 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4432, allocations: 2.938 kB / 472.1 MB, free: 34.29 MB / 382.1 MB Notification: Performance of Templates: time 0.009858/0.4531, allocations: 9.225 MB / 481.4 MB, free: 33.57 MB / 382.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++ 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.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