Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 93.64 kB / 16.67 MB, free: 6.105 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.001115/0.001115, allocations: 180.5 kB / 17.57 MB, free: 5.824 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.962/1.962, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2686/0.2686, allocations: 43.59 MB / 315.6 MB, free: 428 kB / 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.0005754/0.0005754, allocations: 12.94 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1404, allocations: 58.87 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.06937/0.2098, allocations: 71.91 MB / 0.5039 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04509/0.255, allocations: 14.49 MB / 0.5181 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02024/0.2753, allocations: 319.2 kB / 0.5184 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.2782, allocations: 0.5285 MB / 0.5189 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008279/0.2865, allocations: 2.285 MB / 0.5211 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.2888, allocations: 0.8153 MB / 0.5219 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01277/0.3016, allocations: 8.723 MB / 0.5304 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4269/0.7286, allocations: 6.461 MB / 0.5367 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006601/0.7353, allocations: 1.578 MB / 0.5383 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008395/0.7437, allocations: 2.713 MB / 0.5409 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001743/0.7455, allocations: 192.1 kB / 0.5411 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004893/0.7504, allocations: 1.309 MB / 0.5424 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004774/0.7552, allocations: 2.409 MB / 0.5447 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00586/0.7611, allocations: 2.705 MB / 0.5474 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.7738, allocations: 7.418 MB / 0.5546 GB, free: 2.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.7739, allocations: 0 / 0.5546 GB, free: 2.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.7739, allocations: 0 / 0.5546 GB, free: 2.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005042/0.7744, allocations: 0 / 0.5546 GB, free: 2.145 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01958/0.794, allocations: 5.403 MB / 0.5599 GB, free: 14.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.7941, allocations: 8.375 kB / 0.5599 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/0.8097, allocations: 2.719 MB / 0.5626 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/0.8221, allocations: 4.001 MB / 0.5665 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003356/0.8225, allocations: 309 kB / 0.5668 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002193/0.8247, allocations: 412.4 kB / 0.5672 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02932/0.854, allocations: 13.03 MB / 0.5799 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002005/0.8542, allocations: 62.88 kB / 0.58 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006044/0.8548, allocations: 193.6 kB / 0.5801 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004376/0.8592, allocations: 2.506 MB / 0.5826 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02657/0.8858, allocations: 10.85 MB / 0.5932 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08427/0.9702, allocations: 50.19 MB / 0.6422 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.9834, allocations: 4.552 MB / 0.6466 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004167/0.9876, allocations: 2.452 MB / 0.649 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/1.003, allocations: 6.736 MB / 0.6556 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/1.003, allocations: 59.64 kB / 0.6557 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 6.161e-06/1.003, allocations: 0 / 0.6557 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.06309/1.066, allocations: 19.38 MB / 0.6746 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/1.066, allocations: 231.2 kB / 0.6748 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.077, allocations: 5.92 MB / 0.6806 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005551/1.077, allocations: 53.7 kB / 0.6807 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003796/1.081, allocations: 4.064 MB / 0.6846 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001163/1.082, allocations: 0.7784 MB / 0.6854 GB, free: 452 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009546/1.083, allocations: 0.6512 MB / 0.686 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.083, allocations: 301.1 kB / 0.6863 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0046/1.088, allocations: 2.634 MB / 0.6889 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008541/1.097, allocations: 7.16 MB / 0.6959 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/1.11, allocations: 10.51 MB / 0.7061 GB, free: 7.469 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.493e-05/1.11, allocations: 48 kB / 0.7062 GB, free: 7.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02062/1.131, allocations: 10.56 MB / 0.7165 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001915/1.131, allocations: 72 kB / 0.7166 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003851/1.132, allocations: 164 kB / 0.7167 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/1.135, allocations: 1.241 MB / 0.7179 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006381/1.142, allocations: 1.723 MB / 0.7196 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.154, allocations: 7.926 MB / 0.7274 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009133/1.163, allocations: 407.5 kB / 0.7277 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002322/1.166, allocations: 452 kB / 0.7282 GB, free: 1.805 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (918): * Single equations (assignments): 911 * Array equations: 5 * 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 {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00931/1.175, allocations: 2.702 MB / 0.7308 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/1.177, allocations: 489.6 kB / 0.7313 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.187, allocations: 4.032 MB / 0.7352 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.046e-05/1.187, allocations: 25.33 kB / 0.7352 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.119e-05/1.187, allocations: 11.94 kB / 0.7353 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.491e-05/1.187, allocations: 7.969 kB / 0.7353 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02716/1.214, allocations: 9.557 MB / 0.7446 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-05/1.214, allocations: 4 kB / 0.7446 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/1.216, allocations: 324.8 kB / 0.7449 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.359/1.575, allocations: 0.9984 MB / 0.7459 GB, free: 237.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006503/1.576, allocations: 34.3 kB / 0.7459 GB, free: 237.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009869/1.586, allocations: 7.24 MB / 0.753 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.586, allocations: 4.219 kB / 0.753 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/1.599, allocations: 6.886 MB / 0.7597 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003007/1.602, allocations: 0.8525 MB / 0.7606 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006946/1.603, allocations: 34.27 kB / 0.7606 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.604, allocations: 125.7 kB / 0.7607 GB, free: 233 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004132/1.605, allocations: 110.6 kB / 0.7608 GB, free: 233 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/1.605, allocations: 53.52 kB / 0.7609 GB, free: 233 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007918/1.613, allocations: 3.786 MB / 0.7646 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.91e-07/1.613, allocations: 0 / 0.7646 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008197/1.621, allocations: 1.296 MB / 0.7658 GB, free: 231.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005651/1.622, allocations: 172 kB / 0.766 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.632, allocations: 6.31 MB / 0.7721 GB, free: 229.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.632, allocations: 3.812 kB / 0.7722 GB, free: 229.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002784/1.635, allocations: 1.909 MB / 0.774 GB, free: 228.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008996/1.644, allocations: 0.5986 MB / 0.7746 GB, free: 228.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03236/1.677, allocations: 15.28 MB / 0.7895 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01098/1.688, allocations: 4.101 MB / 0.7935 GB, free: 216.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/1.69, allocations: 374.8 kB / 0.7939 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.753e-06/1.69, allocations: 0 / 0.7939 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.214/1.904, allocations: 123.3 MB / 0.9143 GB, free: 95.79 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorquesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorquesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorquesCalcHelperMain.o] Error 1