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.001062/0.001062, allocations: 88.98 kB / 16.67 MB, free: 6.59 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.001251/0.001251, allocations: 179.8 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.874/1.874, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2689/0.2689, allocations: 43.59 MB / 315.6 MB, free: 0.4922 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.0007457/0.0007457, allocations: 21.05 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.149, allocations: 58.87 MB / 444.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003457/0.1525, allocations: 2.92 MB / 447 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1543, allocations: 0.8345 MB / 447.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.1549, allocations: 11.94 kB / 447.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.1552, allocations: 51.56 kB / 447.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007653/0.156, allocations: 158.8 kB / 448.1 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1564, allocations: 83.92 kB / 448.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008217/0.1573, allocations: 0.5675 MB / 448.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.1576, allocations: 145.8 kB / 448.9 MB, free: 452 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.1578, allocations: 191.2 kB / 449 MB, free: 260 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.158, allocations: 211 kB / 449.3 MB, free: 48 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.1581, allocations: 28 kB / 449.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.641e-05/0.1582, allocations: 24.05 kB / 449.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.718e-05/0.1583, allocations: 83.56 kB / 449.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.1586, allocations: 276.4 kB / 449.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.159, allocations: 398.8 kB / 450 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.159, allocations: 0 / 450 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.859e-06/0.159, allocations: 4 kB / 450 MB, free: 15.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.159, allocations: 0 / 450 MB, free: 15.24 MB / 334.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.001114/0.1601, allocations: 0.6783 MB / 450.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.1602, allocations: 8.031 kB / 450.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.77e-05/0.1603, allocations: 56.28 kB / 450.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.1607, allocations: 322.4 kB / 451.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.1608, allocations: 37.38 kB / 451.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.415e-05/0.1609, allocations: 56.28 kB / 451.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.1616, allocations: 438.9 kB / 451.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.1617, allocations: 11.91 kB / 451.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.1617, allocations: 16 kB / 451.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.1617, allocations: 12 kB / 451.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.1622, allocations: 312.5 kB / 452 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.1641, allocations: 1.154 MB / 453.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/0.1648, allocations: 493 kB / 453.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.1651, allocations: 215.9 kB / 453.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1652, allocations: 8.469 kB / 453.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1652, allocations: 43 kB / 453.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 1.864e-06/0.1652, allocations: 3.938 kB / 453.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=74): time 0.003091/0.1683, allocations: 2.153 MB / 456 MB, free: 8.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.1684, allocations: 85.67 kB / 456.1 MB, free: 8.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1687, allocations: 251 kB / 456.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.1687, allocations: 33.7 kB / 456.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1689, allocations: 213 kB / 456.6 MB, free: 8.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.1691, allocations: 272 kB / 456.9 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.1692, allocations: 65.67 kB / 456.9 MB, free: 7.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1694, allocations: 358.7 kB / 457.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.1697, allocations: 157.9 kB / 457.4 MB, free: 7.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.1701, allocations: 276.9 kB / 457.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/0.1708, allocations: 468 kB / 458.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1708, allocations: 3.938 kB / 458.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008514/0.1716, allocations: 0.5632 MB / 458.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1717, allocations: 8 kB / 458.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1717, allocations: 4 kB / 458.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1717, allocations: 4 kB / 458.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.1723, allocations: 183.7 kB / 458.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.1723, allocations: 8 kB / 458.9 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.1725, allocations: 23.98 kB / 458.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.1726, allocations: 27.94 kB / 459 MB, free: 5.793 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.0002107/0.1728, allocations: 185.7 kB / 459.2 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.1729, allocations: 43.44 kB / 459.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.1731, allocations: 59.64 kB / 459.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.1731, allocations: 8 kB / 459.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.1731, allocations: 0 / 459.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.1731, allocations: 3.984 kB / 459.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.1754, allocations: 1.457 MB / 460.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.1754, allocations: 4 kB / 460.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.176, allocations: 156.1 kB / 460.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.176, allocations: 15.94 kB / 460.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.1761, allocations: 15.94 kB / 460.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.1761, allocations: 8 kB / 460.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1761, allocations: 7.938 kB / 460.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1772, allocations: 0.9074 MB / 461.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.593e-05/0.1773, allocations: 124.5 kB / 462 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.1774, allocations: 23.92 kB / 462 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.1777, allocations: 20.06 kB / 462 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.1777, allocations: 48.31 kB / 462 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.1778, allocations: 20 kB / 462.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1779, allocations: 189.9 kB / 462.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1779, allocations: 0 / 462.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004896/0.1784, allocations: 144 kB / 462.4 MB, free: 2.184 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.0001597/0.1786, allocations: 119.1 kB / 462.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006874/0.1793, allocations: 444.2 kB / 462.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.1793, allocations: 4 kB / 462.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.1796, allocations: 242.2 kB / 463.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009382/0.1806, allocations: 113.5 kB / 463.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.1839, allocations: 2.126 MB / 465.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.1845, allocations: 0.8449 MB / 466.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.1846, allocations: 43.44 kB / 466.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1846, allocations: 4 kB / 466.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Templates: time 0.009921/0.1946, allocations: 5.88 MB / 472.2 MB, free: 8.297 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