Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001186/0.001186, allocations: 89.25 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.001303/0.001303, allocations: 176.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.993/1.993, 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.2794/0.2794, allocations: 43.6 MB / 315.6 MB, free: 412 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.0005455/0.0005455, allocations: 20.23 kB / 385.2 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1484, allocations: 58.87 MB / 444.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.07572/0.2242, allocations: 72.86 MB / 0.5049 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04519/0.2695, allocations: 14.94 MB / 0.5194 GB, free: 13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01998/0.2895, allocations: 327.2 kB / 0.5198 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.2923, allocations: 0.5673 MB / 0.5203 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008612/0.3009, allocations: 2.288 MB / 0.5225 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.3043, allocations: 1.006 MB / 0.5235 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.4122/0.7166, allocations: 9.539 MB / 0.5328 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01428/0.7309, allocations: 7.108 MB / 0.5398 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006249/0.7373, allocations: 1.709 MB / 0.5414 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008109/0.7454, allocations: 2.948 MB / 0.5443 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.7469, allocations: 212.5 kB / 0.5445 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004815/0.7518, allocations: 1.147 MB / 0.5456 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006077/0.7579, allocations: 2.53 MB / 0.5481 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007432/0.7654, allocations: 2.878 MB / 0.5509 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.7765, allocations: 7.859 MB / 0.5586 GB, free: 1.492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.7766, allocations: 0 / 0.5586 GB, free: 1.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.079e-06/0.7766, allocations: 3.031 kB / 0.5586 GB, free: 1.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004591/0.7771, allocations: 0 / 0.5586 GB, free: 1.492 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: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.02189/0.799, allocations: 5.794 MB / 0.5643 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.03e-05/0.7991, allocations: 10.69 kB / 0.5643 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03102/0.8301, allocations: 3.448 MB / 0.5676 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.8435, allocations: 4.568 MB / 0.5721 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004074/0.844, allocations: 337.7 kB / 0.5724 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002087/0.8461, allocations: 459.9 kB / 0.5729 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03243/0.8785, allocations: 13.59 MB / 0.5861 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003718/0.879, allocations: 69.39 kB / 0.5862 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/0.8801, allocations: 209.6 kB / 0.5864 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005466/0.8856, allocations: 2.649 MB / 0.589 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02988/0.9155, allocations: 11.85 MB / 0.6006 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08803/1.004, allocations: 54.35 MB / 0.6536 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01589/1.02, allocations: 5.78 MB / 0.6593 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005867/1.025, allocations: 3.559 MB / 0.6628 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/1.027, allocations: 0.6838 MB / 0.6634 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.916e-05/1.027, allocations: 64.75 kB / 0.6635 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=254): time 1.113e-05/1.027, allocations: 3.984 kB / 0.6635 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=324): time 0.1274/1.154, allocations: 37.28 MB / 0.6999 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002778/1.154, allocations: 271.8 kB / 0.7002 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0152/1.17, allocations: 5.32 MB / 0.7054 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001441/1.171, allocations: 69.7 kB / 0.7054 GB, free: 12.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004948/1.176, allocations: 3.991 MB / 0.7093 GB, free: 8.141 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00289/1.179, allocations: 1.205 MB / 0.7105 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003057/1.182, allocations: 0.6837 MB / 0.7112 GB, free: 6.254 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.182, allocations: 305.1 kB / 0.7115 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008686/1.191, allocations: 3.697 MB / 0.7151 GB, free: 2.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01353/1.205, allocations: 7.979 MB / 0.7229 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0221/1.227, allocations: 12.49 MB / 0.7351 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000291/1.227, allocations: 48 kB / 0.7351 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.43/1.657, allocations: 13.97 MB / 0.7487 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/1.657, allocations: 67.16 kB / 0.7488 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003446/1.658, allocations: 147.1 kB / 0.749 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009466/1.667, allocations: 2.765 MB / 0.7517 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008951/1.676, allocations: 1.829 MB / 0.7534 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0275/1.704, allocations: 16.62 MB / 0.7697 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009119/1.713, allocations: 484.6 kB / 0.7701 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00225/1.715, allocations: 463.8 kB / 0.7706 GB, free: 225.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (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 (973): * Single equations (assignments): 968 * 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%), (4,23,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01144/1.727, allocations: 2.834 MB / 0.7733 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002586/1.729, allocations: 497.1 kB / 0.7738 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01975/1.749, allocations: 8.165 MB / 0.7818 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-05/1.749, allocations: 37.39 kB / 0.7818 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.404e-05/1.749, allocations: 7.906 kB / 0.7818 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.592e-05/1.749, allocations: 18.92 kB / 0.7819 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04337/1.793, allocations: 17.41 MB / 0.7989 GB, free: 213.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-05/1.793, allocations: 8 kB / 0.7989 GB, free: 213.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00297/1.796, allocations: 0.5129 MB / 0.7994 GB, free: 213.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006538/1.802, allocations: 2.478 MB / 0.8018 GB, free: 210.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007441/1.803, allocations: 63.98 kB / 0.8018 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/1.821, allocations: 14.77 MB / 0.8163 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/1.821, allocations: 13.94 kB / 0.8163 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02403/1.845, allocations: 12.76 MB / 0.8287 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003729/1.849, allocations: 1.122 MB / 0.8298 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002104/1.851, allocations: 63.98 kB / 0.8299 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004407/1.855, allocations: 239.6 kB / 0.8301 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/1.857, allocations: 211.2 kB / 0.8303 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005681/1.857, allocations: 86.81 kB / 0.8304 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008766/1.866, allocations: 3.373 MB / 0.8337 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.523e-06/1.866, allocations: 0 / 0.8337 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01122/1.877, allocations: 1.577 MB / 0.8352 GB, free: 176.7 MB / 0.5762 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 (263): * Single equations (assignments): 258 * 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.001707/1.879, allocations: 218 kB / 0.8355 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01749/1.896, allocations: 9.096 MB / 0.8443 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/1.897, allocations: 7.281 kB / 0.8443 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00654/1.903, allocations: 3.566 MB / 0.8478 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0099/1.913, allocations: 0.6415 MB / 0.8485 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03423/1.947, allocations: 18.67 MB / 0.8667 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005203/1.953, allocations: 4.382 MB / 0.871 GB, free: 140 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002171/1.955, allocations: 411.3 kB / 0.8714 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.412e-06/1.955, allocations: 1.312 kB / 0.8714 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.5428/2.498, allocations: 137.6 MB / 1.006 GB, free: 223 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2CalcHelperMain.o] Error 1