Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.Torque,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.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 92.16 kB / 16.67 MB, free: 6.594 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.001468/0.001468, allocations: 180.7 kB / 17.57 MB, free: 6.191 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.931/1.931, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2627/0.2627, allocations: 43.6 MB / 315.6 MB, free: 432 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.0007872/0.0007872, allocations: 19.11 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1635, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.08874/0.2523, allocations: 88.4 MB / 0.52 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4314/0.6838, allocations: 17.18 MB / 0.5368 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02418/0.7081, allocations: 392.1 kB / 0.5372 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003707/0.7118, allocations: 0.6411 MB / 0.5378 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.7221, allocations: 2.563 MB / 0.5403 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004332/0.7265, allocations: 0.8837 MB / 0.5412 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02059/0.7471, allocations: 10.05 MB / 0.551 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01584/0.763, allocations: 8.318 MB / 0.5591 GB, free: 0 / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006129/0.7692, allocations: 1.877 MB / 0.5609 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007271/0.7765, allocations: 3.228 MB / 0.5641 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001537/0.7781, allocations: 233.6 kB / 0.5643 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004093/0.7822, allocations: 1.18 MB / 0.5655 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004473/0.7867, allocations: 2.884 MB / 0.5683 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00758/0.7943, allocations: 3.247 MB / 0.5714 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.8091, allocations: 8.775 MB / 0.58 GB, free: 7.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8091, allocations: 0 / 0.58 GB, free: 7.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.8091, allocations: 0 / 0.58 GB, free: 7.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005724/0.8097, allocations: 0 / 0.58 GB, free: 7.344 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.02183/0.8315, allocations: 6.491 MB / 0.5864 GB, free: 3.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.8316, allocations: 13.53 kB / 0.5864 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.8478, allocations: 2.894 MB / 0.5892 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.8618, allocations: 4.513 MB / 0.5936 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/0.8623, allocations: 389.3 kB / 0.594 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002849/0.8652, allocations: 0.5051 MB / 0.5945 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0378/0.903, allocations: 15.66 MB / 0.6098 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002806/0.9033, allocations: 73.05 kB / 0.6098 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000967/0.9043, allocations: 242.5 kB / 0.6101 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006119/0.9104, allocations: 3.063 MB / 0.613 GB, free: 7.691 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03322/0.9436, allocations: 13.26 MB / 0.626 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1175/1.061, allocations: 61.62 MB / 0.6862 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/1.079, allocations: 6.674 MB / 0.6927 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006613/1.085, allocations: 4.033 MB / 0.6966 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0223/1.108, allocations: 9.471 MB / 0.7059 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.177e-05/1.108, allocations: 71.17 kB / 0.7059 GB, free: 7.816 MB / 0.545 GB Notification: Performance of pre-optimization done (n=269): time 1.037e-05/1.108, allocations: 4 kB / 0.7059 GB, free: 7.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=311): time 0.09729/1.205, allocations: 32.55 MB / 0.7377 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/1.206, allocations: 239.9 kB / 0.738 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3753/1.581, allocations: 6.984 MB / 0.7448 GB, free: 241.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001521/1.582, allocations: 70.98 kB / 0.7449 GB, free: 241.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.009148/1.592, allocations: 4.771 MB / 0.7495 GB, free: 240 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003919/1.596, allocations: 1.182 MB / 0.7507 GB, free: 239.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00587/1.602, allocations: 0.7989 MB / 0.7514 GB, free: 239.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/1.602, allocations: 309.2 kB / 0.7517 GB, free: 239 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01334/1.615, allocations: 3.92 MB / 0.7556 GB, free: 239 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01993/1.635, allocations: 9.251 MB / 0.7646 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02366/1.659, allocations: 14.12 MB / 0.7784 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005465/1.659, allocations: 52.56 kB / 0.7784 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.03299/1.692, allocations: 14.98 MB / 0.7931 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002344/1.693, allocations: 89.09 kB / 0.7932 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000315/1.693, allocations: 185.9 kB / 0.7933 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005584/1.699, allocations: 2.299 MB / 0.7956 GB, free: 214 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008577/1.707, allocations: 2.18 MB / 0.7977 GB, free: 213.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/1.724, allocations: 13.47 MB / 0.8109 GB, free: 201.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/1.734, allocations: 0.5531 MB / 0.8114 GB, free: 200.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002734/1.737, allocations: 0.5429 MB / 0.8119 GB, free: 200 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1140): * Single equations (assignments): 1133 * 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 {(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.01093/1.748, allocations: 3.229 MB / 0.8151 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00216/1.75, allocations: 0.5861 MB / 0.8157 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/1.766, allocations: 7.718 MB / 0.8232 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.948e-05/1.766, allocations: 35.94 kB / 0.8232 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.42e-05/1.766, allocations: 8 kB / 0.8232 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.054e-05/1.766, allocations: 15.95 kB / 0.8233 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05028/1.817, allocations: 16.25 MB / 0.8391 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.858e-05/1.817, allocations: 4 kB / 0.8391 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004047/1.821, allocations: 0.5188 MB / 0.8396 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007492/1.828, allocations: 2.031 MB / 0.8416 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008601/1.829, allocations: 63.94 kB / 0.8417 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01938/1.849, allocations: 12.68 MB / 0.8541 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/1.849, allocations: 11.67 kB / 0.8541 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02371/1.872, allocations: 12.23 MB / 0.866 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005135/1.878, allocations: 1.211 MB / 0.8672 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00308/1.881, allocations: 63.98 kB / 0.8673 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005283/1.886, allocations: 219.3 kB / 0.8675 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/1.887, allocations: 193.9 kB / 0.8677 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005534/1.888, allocations: 76 kB / 0.8677 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01141/1.899, allocations: 4.479 MB / 0.8721 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.42e-07/1.899, allocations: 0 / 0.8721 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01674/1.916, allocations: 1.726 MB / 0.8738 GB, free: 136.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (254): * Single equations (assignments): 249 * 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.002052/1.918, allocations: 208.6 kB / 0.874 GB, free: 136 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01833/1.936, allocations: 9.427 MB / 0.8832 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.937, allocations: 4 kB / 0.8832 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007314/1.944, allocations: 3.722 MB / 0.8868 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0137/1.958, allocations: 0.7199 MB / 0.8875 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04342/2.001, allocations: 20.08 MB / 0.9071 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009594/2.011, allocations: 4.874 MB / 0.9119 GB, free: 97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002605/2.013, allocations: 479.3 kB / 0.9124 GB, free: 96.53 MB / 0.5762 GB Notification: Performance of SimCode: time 1.703e-06/2.013, allocations: 0 / 0.9124 GB, free: 96.53 MB / 0.5762 GB Notification: Performance of Templates: time 0.5973/2.611, allocations: 153.9 MB / 1.063 GB, free: 175 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.TorqueCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.o] Error 1