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.0008165/0.0008165, allocations: 96 kB / 18 MB, free: 5.602 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.001026/0.001026, allocations: 180.4 kB / 18.91 MB, free: 4.734 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.442/1.442, allocations: 223.3 MB / 243 MB, free: 14.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 44.25 MB / 338.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004146, allocations: 8 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1568, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.4203/0.5771, allocations: 72.43 MB / 0.5326 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04387/0.621, allocations: 14.86 MB / 0.5471 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02135/0.6424, allocations: 323.9 kB / 0.5474 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.6455, allocations: 0.5632 MB / 0.5479 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008574/0.6541, allocations: 2.233 MB / 0.5501 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.6571, allocations: 0.9844 MB / 0.5511 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01515/0.6723, allocations: 9.862 MB / 0.5607 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01298/0.6853, allocations: 7.053 MB / 0.5676 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.6903, allocations: 1.653 MB / 0.5692 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005857/0.6962, allocations: 2.861 MB / 0.572 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00165/0.6979, allocations: 204 kB / 0.5722 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/0.7018, allocations: 1.162 MB / 0.5733 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003814/0.7056, allocations: 2.47 MB / 0.5757 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00472/0.7104, allocations: 2.804 MB / 0.5785 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.7208, allocations: 7.669 MB / 0.586 GB, free: 0.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7209, allocations: 0 / 0.586 GB, free: 0.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.971e-06/0.7209, allocations: 0 / 0.586 GB, free: 0.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003626/0.7212, allocations: 7.938 kB / 0.586 GB, free: 0.5352 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: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.01637/0.7376, allocations: 5.682 MB / 0.5915 GB, free: 10.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/0.7377, allocations: 15.97 kB / 0.5915 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02882/0.7665, allocations: 3.421 MB / 0.5949 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.7789, allocations: 4.419 MB / 0.5992 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.7793, allocations: 336.8 kB / 0.5995 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/0.7812, allocations: 451.6 kB / 0.5999 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02735/0.8086, allocations: 13.29 MB / 0.6129 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002376/0.8089, allocations: 79.27 kB / 0.613 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006256/0.8095, allocations: 207.8 kB / 0.6132 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005005/0.8145, allocations: 2.578 MB / 0.6157 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02524/0.8398, allocations: 11.57 MB / 0.627 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08502/0.9249, allocations: 53.47 MB / 0.6792 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/0.9397, allocations: 5.664 MB / 0.6848 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005303/0.9451, allocations: 3.505 MB / 0.6882 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009901/0.9461, allocations: 0.6877 MB / 0.6889 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.152e-05/0.9462, allocations: 64.5 kB / 0.6889 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=245): time 5.881e-06/0.9462, allocations: 0 / 0.6889 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=315): time 0.4505/1.397, allocations: 36.58 MB / 0.7246 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.397, allocations: 270.5 kB / 0.7249 GB, free: 182 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008595/1.406, allocations: 5.22 MB / 0.73 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009095/1.406, allocations: 75.73 kB / 0.7301 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002715/1.409, allocations: 3.916 MB / 0.7339 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001623/1.411, allocations: 1.178 MB / 0.7351 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008607/1.412, allocations: 0.6789 MB / 0.7357 GB, free: 176 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.054e-05/1.412, allocations: 305.1 kB / 0.736 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004657/1.416, allocations: 3.63 MB / 0.7395 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006081/1.423, allocations: 7.835 MB / 0.7472 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.435, allocations: 12.27 MB / 0.7592 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/1.435, allocations: 44 kB / 0.7592 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.0223/1.457, allocations: 13.75 MB / 0.7727 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.209e-05/1.457, allocations: 68 kB / 0.7727 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/1.458, allocations: 144 kB / 0.7729 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006248/1.464, allocations: 2.758 MB / 0.7755 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005811/1.47, allocations: 1.79 MB / 0.7773 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/1.489, allocations: 16.61 MB / 0.7935 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007429/1.496, allocations: 479 kB / 0.794 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001739/1.498, allocations: 458.1 kB / 0.7944 GB, free: 121.3 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 (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 {(3,24,100.0%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006866/1.505, allocations: 2.768 MB / 0.7971 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002069/1.507, allocations: 489.7 kB / 0.7976 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/1.523, allocations: 8.046 MB / 0.8054 GB, free: 110 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-05/1.523, allocations: 32.28 kB / 0.8055 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.476e-05/1.523, allocations: 12 kB / 0.8055 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.884e-05/1.523, allocations: 15.94 kB / 0.8055 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03431/1.557, allocations: 17.16 MB / 0.8223 GB, free: 92.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/1.557, allocations: 8 kB / 0.8223 GB, free: 92.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/1.56, allocations: 0.4915 MB / 0.8227 GB, free: 92.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005916/1.566, allocations: 2.483 MB / 0.8252 GB, free: 89.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005444/1.566, allocations: 61.23 kB / 0.8252 GB, free: 89.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/1.583, allocations: 14.79 MB / 0.8397 GB, free: 74.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.583, allocations: 11.94 kB / 0.8397 GB, free: 74.58 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/1.602, allocations: 12.58 MB / 0.852 GB, free: 61.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/1.604, allocations: 0.5416 MB / 0.8525 GB, free: 61.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/1.605, allocations: 63.98 kB / 0.8526 GB, free: 61.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/1.608, allocations: 232.4 kB / 0.8528 GB, free: 60.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006294/1.609, allocations: 213.5 kB / 0.853 GB, free: 60.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002303/1.609, allocations: 89.06 kB / 0.8531 GB, free: 60.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004827/1.614, allocations: 3.301 MB / 0.8563 GB, free: 57.37 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.52e-07/1.614, allocations: 0 / 0.8563 GB, free: 57.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008407/1.622, allocations: 1.554 MB / 0.8578 GB, free: 55.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 (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 {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008305/1.623, allocations: 212 kB / 0.858 GB, free: 55.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.014/1.637, allocations: 8.863 MB / 0.8667 GB, free: 46.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.637, allocations: 0 / 0.8667 GB, free: 46.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005668/1.643, allocations: 3.562 MB / 0.8701 GB, free: 43.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009621/1.652, allocations: 0.6443 MB / 0.8708 GB, free: 42.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02714/1.68, allocations: 18.3 MB / 0.8886 GB, free: 24.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005089/1.685, allocations: 4.309 MB / 0.8928 GB, free: 19.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/1.687, allocations: 399.4 kB / 0.8932 GB, free: 19.37 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/1.687, allocations: 0 / 0.8932 GB, free: 19.37 MB / 0.5294 GB Notification: Performance of Templates: time 0.5043/2.191, allocations: 134.9 MB / 1.025 GB, free: 68.22 MB / 0.5294 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++ -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_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