Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,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.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,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.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 101 kB / 16.52 MB, free: 6.266 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.001973/0.001973, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.752/1.752, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.267/0.267, allocations: 43.51 MB / 314.1 MB, free: 0.7539 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.001559/0.00156, allocations: 64.91 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1626, allocations: 57.79 MB / 440.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.07638/0.239, allocations: 73.19 MB / 0.5016 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04777/0.2869, allocations: 14.5 MB / 0.5158 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02477/0.3118, allocations: 319.2 kB / 0.5161 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008675/0.3205, allocations: 3.756 MB / 0.5197 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008976/0.3296, allocations: 2.223 MB / 0.5219 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.3334, allocations: 0.936 MB / 0.5228 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.4367/0.7701, allocations: 8.556 MB / 0.5312 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008491/0.7787, allocations: 4.633 MB / 0.5357 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/0.783, allocations: 1.843 MB / 0.5375 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007483/0.7905, allocations: 3.021 MB / 0.5405 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001973/0.7925, allocations: 307.8 kB / 0.5408 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00462/0.7972, allocations: 1.426 MB / 0.5421 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004798/0.802, allocations: 2.52 MB / 0.5446 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008695/0.8107, allocations: 2.829 MB / 0.5474 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.8235, allocations: 7.367 MB / 0.5546 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.8236, allocations: 0 / 0.5546 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8236, allocations: 0 / 0.5546 GB, free: 1.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005729/0.8242, allocations: 4 kB / 0.5546 GB, free: 1.57 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.03164/0.8558, allocations: 6.387 MB / 0.5608 GB, free: 15.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.8559, allocations: 11.12 kB / 0.5608 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/0.8703, allocations: 2.631 MB / 0.5634 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/0.8856, allocations: 3.963 MB / 0.5673 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005693/0.8862, allocations: 300.3 kB / 0.5675 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002973/0.8892, allocations: 397.9 kB / 0.5679 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0368/0.9261, allocations: 12.62 MB / 0.5802 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004892/0.9266, allocations: 60.44 kB / 0.5803 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002697/0.9293, allocations: 191.2 kB / 0.5805 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004875/0.9342, allocations: 2.409 MB / 0.5828 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02869/0.963, allocations: 10.53 MB / 0.5931 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08771/1.051, allocations: 48.81 MB / 0.6408 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/1.064, allocations: 4.799 MB / 0.6455 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004209/1.068, allocations: 2.432 MB / 0.6478 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/1.086, allocations: 7.174 MB / 0.6549 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.25e-05/1.086, allocations: 54.91 kB / 0.6549 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 8.616e-06/1.086, allocations: 4 kB / 0.6549 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.05933/1.145, allocations: 17.99 MB / 0.6725 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/1.145, allocations: 207.6 kB / 0.6727 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01688/1.162, allocations: 5.827 MB / 0.6784 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008844/1.163, allocations: 53.7 kB / 0.6784 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00479/1.168, allocations: 3.954 MB / 0.6823 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.17, allocations: 0.7571 MB / 0.683 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005692/1.176, allocations: 1.509 MB / 0.6845 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.176, allocations: 301.1 kB / 0.6848 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005775/1.181, allocations: 2.603 MB / 0.6873 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01168/1.193, allocations: 7.042 MB / 0.6942 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01612/1.209, allocations: 10.34 MB / 0.7043 GB, free: 7.047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002236/1.21, allocations: 47.66 kB / 0.7043 GB, free: 7.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02645/1.236, allocations: 10.41 MB / 0.7145 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002989/1.236, allocations: 72 kB / 0.7146 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004051/1.237, allocations: 156 kB / 0.7147 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003719/1.241, allocations: 1.231 MB / 0.7159 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007657/1.248, allocations: 1.702 MB / 0.7176 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/1.26, allocations: 7.766 MB / 0.7252 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007803/1.267, allocations: 407.3 kB / 0.7256 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002047/1.27, allocations: 447.4 kB / 0.726 GB, free: 1.738 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (904): * Single equations (assignments): 897 * 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,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008887/1.278, allocations: 2.627 MB / 0.7285 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.28, allocations: 481.7 kB / 0.729 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009764/1.29, allocations: 3.975 MB / 0.7329 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-05/1.29, allocations: 28 kB / 0.7329 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.993e-05/1.29, allocations: 7.938 kB / 0.7329 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-05/1.29, allocations: 11.97 kB / 0.7329 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/1.317, allocations: 9.296 MB / 0.742 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/1.317, allocations: 4 kB / 0.742 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.319, allocations: 358.6 kB / 0.7424 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/1.322, allocations: 0.985 MB / 0.7433 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003433/1.322, allocations: 35.98 kB / 0.7434 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3615/1.684, allocations: 7.098 MB / 0.7503 GB, free: 236.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.684, allocations: 6.297 kB / 0.7503 GB, free: 236.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.697, allocations: 6.745 MB / 0.7569 GB, free: 235.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003359/1.7, allocations: 0.8223 MB / 0.7577 GB, free: 234.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009477/1.701, allocations: 34.31 kB / 0.7577 GB, free: 234.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.703, allocations: 113.5 kB / 0.7578 GB, free: 234.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004484/1.703, allocations: 116.7 kB / 0.7579 GB, free: 234.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/1.703, allocations: 54.39 kB / 0.758 GB, free: 234.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008181/1.712, allocations: 3.731 MB / 0.7616 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.712, allocations: 1.625 kB / 0.7616 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01046/1.722, allocations: 1.274 MB / 0.7629 GB, free: 233.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009017/1.723, allocations: 165.8 kB / 0.763 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01241/1.735, allocations: 6.222 MB / 0.7691 GB, free: 231.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.735, allocations: 0 / 0.7691 GB, free: 231.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002579/1.738, allocations: 1.885 MB / 0.771 GB, free: 230.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/1.742, allocations: 0.5802 MB / 0.7715 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/1.767, allocations: 14.79 MB / 0.786 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00394/1.771, allocations: 3.986 MB / 0.7898 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.772, allocations: 373.2 kB / 0.7902 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/1.772, allocations: 0 / 0.7902 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.1885/1.961, allocations: 121.2 MB / 0.9086 GB, free: 100.5 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForcesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesCalcHelperMain.o] Error 1