Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001766/0.001767, 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.001915/0.001915, allocations: 193 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.903/1.903, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2504/0.2504, allocations: 43.52 MB / 314.1 MB, free: 0.7461 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.001375/0.001375, allocations: 61.73 kB / 382.7 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1703, allocations: 57.79 MB / 440.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004894/0.1752, allocations: 3.302 MB / 443.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1775, allocations: 0.85 MB / 444.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000879/0.1784, allocations: 11.94 kB / 444.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.1788, allocations: 47.56 kB / 444.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005364/0.1793, allocations: 150.8 kB / 444.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1796, allocations: 91.92 kB / 444.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.1801, allocations: 0.5714 MB / 445.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.1804, allocations: 141.8 kB / 445.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.1806, allocations: 207.2 kB / 445.8 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1808, allocations: 231 kB / 446.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.1809, allocations: 31.94 kB / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.83e-05/0.1809, allocations: 32 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.181, allocations: 91.66 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1812, allocations: 246.7 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1815, allocations: 411 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1815, allocations: 0 / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1815, allocations: 0 / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1816, allocations: 0 / 446.8 MB, free: 1.109 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0009355/0.1825, allocations: 0.7601 MB / 447.6 MB, free: 308 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1825, allocations: 8.031 kB / 447.6 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.1826, allocations: 56.28 kB / 447.7 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.183, allocations: 318.6 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.183, allocations: 37.38 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.1831, allocations: 52.28 kB / 448.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006813/0.1838, allocations: 446.9 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.1838, allocations: 7.906 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.1839, allocations: 20 kB / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1839, allocations: 12 kB / 448.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.1844, allocations: 312.5 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.1861, allocations: 1.149 MB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.1868, allocations: 497.1 kB / 450.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.1872, allocations: 216 kB / 450.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1872, allocations: 4.438 kB / 450.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1872, allocations: 39 kB / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 1.774e-06/0.1872, allocations: 4.031 kB / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=74): time 0.003006/0.1903, allocations: 2.135 MB / 452.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.1903, allocations: 89.61 kB / 453 MB, free: 10.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1906, allocations: 255 kB / 453.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.1906, allocations: 37.7 kB / 453.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1908, allocations: 213 kB / 453.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.191, allocations: 272 kB / 453.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.1912, allocations: 118.7 kB / 453.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1913, allocations: 354.7 kB / 454.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.1916, allocations: 165.9 kB / 454.3 MB, free: 9.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.192, allocations: 278 kB / 454.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.1926, allocations: 470.8 kB / 455.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1927, allocations: 4 kB / 455.1 MB, free: 8.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008281/0.1935, allocations: 0.5629 MB / 455.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1935, allocations: 4 kB / 455.6 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.1935, allocations: 7.984 kB / 455.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.1936, allocations: 8.281 kB / 455.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.1942, allocations: 183.8 kB / 455.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.1942, allocations: 11.94 kB / 455.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1944, allocations: 27.98 kB / 455.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.1945, allocations: 27.94 kB / 455.9 MB, free: 7.52 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.1947, allocations: 177.7 kB / 456.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/0.1948, allocations: 47.44 kB / 456.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.1949, allocations: 55.64 kB / 456.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.195, allocations: 16.03 kB / 456.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.195, allocations: 4 kB / 456.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.195, allocations: 3.984 kB / 456.2 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.1971, allocations: 1.434 MB / 457.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.1972, allocations: 4 kB / 457.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.1978, allocations: 159.8 kB / 457.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.1978, allocations: 8 kB / 457.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.1979, allocations: 23.88 kB / 457.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/0.1979, allocations: 8.328 kB / 457.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.1979, allocations: 11.94 kB / 457.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1992, allocations: 0.9147 MB / 458.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.1994, allocations: 112.6 kB / 458.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.1995, allocations: 23.94 kB / 458.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.1997, allocations: 20 kB / 458.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.1998, allocations: 44.38 kB / 459 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.1999, allocations: 24 kB / 459 MB, free: 4.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.2, allocations: 181.9 kB / 459.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.667e-06/0.2, allocations: 0 / 459.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005085/0.2006, allocations: 147.9 kB / 459.3 MB, free: 3.934 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.2007, allocations: 131 kB / 459.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007313/0.2015, allocations: 447.6 kB / 459.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2015, allocations: 0 / 459.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.2019, allocations: 231.4 kB / 460.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008982/0.2028, allocations: 124.8 kB / 460.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.2058, allocations: 1.902 MB / 462.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.2064, allocations: 0.8449 MB / 463 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.2066, allocations: 43.44 kB / 463 MB, free: 132 kB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2066, allocations: 0 / 463 MB, free: 132 kB / 334.1 MB Notification: Performance of Templates: time 0.009985/0.2166, allocations: 5.949 MB / 469 MB, free: 10.2 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamperCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamperCalcHelperMain.o] Error 1