Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001101/0.001101, allocations: 95.66 kB / 16.33 MB, free: 5.953 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.001232/0.001232, allocations: 187.6 kB / 17.22 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 223.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3693/0.3693, allocations: 43.54 MB / 315.2 MB, free: 8.848 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005028, allocations: 20 kB / 384.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1414, allocations: 58.85 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.3214/0.4629, allocations: 75.7 MB / 0.5069 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0436/0.5066, allocations: 15.73 MB / 0.5223 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02282/0.5295, allocations: 381.7 kB / 0.5227 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01633/0.5458, allocations: 3.805 MB / 0.5264 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0404/0.5863, allocations: 11.39 MB / 0.5375 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00644/0.5927, allocations: 1.148 MB / 0.5386 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.08938/0.6821, allocations: 65.04 MB / 0.6021 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0122/0.6944, allocations: 7.078 MB / 0.6091 GB, free: 6.367 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005746/0.7002, allocations: 2.098 MB / 0.6111 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00618/0.7064, allocations: 2.945 MB / 0.614 GB, free: 1.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001594/0.708, allocations: 184 kB / 0.6142 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.7117, allocations: 0.8466 MB / 0.615 GB, free: 288 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003751/0.7155, allocations: 2.482 MB / 0.6174 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.7173, allocations: 1.065 MB / 0.6184 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008467/0.7258, allocations: 7.123 MB / 0.6254 GB, free: 5.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.7258, allocations: 0 / 0.6254 GB, free: 5.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7259, allocations: 0 / 0.6254 GB, free: 5.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003219/0.7262, allocations: 0 / 0.6254 GB, free: 5.578 MB / 494.1 MB 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.3062/1.032, allocations: 6.091 MB / 0.6314 GB, free: 148.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.032, allocations: 11.86 kB / 0.6314 GB, free: 148.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/1.044, allocations: 1.973 MB / 0.6333 GB, free: 147.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/1.056, allocations: 5.607 MB / 0.6388 GB, free: 147 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/1.056, allocations: 327.2 kB / 0.6391 GB, free: 147 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/1.058, allocations: 412 kB / 0.6395 GB, free: 147 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/1.079, allocations: 11.03 MB / 0.6502 GB, free: 143 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002117/1.08, allocations: 56.27 kB / 0.6503 GB, free: 143 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004436/1.08, allocations: 178.1 kB / 0.6505 GB, free: 142.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002707/1.083, allocations: 1.73 MB / 0.6522 GB, free: 142.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/1.11, allocations: 9.55 MB / 0.6615 GB, free: 139.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06795/1.178, allocations: 45.41 MB / 0.7058 GB, free: 104.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01835/1.196, allocations: 7.918 MB / 0.7136 GB, free: 96.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00567/1.202, allocations: 5.372 MB / 0.7188 GB, free: 91.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01724/1.219, allocations: 13.28 MB / 0.7318 GB, free: 77.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/1.219, allocations: 64.75 kB / 0.7318 GB, free: 77.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 5.06e-06/1.219, allocations: 0 / 0.7318 GB, free: 77.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.1993/1.418, allocations: 79.09 MB / 0.8091 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01656/1.435, allocations: 10.95 MB / 0.8198 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2946/1.73, allocations: 4.313 MB / 0.824 GB, free: 150.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001667/1.731, allocations: 91.64 kB / 0.8241 GB, free: 150.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002668/1.734, allocations: 2.884 MB / 0.8269 GB, free: 150.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/1.736, allocations: 1.411 MB / 0.8283 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/1.737, allocations: 117.8 kB / 0.8284 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003037/1.737, allocations: 0.5612 MB / 0.8289 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007088/1.744, allocations: 5.061 MB / 0.8339 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007538/1.752, allocations: 7.14 MB / 0.8408 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00822/1.76, allocations: 6.056 MB / 0.8468 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.56e-05/1.76, allocations: 17.81 kB / 0.8468 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04344/1.804, allocations: 20.95 MB / 0.8672 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.228e-05/1.804, allocations: 31.56 kB / 0.8673 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/1.804, allocations: 64.94 kB / 0.8673 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02588/1.83, allocations: 9.767 MB / 0.8769 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004588/1.835, allocations: 1.131 MB / 0.878 GB, free: 133.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06276/1.897, allocations: 53.13 MB / 0.9298 GB, free: 85.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006579/1.904, allocations: 0.5378 MB / 0.9304 GB, free: 85.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.905, allocations: 296 kB / 0.9307 GB, free: 84.83 MB / 0.4981 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.0047/1.91, allocations: 2.286 MB / 0.9329 GB, free: 82.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.911, allocations: 474 kB / 0.9333 GB, free: 82.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03233/1.944, allocations: 19.41 MB / 0.9523 GB, free: 62.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03048/1.974, allocations: 17.9 MB / 0.9698 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.05e-05/1.974, allocations: 32 kB / 0.9698 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001153/1.975, allocations: 19.92 kB / 0.9698 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0581/2.033, allocations: 36.76 MB / 1.006 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.926e-05/2.033, allocations: 7.953 kB / 1.006 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/2.035, allocations: 463.7 kB / 1.006 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3072/2.342, allocations: 9.75 MB / 1.016 GB, free: 138 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001139/2.343, allocations: 75.47 kB / 1.016 GB, free: 138 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07258/2.416, allocations: 51.45 MB / 1.066 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0117/2.428, allocations: 9.7 MB / 1.075 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03966/2.467, allocations: 25.88 MB / 1.101 GB, free: 95.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004003/2.472, allocations: 1.496 MB / 1.102 GB, free: 94.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/2.473, allocations: 71.98 kB / 1.102 GB, free: 94.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003228/2.476, allocations: 415.3 kB / 1.103 GB, free: 94.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/2.478, allocations: 328.1 kB / 1.103 GB, free: 93.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003154/2.478, allocations: 104 kB / 1.103 GB, free: 93.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003614/2.482, allocations: 2.805 MB / 1.106 GB, free: 90.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/2.482, allocations: 0 / 1.106 GB, free: 90.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007245/2.489, allocations: 2.113 MB / 1.108 GB, free: 88.7 MB / 0.4981 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.0006388/2.489, allocations: 198.6 kB / 1.108 GB, free: 88.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0183/2.508, allocations: 13.39 MB / 1.121 GB, free: 75.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/2.508, allocations: 0 / 1.121 GB, free: 75.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01179/2.52, allocations: 7.414 MB / 1.128 GB, free: 67.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006672/2.526, allocations: 0.7433 MB / 1.129 GB, free: 66.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03289/2.559, allocations: 18.89 MB / 1.148 GB, free: 48.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006114/2.565, allocations: 4.113 MB / 1.152 GB, free: 43.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002163/2.568, allocations: 319.3 kB / 1.152 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of SimCode: time 1.913e-06/2.568, allocations: 0 / 1.152 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.4678/3.035, allocations: 154 MB / 1.302 GB, free: 80.73 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraintCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraintCalcHelperMain.o] Error 1