Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009655, allocations: 93.7 kB / 17.63 MB, free: 5.719 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.001048/0.001048, allocations: 179.9 kB / 18.52 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.3 MB / 242.5 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2602/0.2602, allocations: 44.22 MB / 337.9 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 8 kB / 410.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 61.93 MB / 472.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.4491/0.598, allocations: 75.57 MB / 0.5349 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05256/0.6506, allocations: 15.75 MB / 0.5503 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02962/0.6803, allocations: 380.3 kB / 0.5507 GB, free: 448 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0173/0.6976, allocations: 3.811 MB / 0.5544 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04452/0.7422, allocations: 11.36 MB / 0.5655 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007462/0.7497, allocations: 1.14 MB / 0.5666 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.16/0.9097, allocations: 119.4 MB / 0.6832 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01282/0.9226, allocations: 7.075 MB / 0.6902 GB, free: 5.316 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005359/0.928, allocations: 2.079 MB / 0.6922 GB, free: 3.23 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005545/0.9336, allocations: 2.925 MB / 0.695 GB, free: 304 kB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.000952/0.9346, allocations: 184 kB / 0.6952 GB, free: 120 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.9371, allocations: 0.8505 MB / 0.696 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002616/0.9397, allocations: 2.455 MB / 0.6984 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.9414, allocations: 1.069 MB / 0.6995 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00925/0.9506, allocations: 7.107 MB / 0.7064 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.9507, allocations: 3.938 kB / 0.7064 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.288e-06/0.9507, allocations: 3.984 kB / 0.7064 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003708/0.951, allocations: 0 / 0.7064 GB, free: 4.594 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.3359/1.287, allocations: 6.053 MB / 0.7123 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.287, allocations: 9.969 kB / 0.7124 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/1.3, allocations: 1.973 MB / 0.7143 GB, free: 201.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/1.315, allocations: 5.399 MB / 0.7196 GB, free: 200.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000509/1.315, allocations: 322.2 kB / 0.7199 GB, free: 200 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/1.317, allocations: 418.9 kB / 0.7203 GB, free: 199.9 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02745/1.345, allocations: 11.03 MB / 0.731 GB, free: 194.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002588/1.345, allocations: 61.11 kB / 0.7311 GB, free: 194.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005161/1.346, allocations: 174.1 kB / 0.7313 GB, free: 194 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002757/1.348, allocations: 1.728 MB / 0.7329 GB, free: 193 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/1.368, allocations: 9.551 MB / 0.7423 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05564/1.424, allocations: 45.37 MB / 0.7866 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/1.443, allocations: 7.924 MB / 0.7943 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006077/1.449, allocations: 5.375 MB / 0.7996 GB, free: 124 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0198/1.469, allocations: 13.28 MB / 0.8125 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/1.469, allocations: 60.8 kB / 0.8126 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=283): time 4.94e-06/1.469, allocations: 0 / 0.8126 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=406): time 0.2197/1.689, allocations: 79.01 MB / 0.8897 GB, free: 31.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01417/1.703, allocations: 10.95 MB / 0.9004 GB, free: 20.31 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00742/1.71, allocations: 4.267 MB / 0.9046 GB, free: 16.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001235/1.712, allocations: 93.7 kB / 0.9047 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001979/1.714, allocations: 2.88 MB / 0.9075 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002214/1.716, allocations: 1.411 MB / 0.9089 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/1.717, allocations: 120 kB / 0.909 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003931/1.718, allocations: 0.5648 MB / 0.9096 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006965/1.725, allocations: 5.064 MB / 0.9145 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3878/2.112, allocations: 7.13 MB / 0.9215 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/2.128, allocations: 6.054 MB / 0.9274 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.102e-05/2.128, allocations: 19.34 kB / 0.9274 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04941/2.177, allocations: 20.95 MB / 0.9479 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.875e-05/2.178, allocations: 34.98 kB / 0.9479 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.95e-05/2.178, allocations: 65.81 kB / 0.9479 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02558/2.203, allocations: 9.763 MB / 0.9575 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004652/2.208, allocations: 1.124 MB / 0.9586 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06636/2.274, allocations: 53.13 MB / 1.01 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006853/2.281, allocations: 0.5372 MB / 1.011 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/2.283, allocations: 305.2 kB / 1.011 GB, free: 116.8 MB / 0.5294 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.005078/2.288, allocations: 2.279 MB / 1.014 GB, free: 114.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/2.289, allocations: 467.5 kB / 1.014 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03208/2.321, allocations: 19.41 MB / 1.033 GB, free: 94.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03087/2.352, allocations: 17.9 MB / 1.05 GB, free: 76.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001227/2.352, allocations: 32 kB / 1.05 GB, free: 76.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001136/2.353, allocations: 23.88 kB / 1.05 GB, free: 76.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07259/2.425, allocations: 36.75 MB / 1.086 GB, free: 39.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.393e-05/2.425, allocations: 4 kB / 1.086 GB, free: 39.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002379/2.428, allocations: 462.1 kB / 1.087 GB, free: 39.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02356/2.451, allocations: 9.754 MB / 1.096 GB, free: 29.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001374/2.453, allocations: 75.98 kB / 1.096 GB, free: 29.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3907/2.843, allocations: 51.45 MB / 1.147 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01184/2.855, allocations: 9.698 MB / 1.156 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03999/2.895, allocations: 25.88 MB / 1.181 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/2.897, allocations: 0.5199 MB / 1.182 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001778/2.899, allocations: 75.25 kB / 1.182 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003578/2.903, allocations: 419.3 kB / 1.182 GB, free: 136 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001401/2.904, allocations: 328 kB / 1.183 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003205/2.904, allocations: 99.98 kB / 1.183 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003983/2.908, allocations: 2.77 MB / 1.185 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/2.908, allocations: 0 / 1.185 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009707/2.918, allocations: 2.109 MB / 1.188 GB, free: 130.7 MB / 0.5294 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.001215/2.919, allocations: 197.5 kB / 1.188 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02211/2.941, allocations: 13.38 MB / 1.201 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/2.942, allocations: 2.344 kB / 1.201 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01275/2.954, allocations: 7.416 MB / 1.208 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008406/2.963, allocations: 0.7435 MB / 1.209 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03539/2.998, allocations: 18.85 MB / 1.227 GB, free: 90.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005471/3.004, allocations: 4.112 MB / 1.231 GB, free: 86.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002137/3.006, allocations: 319.3 kB / 1.231 GB, free: 85.75 MB / 0.5294 GB Notification: Performance of SimCode: time 1.133e-06/3.006, allocations: 0 / 1.231 GB, free: 85.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.5703/3.576, allocations: 153.6 MB / 1.381 GB, free: 121.2 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraintCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraintCalcHelperMain.o] Error 1