Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.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.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009057/0.0009052, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2505/0.2505, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004171, allocations: 8 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 63.46 MB / 482.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01994/0.1866, allocations: 18.35 MB / 0.4887 GB, free: 2.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.199, allocations: 4.071 MB / 0.4927 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00407/0.2031, allocations: 75.88 kB / 0.4928 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.2055, allocations: 0.7853 MB / 0.4936 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006733/0.2123, allocations: 2.229 MB / 0.4957 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.2127, allocations: 51.89 kB / 0.4958 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006535/0.2134, allocations: 0.5565 MB / 0.4963 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.2146, allocations: 0.755 MB / 0.4971 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.2149, allocations: 195 kB / 0.4972 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.2153, allocations: 270.9 kB / 0.4975 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.2153, allocations: 20 kB / 0.4975 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.2155, allocations: 55.91 kB / 0.4976 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.2158, allocations: 259.2 kB / 0.4978 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2159, allocations: 153.3 kB / 0.498 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000682/0.2166, allocations: 0.6936 MB / 0.4986 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.2166, allocations: 0 / 0.4986 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2166, allocations: 0 / 0.4986 GB, free: 8.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.2167, allocations: 0 / 0.4986 GB, free: 8.766 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001462/0.2181, allocations: 0.8877 MB / 0.4995 GB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.2182, allocations: 12.03 kB / 0.4995 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008001/0.219, allocations: 170.8 kB / 0.4997 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.2196, allocations: 440.6 kB / 0.5001 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.2197, allocations: 28.98 kB / 0.5001 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.2197, allocations: 51.98 kB / 0.5002 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.2214, allocations: 1.237 MB / 0.5014 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.2214, allocations: 7.938 kB / 0.5014 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.2215, allocations: 27.98 kB / 0.5014 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003958/0.2219, allocations: 240.8 kB / 0.5017 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2232, allocations: 0.8115 MB / 0.5025 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3459/0.5691, allocations: 5.062 MB / 0.5074 GB, free: 40.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.5694, allocations: 66.78 kB / 0.5075 GB, free: 40.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.5696, allocations: 56.75 kB / 0.5075 GB, free: 40.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.5696, allocations: 1.031 kB / 0.5075 GB, free: 40.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.5696, allocations: 31.89 kB / 0.5075 GB, free: 40.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.344e-06/0.5696, allocations: 0 / 0.5075 GB, free: 40.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006176/0.5703, allocations: 233.4 kB / 0.5078 GB, free: 40.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.5703, allocations: 58.17 kB / 0.5078 GB, free: 40.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.5715, allocations: 0.8451 MB / 0.5086 GB, free: 39.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.5715, allocations: 26.2 kB / 0.5087 GB, free: 39.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.572, allocations: 0.5345 MB / 0.5092 GB, free: 39.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.5721, allocations: 33.78 kB / 0.5092 GB, free: 39.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.5721, allocations: 14.72 kB / 0.5092 GB, free: 39.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5723, allocations: 380.2 kB / 0.5096 GB, free: 39.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.5727, allocations: 183.8 kB / 0.5098 GB, free: 39.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/0.5736, allocations: 0.7392 MB / 0.5105 GB, free: 38.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.5743, allocations: 347.4 kB / 0.5108 GB, free: 38.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.5744, allocations: 7.188 kB / 0.5108 GB, free: 38.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001908/0.5763, allocations: 0.8801 MB / 0.5117 GB, free: 38.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/0.5763, allocations: 14.28 kB / 0.5117 GB, free: 38.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-05/0.5764, allocations: 20.06 kB / 0.5117 GB, free: 38.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.277e-05/0.5765, allocations: 28.34 kB / 0.5118 GB, free: 38.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.5771, allocations: 177.2 kB / 0.5119 GB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.264e-05/0.5772, allocations: 42.45 kB / 0.512 GB, free: 38.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006505/0.5778, allocations: 127.8 kB / 0.5121 GB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.5779, allocations: 52.44 kB / 0.5121 GB, free: 38.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0005679/0.5785, allocations: 386.7 kB / 0.5125 GB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/0.5786, allocations: 59.19 kB / 0.5126 GB, free: 38.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.5787, allocations: 68.75 kB / 0.5126 GB, free: 38.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5787, allocations: 4 kB / 0.5126 GB, free: 38.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5787, allocations: 3.375 kB / 0.5126 GB, free: 38.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5787, allocations: 0.8906 kB / 0.5126 GB, free: 38.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008893/0.5796, allocations: 0.5482 MB / 0.5132 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.5796, allocations: 2.062 kB / 0.5132 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/0.5797, allocations: 14.53 kB / 0.5132 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5797, allocations: 0 / 0.5132 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5798, allocations: 2.203 kB / 0.5132 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.5798, allocations: 0 / 0.5132 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5798, allocations: 9.594 kB / 0.5132 GB, free: 37.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.5802, allocations: 282.3 kB / 0.5135 GB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.5804, allocations: 139.4 kB / 0.5136 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.5804, allocations: 3 kB / 0.5136 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.5806, allocations: 14.38 kB / 0.5136 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.5807, allocations: 8.922 kB / 0.5136 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.5807, allocations: 1.891 kB / 0.5136 GB, free: 37.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008357/0.5816, allocations: 0.5449 MB / 0.5142 GB, free: 37.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5816, allocations: 1.312 kB / 0.5142 GB, free: 37.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007914/0.5824, allocations: 157.8 kB / 0.5143 GB, free: 37.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0002425/0.5826, allocations: 98.92 kB / 0.5144 GB, free: 37.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009282/0.5836, allocations: 432 kB / 0.5148 GB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5836, allocations: 0 / 0.5148 GB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.5837, allocations: 53.98 kB / 0.5149 GB, free: 37.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.5844, allocations: 103.5 kB / 0.515 GB, free: 37.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.5866, allocations: 1.482 MB / 0.5164 GB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007333/0.5874, allocations: 1.027 MB / 0.5174 GB, free: 35.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.5875, allocations: 48.59 kB / 0.5175 GB, free: 35.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5875, allocations: 0 / 0.5175 GB, free: 35.41 MB / 382.1 MB Notification: Performance of Templates: time 0.02062/0.6081, allocations: 7.967 MB / 0.5252 GB, free: 32.87 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.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.Visualizers.ArrowCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ArrowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ArrowCalcHelperMain.o] Error 1