Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001179, allocations: 105 kB / 16.52 MB, free: 6.266 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.001124/0.001124, allocations: 198.3 kB / 17.44 MB, free: 5.887 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.85/1.85, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.2471/0.2471, allocations: 43.51 MB / 314.1 MB, free: 0.7344 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.001524/0.001524, allocations: 67.92 kB / 382.7 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1476, allocations: 57.8 MB / 440.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002725/0.1503, allocations: 1.706 MB / 442.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.1506, allocations: 111.6 kB / 442.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.1507, allocations: 7.938 kB / 442.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.52e-05/0.1508, allocations: 7.922 kB / 442.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.1509, allocations: 35.7 kB / 442.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.1511, allocations: 23.98 kB / 442.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1512, allocations: 115.5 kB / 442.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.1514, allocations: 37.03 kB / 442.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.1514, allocations: 43.86 kB / 442.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.1515, allocations: 43.8 kB / 442.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1515, allocations: 4 kB / 442.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.1515, allocations: 8 kB / 442.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.1516, allocations: 23.91 kB / 442.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.1516, allocations: 51.73 kB / 442.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.1518, allocations: 92 kB / 442.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1518, allocations: 3.984 kB / 442.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1518, allocations: 0 / 442.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1518, allocations: 0 / 442.8 MB, free: 5.164 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005318/0.1523, allocations: 414.6 kB / 443.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.1524, allocations: 8.031 kB / 443.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.1524, allocations: 12.84 kB / 443.2 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1527, allocations: 196.1 kB / 443.4 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1527, allocations: 4.609 kB / 443.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.1527, allocations: 24.31 kB / 443.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.153, allocations: 121.6 kB / 443.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1531, allocations: 8.094 kB / 443.5 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.1531, allocations: 7.938 kB / 443.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1531, allocations: 4 kB / 443.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1532, allocations: 63.89 kB / 443.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000707/0.1539, allocations: 0.5372 MB / 444.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1541, allocations: 89.66 kB / 444.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.1541, allocations: 25.72 kB / 444.3 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.1541, allocations: 3.938 kB / 444.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1542, allocations: 38.56 kB / 444.3 MB, free: 3.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.1542, allocations: 0 / 444.3 MB, free: 3.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005228/0.1547, allocations: 313.7 kB / 444.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1548, allocations: 77.11 kB / 444.7 MB, free: 2.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.1548, allocations: 125.8 kB / 444.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.1549, allocations: 25.7 kB / 444.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1549, allocations: 127.6 kB / 445 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1549, allocations: 35.53 kB / 445 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.155, allocations: 25.72 kB / 445 MB, free: 2.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.1551, allocations: 322.8 kB / 445.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.1551, allocations: 27.94 kB / 445.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/0.1552, allocations: 88.56 kB / 445.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.649e-05/0.1553, allocations: 120.4 kB / 445.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.1553, allocations: 4 kB / 445.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002128/0.1555, allocations: 167.2 kB / 445.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1555, allocations: 8 kB / 445.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1555, allocations: 3.938 kB / 445.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.1557, allocations: 37.64 kB / 445.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.1558, allocations: 23.98 kB / 445.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.1574, allocations: 2.544 MB / 448.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.1575, allocations: 11.91 kB / 448.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1575, allocations: 8 kB / 448.4 MB, free: 14.92 MB / 334.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.1576, allocations: 137.7 kB / 448.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.1577, allocations: 7.938 kB / 448.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.1577, allocations: 15.89 kB / 448.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1577, allocations: 0 / 448.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1577, allocations: 0 / 448.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1578, allocations: 4 kB / 448.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.158, allocations: 201.5 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.158, allocations: 0 / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.1581, allocations: 15.98 kB / 448.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.409e-05/0.1582, allocations: 37.7 kB / 448.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1582, allocations: 0 / 448.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.1601, allocations: 2.544 MB / 451.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1602, allocations: 0 / 451.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.1606, allocations: 308.5 kB / 451.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.1606, allocations: 88.95 kB / 451.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1607, allocations: 0 / 451.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.1608, allocations: 4 kB / 451.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1608, allocations: 12.03 kB / 451.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1608, allocations: 4 kB / 451.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.221e-05/0.1609, allocations: 95.27 kB / 451.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1609, allocations: 0 / 451.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00036/0.1612, allocations: 32 kB / 451.9 MB, free: 11.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.1614, allocations: 99.12 kB / 452 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004794/0.1619, allocations: 305.5 kB / 452.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1619, allocations: 4 kB / 452.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.1622, allocations: 253.3 kB / 452.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.1627, allocations: 19.98 kB / 452.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008937/0.1636, allocations: 0.5379 MB / 453.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.164, allocations: 0.7083 MB / 453.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.164, allocations: 11.44 kB / 453.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1641, allocations: 0 / 453.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of Templates: time 0.004508/0.1686, allocations: 2.436 MB / 456.2 MB, free: 6.57 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3CalcHelperMain.o] Error 1