Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.Forces.FrameForcesAndTorques2,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.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 103.2 kB / 16.52 MB, free: 6.723 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.001815/0.001815, allocations: 191.7 kB / 17.44 MB, free: 6.055 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.88/1.88, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2764/0.2764, allocations: 43.52 MB / 314.1 MB, free: 0.7422 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.001941/0.001941, allocations: 63.61 kB / 382.7 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1657, allocations: 57.79 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.1008/0.2665, allocations: 93.45 MB / 0.5214 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4631/0.7297, allocations: 17.96 MB / 0.539 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02885/0.7586, allocations: 397.3 kB / 0.5393 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01119/0.77, allocations: 4.576 MB / 0.5438 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009952/0.78, allocations: 2.466 MB / 0.5462 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.7836, allocations: 1.048 MB / 0.5472 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01745/0.8011, allocations: 9.784 MB / 0.5568 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.8119, allocations: 5.765 MB / 0.5624 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006491/0.8184, allocations: 2.19 MB / 0.5646 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008609/0.8271, allocations: 3.661 MB / 0.5681 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003634/0.8308, allocations: 400 kB / 0.5685 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005782/0.8366, allocations: 1.47 MB / 0.5699 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007082/0.8437, allocations: 3.042 MB / 0.5729 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008086/0.8518, allocations: 3.484 MB / 0.5763 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.8653, allocations: 9.113 MB / 0.5852 GB, free: 2.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.8654, allocations: 0 / 0.5852 GB, free: 2.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.8654, allocations: 2.25 kB / 0.5852 GB, free: 2.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006193/0.866, allocations: 0 / 0.5852 GB, free: 2.328 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02514/0.8912, allocations: 7.692 MB / 0.5927 GB, free: 10.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.8912, allocations: 8.031 kB / 0.5927 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/0.905, allocations: 2.821 MB / 0.5955 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.9181, allocations: 4.305 MB / 0.5997 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005469/0.9187, allocations: 386.7 kB / 0.6001 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00301/0.9217, allocations: 0.5023 MB / 0.6006 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0433/0.965, allocations: 16.4 MB / 0.6166 GB, free: 1.938 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005803/0.9657, allocations: 68.5 kB / 0.6166 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003148/0.9688, allocations: 243 kB / 0.6169 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006802/0.9757, allocations: 3.158 MB / 0.62 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03809/1.014, allocations: 14.12 MB / 0.6337 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1086/1.122, allocations: 60.65 MB / 0.693 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02118/1.144, allocations: 8.022 MB / 0.7008 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006884/1.151, allocations: 4.202 MB / 0.7049 GB, free: 6.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/1.151, allocations: 57.22 kB / 0.705 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.763e-05/1.151, allocations: 67 kB / 0.705 GB, free: 6.875 MB / 0.545 GB Notification: Performance of pre-optimization done (n=290): time 7.724e-06/1.151, allocations: 0 / 0.705 GB, free: 6.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=332): time 0.1109/1.262, allocations: 35.37 MB / 0.7396 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/1.262, allocations: 218.1 kB / 0.7398 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.36/1.622, allocations: 6.363 MB / 0.746 GB, free: 244.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001506/1.624, allocations: 75.61 kB / 0.7461 GB, free: 244.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005233/1.629, allocations: 4.543 MB / 0.7505 GB, free: 243.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002582/1.632, allocations: 1.24 MB / 0.7517 GB, free: 242.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004394/1.636, allocations: 1.808 MB / 0.7535 GB, free: 241.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.636, allocations: 302.5 kB / 0.7538 GB, free: 241 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009001/1.645, allocations: 4.109 MB / 0.7578 GB, free: 239.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01389/1.659, allocations: 8.964 MB / 0.7665 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02179/1.681, allocations: 13.99 MB / 0.7802 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003796/1.682, allocations: 48.31 kB / 0.7802 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03673/1.718, allocations: 14.96 MB / 0.7949 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005157/1.719, allocations: 79.94 kB / 0.7949 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006262/1.72, allocations: 168 kB / 0.7951 GB, free: 214.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00655/1.726, allocations: 2.28 MB / 0.7973 GB, free: 212.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009358/1.736, allocations: 2.097 MB / 0.7994 GB, free: 210.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/1.754, allocations: 13.5 MB / 0.8125 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01332/1.767, allocations: 0.5406 MB / 0.8131 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002966/1.77, allocations: 0.5077 MB / 0.8136 GB, free: 195.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1084): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009888/1.78, allocations: 3.163 MB / 0.8167 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002516/1.782, allocations: 0.5475 MB / 0.8172 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/1.801, allocations: 8.462 MB / 0.8255 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.315e-05/1.801, allocations: 35.94 kB / 0.8255 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.895e-05/1.801, allocations: 12 kB / 0.8255 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.407e-05/1.801, allocations: 15.94 kB / 0.8255 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03856/1.84, allocations: 17.43 MB / 0.8425 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/1.84, allocations: 4 kB / 0.8425 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/1.843, allocations: 0.5968 MB / 0.8431 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004952/1.848, allocations: 2.043 MB / 0.8451 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008643/1.849, allocations: 63.98 kB / 0.8452 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/1.864, allocations: 12.73 MB / 0.8576 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.864, allocations: 4 kB / 0.8576 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02382/1.888, allocations: 13.51 MB / 0.8708 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004391/1.892, allocations: 1.243 MB / 0.872 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003029/1.895, allocations: 63.81 kB / 0.8721 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005113/1.9, allocations: 275.6 kB / 0.8723 GB, free: 135 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/1.902, allocations: 205.7 kB / 0.8725 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007104/1.902, allocations: 91.5 kB / 0.8726 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008718/1.911, allocations: 4.05 MB / 0.8766 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.91e-07/1.911, allocations: 0 / 0.8766 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01236/1.923, allocations: 1.743 MB / 0.8783 GB, free: 128.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/1.925, allocations: 214.5 kB / 0.8785 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01718/1.942, allocations: 9.879 MB / 0.8881 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.942, allocations: 4 kB / 0.8881 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007477/1.95, allocations: 4.133 MB / 0.8922 GB, free: 114.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009482/1.959, allocations: 0.674 MB / 0.8928 GB, free: 114 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0353/1.995, allocations: 20.12 MB / 0.9125 GB, free: 93.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007582/2.002, allocations: 4.83 MB / 0.9172 GB, free: 88.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003312/2.006, allocations: 467.3 kB / 0.9177 GB, free: 88.51 MB / 0.5762 GB Notification: Performance of SimCode: time 1.824e-06/2.006, allocations: 0 / 0.9177 GB, free: 88.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.5838/2.589, allocations: 155.3 MB / 1.069 GB, free: 169.5 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.o] Error 1