Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007999/0.0008001, allocations: 93.88 kB / 17.63 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 197.9 kB / 18.54 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2502/0.2502, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002732, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1547, allocations: 63.48 MB / 482.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.402/0.5568, allocations: 77.99 MB / 0.547 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05122/0.6081, allocations: 14.9 MB / 0.5615 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02512/0.6332, allocations: 357.8 kB / 0.5619 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01547/0.6487, allocations: 4.033 MB / 0.5658 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04026/0.689, allocations: 11.21 MB / 0.5768 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00515/0.6942, allocations: 448.3 kB / 0.5772 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00823/0.7025, allocations: 4.742 MB / 0.5818 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007554/0.71, allocations: 4.543 MB / 0.5863 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.7139, allocations: 1.416 MB / 0.5876 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00507/0.719, allocations: 2.656 MB / 0.5902 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009447/0.7199, allocations: 188 kB / 0.5904 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.7218, allocations: 0.5813 MB / 0.591 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002134/0.724, allocations: 1.854 MB / 0.5928 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.7254, allocations: 0.9946 MB / 0.5938 GB, free: 5.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007659/0.7331, allocations: 6.739 MB / 0.6004 GB, free: 15.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7331, allocations: 0 / 0.6004 GB, free: 15.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7331, allocations: 0 / 0.6004 GB, free: 15.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002793/0.7334, allocations: 8 kB / 0.6004 GB, free: 15.07 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.07213/0.8055, allocations: 9.47 MB / 0.6096 GB, free: 5.523 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.8056, allocations: 12.56 kB / 0.6096 GB, free: 5.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008155/0.8138, allocations: 1.9 MB / 0.6115 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008816/0.8226, allocations: 3.221 MB / 0.6146 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003371/0.823, allocations: 287.6 kB / 0.6149 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0029/0.8259, allocations: 415.5 kB / 0.6153 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05326/0.8792, allocations: 19.53 MB / 0.6344 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/0.8794, allocations: 51.44 kB / 0.6344 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/0.8809, allocations: 183.8 kB / 0.6346 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005501/0.8864, allocations: 2.338 MB / 0.6369 GB, free: 8.809 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05602/0.9424, allocations: 22.36 MB / 0.6587 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4792/1.422, allocations: 52.51 MB / 0.71 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06273/1.484, allocations: 9.18 MB / 0.7189 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005436/1.49, allocations: 3.015 MB / 0.7219 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002016/1.492, allocations: 365 kB / 0.7222 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/1.492, allocations: 60.42 kB / 0.7223 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 5.64e-06/1.492, allocations: 1.781 kB / 0.7223 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.1135/1.606, allocations: 16.15 MB / 0.7381 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/1.606, allocations: 151.2 kB / 0.7382 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007205/1.613, allocations: 4.673 MB / 0.7428 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00068/1.614, allocations: 57.7 kB / 0.7428 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002586/1.616, allocations: 3.498 MB / 0.7463 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.618, allocations: 0.8376 MB / 0.7471 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/1.618, allocations: 129.2 kB / 0.7472 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004164/1.619, allocations: 0.5911 MB / 0.7478 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/1.622, allocations: 3.14 MB / 0.7508 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005506/1.628, allocations: 7.438 MB / 0.7581 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005599/1.634, allocations: 4.69 MB / 0.7627 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.419e-05/1.634, allocations: 44 kB / 0.7627 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01701/1.651, allocations: 10.55 MB / 0.773 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.775e-05/1.651, allocations: 72 kB / 0.7731 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001573/1.651, allocations: 152 kB / 0.7732 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/1.651, allocations: 224 kB / 0.7735 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006628/1.658, allocations: 1.801 MB / 0.7752 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002743/1.658, allocations: 298.8 kB / 0.7755 GB, free: 132 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007517/1.666, allocations: 0.9308 MB / 0.7764 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001516/1.667, allocations: 0.5076 MB / 0.7769 GB, free: 130.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * Array equations: 3 * 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.005818/1.673, allocations: 2.316 MB / 0.7792 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001902/1.675, allocations: 402.7 kB / 0.7795 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006862/1.682, allocations: 4.861 MB / 0.7843 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.353e-05/1.682, allocations: 30.58 kB / 0.7843 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/1.682, allocations: 0 / 0.7843 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/1.682, allocations: 11.91 kB / 0.7843 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/1.703, allocations: 11.53 MB / 0.7956 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/1.703, allocations: 8 kB / 0.7956 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.706, allocations: 0.5968 MB / 0.7962 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.843e-05/1.706, allocations: 23.94 kB / 0.7962 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003848/1.706, allocations: 143.8 kB / 0.7963 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.673e-05/1.706, allocations: 23.92 kB / 0.7964 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/1.706, allocations: 11.94 kB / 0.7964 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009401/1.716, allocations: 8.875 MB / 0.805 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/1.717, allocations: 0.5158 MB / 0.8055 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/1.719, allocations: 44 kB / 0.8056 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002534/1.721, allocations: 83.97 kB / 0.8057 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003486/1.722, allocations: 243.3 kB / 0.8059 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/1.722, allocations: 159.8 kB / 0.8061 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004756/1.727, allocations: 2.923 MB / 0.8089 GB, free: 97.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/1.727, allocations: 0 / 0.8089 GB, free: 97.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008216/1.735, allocations: 1.379 MB / 0.8103 GB, free: 96.14 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (208): * Single equations (assignments): 205 * Array equations: 3 * 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.0008168/1.736, allocations: 198.1 kB / 0.8104 GB, free: 95.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009902/1.746, allocations: 7.048 MB / 0.8173 GB, free: 88.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/1.746, allocations: 0.875 kB / 0.8173 GB, free: 88.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002647/1.748, allocations: 2.445 MB / 0.8197 GB, free: 86.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/1.752, allocations: 0.5287 MB / 0.8202 GB, free: 85.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/1.772, allocations: 14.67 MB / 0.8346 GB, free: 71.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003404/1.775, allocations: 3.6 MB / 0.8381 GB, free: 67.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002189/1.778, allocations: 0.6394 MB / 0.8387 GB, free: 66.9 MB / 0.5294 GB Notification: Performance of SimCode: time 2.545e-06/1.778, allocations: 0 / 0.8387 GB, free: 66.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.407/2.185, allocations: 73.95 MB / 0.9109 GB, free: 164.3 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1DCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1DCalcHelperMain.o] Error 1