Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001238, allocations: 89.8 kB / 17.63 MB, free: 5.883 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.001291/0.001291, allocations: 186 kB / 18.52 MB, free: 5.188 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.744/1.744, allocations: 223.2 MB / 242.5 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2373/0.2373, allocations: 44.23 MB / 337.9 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 12.81 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1328, allocations: 61.92 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003503/0.1363, allocations: 2.781 MB / 475 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1376, allocations: 0.7715 MB / 475.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1378, allocations: 11.94 kB / 475.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1379, allocations: 47.56 kB / 475.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.1382, allocations: 154.8 kB / 475.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1384, allocations: 79.92 kB / 476 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005203/0.1389, allocations: 0.552 MB / 476.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.1392, allocations: 144.7 kB / 476.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1394, allocations: 187.2 kB / 476.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.1397, allocations: 215.1 kB / 477.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.1397, allocations: 20 kB / 477.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.1398, allocations: 28 kB / 477.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.1399, allocations: 71.69 kB / 477.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.14, allocations: 117.5 kB / 477.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.1404, allocations: 410.8 kB / 477.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1404, allocations: 0 / 477.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1404, allocations: 4 kB / 477.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1404, allocations: 0 / 477.7 MB, free: 8.156 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0009867/0.1414, allocations: 0.6859 MB / 478.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1415, allocations: 8.031 kB / 478.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/0.1416, allocations: 51.44 kB / 478.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.142, allocations: 309.3 kB / 478.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.142, allocations: 33 kB / 478.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/0.1421, allocations: 59.81 kB / 478.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006974/0.1428, allocations: 434.6 kB / 479.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.1428, allocations: 7.906 kB / 479.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.1429, allocations: 20 kB / 479.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.1429, allocations: 12 kB / 479.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.1434, allocations: 324.4 kB / 479.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.145, allocations: 1.15 MB / 480.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.1458, allocations: 481.2 kB / 481.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.1461, allocations: 207 kB / 481.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1461, allocations: 8.438 kB / 481.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1461, allocations: 42.94 kB / 481.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 1.723e-06/0.1461, allocations: 0 / 481.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.002816/0.149, allocations: 2.132 MB / 483.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.149, allocations: 89.67 kB / 483.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1493, allocations: 250.9 kB / 484 MB, free: 1.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.1493, allocations: 37.7 kB / 484 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.1495, allocations: 213 kB / 484.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.1497, allocations: 268 kB / 484.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.1497, allocations: 16 kB / 484.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1499, allocations: 358.8 kB / 484.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.1501, allocations: 153.9 kB / 485 MB, free: 456 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.1504, allocations: 276.9 kB / 485.3 MB, free: 140 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1507, allocations: 199.1 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1507, allocations: 4 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007729/0.1515, allocations: 0.5551 MB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1516, allocations: 12.28 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1516, allocations: 0 / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1516, allocations: 8 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.1522, allocations: 183.7 kB / 486.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.1522, allocations: 11.98 kB / 486.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.1524, allocations: 20 kB / 486.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.1525, allocations: 24.06 kB / 486.3 MB, free: 15.12 MB / 366.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 (97): * Single equations (assignments): 97 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.1527, allocations: 193.6 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.1528, allocations: 47.48 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.1529, allocations: 59.64 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.1529, allocations: 8 kB / 486.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1529, allocations: 0 / 486.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1529, allocations: 3.984 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.1549, allocations: 1.446 MB / 488 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1549, allocations: 4 kB / 488.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005946/0.1555, allocations: 151.8 kB / 488.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.1555, allocations: 12.28 kB / 488.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.1556, allocations: 23.98 kB / 488.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.036e-06/0.1556, allocations: 7.938 kB / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.1556, allocations: 4 kB / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.1567, allocations: 0.908 MB / 489.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1568, allocations: 124.6 kB / 489.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.1568, allocations: 20 kB / 489.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1571, allocations: 16 kB / 489.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1572, allocations: 48.31 kB / 489.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.1572, allocations: 27.95 kB / 489.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1574, allocations: 181.9 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1574, allocations: 4 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005025/0.1579, allocations: 144 kB / 489.7 MB, free: 11.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.1581, allocations: 115.1 kB / 489.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007133/0.1588, allocations: 447.6 kB / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.1588, allocations: 0.5625 kB / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.1591, allocations: 242.2 kB / 490.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/0.1599, allocations: 103.9 kB / 490.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.1628, allocations: 2.06 MB / 492.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.1633, allocations: 0.8488 MB / 493.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.1635, allocations: 47.44 kB / 493.6 MB, free: 7.566 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1635, allocations: 0 / 493.6 MB, free: 7.566 MB / 366.1 MB Notification: Performance of Templates: time 0.009108/0.1726, allocations: 5.861 MB / 499.4 MB, free: 1.727 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamperCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamperCalcHelperMain.o] Error 1