Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 95.41 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002044/0.002044, allocations: 198.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, 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.2313/0.2313, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1587, allocations: 63.46 MB / 482.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.4232/0.5819, allocations: 75.59 MB / 0.5446 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05241/0.6344, allocations: 15.79 MB / 0.5601 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02317/0.6576, allocations: 378.9 kB / 0.5604 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01526/0.6729, allocations: 3.804 MB / 0.5641 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04136/0.7143, allocations: 11.36 MB / 0.5752 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00883/0.7232, allocations: 1.139 MB / 0.5763 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1718/0.895, allocations: 119.7 MB / 0.6932 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.9065, allocations: 7.06 MB / 0.7001 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005207/0.9118, allocations: 2.082 MB / 0.7022 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005507/0.9173, allocations: 2.921 MB / 0.705 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.9185, allocations: 180 kB / 0.7052 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.9214, allocations: 0.8272 MB / 0.706 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003426/0.9249, allocations: 2.466 MB / 0.7084 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.4154/1.34, allocations: 1.063 MB / 0.7094 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01362/1.354, allocations: 7.096 MB / 0.7164 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.354, allocations: 0.7812 kB / 0.7164 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/1.354, allocations: 1.125 kB / 0.7164 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005028/1.355, allocations: 0 / 0.7164 GB, free: 122.4 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02357/1.378, allocations: 6.12 MB / 0.7223 GB, free: 120 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.378, allocations: 8.812 kB / 0.7223 GB, free: 120 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/1.392, allocations: 1.969 MB / 0.7243 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/1.408, allocations: 5.281 MB / 0.7294 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003785/1.409, allocations: 318.6 kB / 0.7297 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/1.411, allocations: 417.5 kB / 0.7301 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02672/1.438, allocations: 11.02 MB / 0.7409 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003355/1.438, allocations: 65.56 kB / 0.741 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009798/1.439, allocations: 178.7 kB / 0.7411 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002941/1.442, allocations: 1.732 MB / 0.7428 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/1.466, allocations: 9.554 MB / 0.7521 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08609/1.553, allocations: 45.37 MB / 0.7965 GB, free: 77.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/1.574, allocations: 7.905 MB / 0.8042 GB, free: 69.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007539/1.581, allocations: 5.368 MB / 0.8094 GB, free: 63.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02409/1.605, allocations: 13.29 MB / 0.8224 GB, free: 50.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.681e-05/1.606, allocations: 64.8 kB / 0.8225 GB, free: 50.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=283): time 8.256e-06/1.606, allocations: 0 / 0.8225 GB, free: 50.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=406): time 0.2454/1.851, allocations: 79.02 MB / 0.8996 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01791/1.869, allocations: 10.94 MB / 0.9103 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/1.88, allocations: 4.274 MB / 0.9145 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001975/1.882, allocations: 93.7 kB / 0.9146 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00382/1.886, allocations: 2.869 MB / 0.9174 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003879/1.89, allocations: 1.416 MB / 0.9188 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002104/1.892, allocations: 123.7 kB / 0.9189 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0008463/1.893, allocations: 0.5641 MB / 0.9194 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/1.903, allocations: 5.064 MB / 0.9244 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01383/1.917, allocations: 7.126 MB / 0.9313 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3801/2.297, allocations: 6.059 MB / 0.9373 GB, free: 240 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.759e-05/2.297, allocations: 18.56 kB / 0.9373 GB, free: 240 MB / 0.5919 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.05195/2.349, allocations: 20.95 MB / 0.9577 GB, free: 234.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-05/2.35, allocations: 33.47 kB / 0.9578 GB, free: 234.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/2.35, allocations: 65.91 kB / 0.9578 GB, free: 234.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02539/2.375, allocations: 9.76 MB / 0.9674 GB, free: 231.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004975/2.38, allocations: 1.131 MB / 0.9685 GB, free: 230.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07756/2.458, allocations: 53.14 MB / 1.02 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008976/2.467, allocations: 0.5348 MB / 1.021 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/2.469, allocations: 306.6 kB / 1.021 GB, free: 177.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 582 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(11,51.2%) 104,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.008469/2.478, allocations: 2.258 MB / 1.023 GB, free: 175 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002367/2.48, allocations: 470.2 kB / 1.024 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04151/2.521, allocations: 19.42 MB / 1.043 GB, free: 155.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04061/2.562, allocations: 17.9 MB / 1.06 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001333/2.562, allocations: 28 kB / 1.06 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001277/2.562, allocations: 19.92 kB / 1.06 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07636/2.639, allocations: 36.75 MB / 1.096 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.995e-05/2.639, allocations: 4 kB / 1.096 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/2.642, allocations: 455.3 kB / 1.097 GB, free: 99.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02456/2.666, allocations: 9.754 MB / 1.106 GB, free: 89.99 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001629/2.668, allocations: 75.98 kB / 1.106 GB, free: 89.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07184/2.74, allocations: 51.45 MB / 1.156 GB, free: 38.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01289/2.753, allocations: 9.706 MB / 1.166 GB, free: 28.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4676/3.22, allocations: 25.87 MB / 1.191 GB, free: 221.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002286/3.223, allocations: 0.5229 MB / 1.192 GB, free: 221.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002465/3.225, allocations: 70.58 kB / 1.192 GB, free: 221.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004819/3.23, allocations: 419 kB / 1.192 GB, free: 221.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001938/3.232, allocations: 323.6 kB / 1.193 GB, free: 221.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004962/3.232, allocations: 104.2 kB / 1.193 GB, free: 221.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007748/3.24, allocations: 2.774 MB / 1.195 GB, free: 221 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/3.24, allocations: 0 / 1.195 GB, free: 221 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01395/3.254, allocations: 2.11 MB / 1.197 GB, free: 221 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (217): * Single equations (assignments): 214 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,61.7%) 99,(5,88.0%) 36} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/3.256, allocations: 194.7 kB / 1.198 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02282/3.278, allocations: 13.39 MB / 1.211 GB, free: 217.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/3.278, allocations: 4.297 kB / 1.211 GB, free: 217.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01321/3.292, allocations: 7.41 MB / 1.218 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006312/3.298, allocations: 0.7417 MB / 1.219 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03292/3.331, allocations: 18.85 MB / 1.237 GB, free: 202 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004697/3.336, allocations: 4.102 MB / 1.241 GB, free: 198.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/3.338, allocations: 320.1 kB / 1.241 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/3.338, allocations: 0 / 1.241 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.2056/3.544, allocations: 153.6 MB / 1.391 GB, free: 50.46 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.Joints.RevolutePlanarLoopConstraintCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraintCalcHelperMain.o] Error 1