Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007746/0.0007747, allocations: 95.48 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.0007789/0.0007789, allocations: 179.5 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.472/1.472, allocations: 223.2 MB / 242.5 MB, free: 240 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.2379/0.2379, allocations: 44.22 MB / 337.9 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 9.219 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.483/0.632, allocations: 67.35 MB / 0.5269 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04912/0.6812, allocations: 14.25 MB / 0.5408 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02704/0.7083, allocations: 326.6 kB / 0.5411 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01612/0.7244, allocations: 3.522 MB / 0.5446 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04051/0.765, allocations: 10.3 MB / 0.5546 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007967/0.773, allocations: 0.9212 MB / 0.5555 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08747/0.8605, allocations: 62.89 MB / 0.6169 GB, free: 440 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01273/0.8733, allocations: 6.286 MB / 0.6231 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00554/0.8789, allocations: 1.782 MB / 0.6248 GB, free: 8.297 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00612/0.885, allocations: 2.835 MB / 0.6276 GB, free: 5.453 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002126/0.8872, allocations: 204 kB / 0.6278 GB, free: 5.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004299/0.8915, allocations: 0.9948 MB / 0.6288 GB, free: 4.258 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004206/0.8957, allocations: 2.427 MB / 0.6311 GB, free: 1.824 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.8979, allocations: 1.17 MB / 0.6323 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.908, allocations: 7.665 MB / 0.6398 GB, free: 8.961 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.908, allocations: 0 / 0.6398 GB, free: 8.961 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.908, allocations: 0 / 0.6398 GB, free: 8.961 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003782/0.9084, allocations: 4 kB / 0.6398 GB, free: 8.957 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: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.01551/0.9239, allocations: 5.764 MB / 0.6454 GB, free: 3.113 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.924, allocations: 8.031 kB / 0.6454 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02201/0.946, allocations: 3.417 MB / 0.6487 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.9572, allocations: 4.353 MB / 0.653 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.9576, allocations: 324.5 kB / 0.6533 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/0.9593, allocations: 455.5 kB / 0.6537 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02899/0.9883, allocations: 13.26 MB / 0.6667 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/0.9886, allocations: 67.42 kB / 0.6667 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006165/0.9892, allocations: 211.8 kB / 0.6669 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00427/0.9935, allocations: 2.593 MB / 0.6695 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/1.017, allocations: 11.5 MB / 0.6807 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4115/1.429, allocations: 53.45 MB / 0.7329 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01538/1.444, allocations: 5.654 MB / 0.7384 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005279/1.45, allocations: 3.498 MB / 0.7418 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/1.45, allocations: 0.6895 MB / 0.7425 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/1.45, allocations: 62.39 kB / 0.7426 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=245): time 5.481e-06/1.45, allocations: 0 / 0.7426 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=315): time 0.0946/1.545, allocations: 36.58 MB / 0.7783 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.545, allocations: 264.6 kB / 0.7785 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006654/1.552, allocations: 5.189 MB / 0.7836 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008758/1.553, allocations: 73.7 kB / 0.7837 GB, free: 128 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.555, allocations: 3.912 MB / 0.7875 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001325/1.556, allocations: 1.177 MB / 0.7886 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000366/1.557, allocations: 161.3 kB / 0.7888 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003147/1.557, allocations: 0.6368 MB / 0.7894 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004368/1.561, allocations: 3.599 MB / 0.7929 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006162/1.568, allocations: 7.802 MB / 0.8006 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005931/1.573, allocations: 5.21 MB / 0.8056 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.932e-05/1.574, allocations: 44 kB / 0.8057 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.02008/1.594, allocations: 13.69 MB / 0.8191 GB, free: 89.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/1.594, allocations: 68.97 kB / 0.8191 GB, free: 89.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/1.594, allocations: 144 kB / 0.8193 GB, free: 89.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005569/1.599, allocations: 2.777 MB / 0.822 GB, free: 86.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005647/1.605, allocations: 1.786 MB / 0.8237 GB, free: 85.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/1.624, allocations: 16.63 MB / 0.84 GB, free: 68.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006692/1.63, allocations: 490.3 kB / 0.8404 GB, free: 67.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001622/1.632, allocations: 451.9 kB / 0.8408 GB, free: 67.26 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (951): * Single equations (assignments): 946 * 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 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006046/1.638, allocations: 2.772 MB / 0.8436 GB, free: 64.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.64, allocations: 482.1 kB / 0.844 GB, free: 64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.654, allocations: 8.036 MB / 0.8519 GB, free: 55.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.505e-05/1.654, allocations: 32 kB / 0.8519 GB, free: 55.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.429e-05/1.654, allocations: 15.94 kB / 0.8519 GB, free: 55.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-05/1.654, allocations: 15.94 kB / 0.8519 GB, free: 55.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0317/1.686, allocations: 17.11 MB / 0.8686 GB, free: 38.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/1.686, allocations: 4 kB / 0.8686 GB, free: 38.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/1.688, allocations: 0.5031 MB / 0.8691 GB, free: 38.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005493/1.694, allocations: 2.486 MB / 0.8716 GB, free: 35.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005013/1.694, allocations: 63.98 kB / 0.8716 GB, free: 35.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0163/1.71, allocations: 14.79 MB / 0.8861 GB, free: 20.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/1.71, allocations: 11.94 kB / 0.8861 GB, free: 20.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/1.729, allocations: 12.55 MB / 0.8983 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002773/1.732, allocations: 0.5378 MB / 0.8989 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002475/1.735, allocations: 63.98 kB / 0.8989 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003645/1.738, allocations: 232.7 kB / 0.8991 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008306/1.739, allocations: 209.4 kB / 0.8993 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004135/1.74, allocations: 85.09 kB / 0.8994 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006272/1.746, allocations: 3.273 MB / 0.9026 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/1.746, allocations: 0 / 0.9026 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00876/1.755, allocations: 1.55 MB / 0.9041 GB, free: 1.82 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (253): * Single equations (assignments): 248 * 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 {(3,100.0%) 21,(3,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009719/1.756, allocations: 211.8 kB / 0.9043 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01838/1.774, allocations: 8.8 MB / 0.9129 GB, free: 8.801 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/1.774, allocations: 4 kB / 0.9129 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006955/1.781, allocations: 3.552 MB / 0.9164 GB, free: 5.223 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007799/1.789, allocations: 0.6585 MB / 0.917 GB, free: 4.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3464/2.135, allocations: 17.63 MB / 0.9343 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009067/2.145, allocations: 4.307 MB / 0.9385 GB, free: 186.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00261/2.147, allocations: 396.3 kB / 0.9388 GB, free: 186.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.743e-06/2.147, allocations: 0 / 0.9388 GB, free: 186.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1951/2.342, allocations: 135.3 MB / 1.071 GB, free: 67.38 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2CalcHelperMain.o] Error 1