Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009609/0.0009608, allocations: 93.36 kB / 17.64 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.001392/0.001393, allocations: 191.4 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.604/1.604, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2562/0.2562, allocations: 45.91 MB / 344.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 8 kB / 418.7 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 63.46 MB / 482.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.4216/0.5792, allocations: 65.66 MB / 0.5349 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04125/0.6205, allocations: 13.75 MB / 0.5484 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02515/0.6457, allocations: 311.2 kB / 0.5487 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01477/0.6605, allocations: 3.467 MB / 0.5521 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03873/0.6993, allocations: 10.2 MB / 0.562 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005562/0.7049, allocations: 0.7836 MB / 0.5628 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08716/0.7921, allocations: 62.06 MB / 0.6234 GB, free: 7.496 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009262/0.8014, allocations: 5.403 MB / 0.6287 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003866/0.8053, allocations: 1.607 MB / 0.6302 GB, free: 428 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004547/0.8099, allocations: 2.469 MB / 0.6326 GB, free: 13.94 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000889/0.8108, allocations: 172 kB / 0.6328 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.8136, allocations: 1.069 MB / 0.6339 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002485/0.8161, allocations: 2.197 MB / 0.636 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.8175, allocations: 1.03 MB / 0.637 GB, free: 9.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008027/0.8256, allocations: 6.812 MB / 0.6437 GB, free: 2.633 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.8256, allocations: 0 / 0.6437 GB, free: 2.633 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.8256, allocations: 0 / 0.6437 GB, free: 2.633 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003084/0.8259, allocations: 3.938 kB / 0.6437 GB, free: 2.629 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.0147/0.8406, allocations: 5.136 MB / 0.6487 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.8407, allocations: 12.03 kB / 0.6487 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.8522, allocations: 2.649 MB / 0.6513 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009189/0.8615, allocations: 3.637 MB / 0.6548 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.8618, allocations: 283.3 kB / 0.6551 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.8633, allocations: 387.6 kB / 0.6555 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/0.886, allocations: 11.97 MB / 0.6672 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/0.8862, allocations: 51.53 kB / 0.6672 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005042/0.8867, allocations: 183.8 kB / 0.6674 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003642/0.8903, allocations: 2.276 MB / 0.6696 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/0.912, allocations: 9.907 MB / 0.6793 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4533/1.365, allocations: 46.67 MB / 0.7249 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/1.377, allocations: 3.918 MB / 0.7287 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00409/1.381, allocations: 2.162 MB / 0.7308 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01486/1.396, allocations: 6.539 MB / 0.7372 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/1.396, allocations: 58.06 kB / 0.7372 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.319e-06/1.396, allocations: 0 / 0.7372 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04353/1.439, allocations: 16.55 MB / 0.7534 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.44, allocations: 203.6 kB / 0.7536 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008425/1.448, allocations: 5.637 MB / 0.7591 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004501/1.448, allocations: 46.33 kB / 0.7591 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002425/1.451, allocations: 3.781 MB / 0.7628 GB, free: 138 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/1.452, allocations: 0.6667 MB / 0.7635 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/1.452, allocations: 136 kB / 0.7636 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003244/1.453, allocations: 0.6069 MB / 0.7642 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/1.456, allocations: 2.297 MB / 0.7664 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/1.46, allocations: 6.589 MB / 0.7729 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005141/1.466, allocations: 3.797 MB / 0.7766 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.799e-05/1.466, allocations: 44 kB / 0.7766 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01794/1.484, allocations: 9.622 MB / 0.786 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/1.484, allocations: 70.62 kB / 0.7861 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/1.484, allocations: 152 kB / 0.7862 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/1.487, allocations: 1.24 MB / 0.7874 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004706/1.491, allocations: 1.583 MB / 0.789 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008023/1.499, allocations: 7.751 MB / 0.7966 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006373/1.506, allocations: 363.5 kB / 0.7969 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.507, allocations: 428 kB / 0.7973 GB, free: 100.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (848): * Single equations (assignments): 841 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005833/1.513, allocations: 2.527 MB / 0.7998 GB, free: 98.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/1.514, allocations: 458 kB / 0.8002 GB, free: 97.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006513/1.521, allocations: 3.421 MB / 0.8036 GB, free: 94.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/1.521, allocations: 20 kB / 0.8036 GB, free: 94.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/1.521, allocations: 4 kB / 0.8036 GB, free: 94.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/1.521, allocations: 7.969 kB / 0.8036 GB, free: 94.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/1.538, allocations: 8.3 MB / 0.8117 GB, free: 85.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/1.538, allocations: 0 / 0.8117 GB, free: 85.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/1.54, allocations: 299.5 kB / 0.812 GB, free: 85.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/1.542, allocations: 0.9871 MB / 0.8129 GB, free: 84.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/1.542, allocations: 24 kB / 0.813 GB, free: 84.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006897/1.549, allocations: 7.103 MB / 0.8199 GB, free: 77.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.549, allocations: 4 kB / 0.8199 GB, free: 77.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007812/1.557, allocations: 5.869 MB / 0.8256 GB, free: 71.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.559, allocations: 0.5341 MB / 0.8262 GB, free: 70.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/1.56, allocations: 24 kB / 0.8262 GB, free: 70.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/1.562, allocations: 95.88 kB / 0.8263 GB, free: 70.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/1.563, allocations: 104.8 kB / 0.8264 GB, free: 70.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.563, allocations: 43.59 kB / 0.8264 GB, free: 70.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006629/1.569, allocations: 3.589 MB / 0.8299 GB, free: 66.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.41e-07/1.569, allocations: 4 kB / 0.8299 GB, free: 66.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008237/1.578, allocations: 1.178 MB / 0.8311 GB, free: 65.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (126): * Single equations (assignments): 121 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009083/1.579, allocations: 169.2 kB / 0.8312 GB, free: 65.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.589, allocations: 5.586 MB / 0.8367 GB, free: 59.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.589, allocations: 0 / 0.8367 GB, free: 59.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/1.591, allocations: 1.615 MB / 0.8383 GB, free: 58.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005987/1.597, allocations: 0.5913 MB / 0.8388 GB, free: 57.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/1.622, allocations: 13.37 MB / 0.8519 GB, free: 44.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00356/1.626, allocations: 3.834 MB / 0.8557 GB, free: 40.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.627, allocations: 343.4 kB / 0.856 GB, free: 40.09 MB / 0.5294 GB Notification: Performance of SimCode: time 1.203e-06/1.627, allocations: 4 kB / 0.856 GB, free: 40.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.545/2.172, allocations: 113.6 MB / 0.967 GB, free: 153 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.Forces.FrameForcesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesCalcHelperMain.o] Error 1