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.001761/0.001761, allocations: 103.7 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.002654/0.002655, allocations: 193.8 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.93/1.93, 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.2617/0.2617, allocations: 43.52 MB / 314.1 MB, free: 0.7422 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.001939/0.001939, allocations: 64.02 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1651, allocations: 57.79 MB / 440.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.07694/0.2421, allocations: 74.66 MB / 0.5031 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04768/0.2898, allocations: 15.01 MB / 0.5177 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0219/0.3117, allocations: 339.1 kB / 0.518 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008976/0.3208, allocations: 4.161 MB / 0.5221 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009863/0.3308, allocations: 2.269 MB / 0.5243 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.3343, allocations: 1.006 MB / 0.5253 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.416/0.7503, allocations: 9.54 MB / 0.5346 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009085/0.7595, allocations: 5.057 MB / 0.5396 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.766, allocations: 2.041 MB / 0.5415 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007428/0.7734, allocations: 3.359 MB / 0.5448 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003083/0.7766, allocations: 352.8 kB / 0.5452 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.7817, allocations: 1.28 MB / 0.5464 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00464/0.7864, allocations: 2.718 MB / 0.5491 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008415/0.7948, allocations: 3.105 MB / 0.5521 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.8062, allocations: 8.051 MB / 0.56 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8062, allocations: 0 / 0.56 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.8062, allocations: 0 / 0.56 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000527/0.8068, allocations: 0 / 0.56 GB, free: 0.9922 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.02845/0.8352, allocations: 7.055 MB / 0.5669 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8353, allocations: 11 kB / 0.5669 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02616/0.8614, allocations: 3.357 MB / 0.5701 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.8758, allocations: 4.563 MB / 0.5746 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.8762, allocations: 339.6 kB / 0.5749 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.8782, allocations: 449.7 kB / 0.5754 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02882/0.907, allocations: 13.58 MB / 0.5886 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002648/0.9073, allocations: 72.55 kB / 0.5887 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007652/0.9081, allocations: 211.3 kB / 0.5889 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004846/0.9129, allocations: 2.655 MB / 0.5915 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02654/0.9395, allocations: 11.82 MB / 0.603 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07837/1.018, allocations: 54.33 MB / 0.6561 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/1.034, allocations: 5.777 MB / 0.6617 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/1.039, allocations: 3.557 MB / 0.6652 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.04, allocations: 0.6901 MB / 0.6659 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.413e-05/1.04, allocations: 60.56 kB / 0.6659 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=254): time 1.059e-05/1.04, allocations: 3.984 kB / 0.6659 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=324): time 0.1215/1.162, allocations: 37.22 MB / 0.7023 GB, free: 12.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/1.162, allocations: 265.4 kB / 0.7025 GB, free: 11.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.172, allocations: 5.324 MB / 0.7077 GB, free: 6.641 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001242/1.174, allocations: 73.7 kB / 0.7078 GB, free: 6.562 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003873/1.177, allocations: 3.993 MB / 0.7117 GB, free: 2.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002308/1.18, allocations: 1.209 MB / 0.7129 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002931/1.183, allocations: 1.631 MB / 0.7145 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.183, allocations: 305.1 kB / 0.7148 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00591/1.189, allocations: 3.693 MB / 0.7184 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/1.199, allocations: 7.98 MB / 0.7262 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02298/1.222, allocations: 12.49 MB / 0.7383 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003852/1.222, allocations: 48 kB / 0.7384 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.4119/1.634, allocations: 13.96 MB / 0.752 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.634, allocations: 66.19 kB / 0.7521 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003488/1.635, allocations: 147.9 kB / 0.7522 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0089/1.644, allocations: 2.777 MB / 0.7549 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008011/1.652, allocations: 1.828 MB / 0.7567 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/1.675, allocations: 16.61 MB / 0.7729 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008281/1.683, allocations: 488.2 kB / 0.7734 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001968/1.685, allocations: 465.1 kB / 0.7739 GB, free: 227.1 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.006245/1.691, allocations: 2.834 MB / 0.7766 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/1.693, allocations: 499.7 kB / 0.7771 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/1.707, allocations: 8.164 MB / 0.7851 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.77e-05/1.707, allocations: 35.3 kB / 0.7851 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.214e-05/1.707, allocations: 11.59 kB / 0.7851 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.691e-05/1.707, allocations: 19.14 kB / 0.7851 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04163/1.749, allocations: 17.41 MB / 0.8021 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.049e-05/1.749, allocations: 4 kB / 0.8021 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002813/1.752, allocations: 0.5225 MB / 0.8027 GB, free: 207.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00639/1.758, allocations: 2.48 MB / 0.8051 GB, free: 204.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000897/1.759, allocations: 73.02 kB / 0.8051 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/1.777, allocations: 14.75 MB / 0.8196 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.777, allocations: 11.94 kB / 0.8196 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02091/1.798, allocations: 12.77 MB / 0.832 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003695/1.801, allocations: 1.111 MB / 0.8331 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002401/1.804, allocations: 60.09 kB / 0.8332 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004299/1.808, allocations: 244.9 kB / 0.8334 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/1.809, allocations: 206.7 kB / 0.8336 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000512/1.81, allocations: 91.98 kB / 0.8337 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.009717/1.82, allocations: 3.365 MB / 0.837 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.142e-06/1.82, allocations: 0 / 0.837 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01431/1.834, allocations: 1.574 MB / 0.8385 GB, free: 170.3 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.001481/1.835, allocations: 220.9 kB / 0.8387 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0172/1.853, allocations: 9.106 MB / 0.8476 GB, free: 161 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/1.853, allocations: 4 kB / 0.8476 GB, free: 161 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006743/1.859, allocations: 3.566 MB / 0.8511 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008836/1.868, allocations: 0.6515 MB / 0.8517 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03488/1.903, allocations: 18.46 MB / 0.8698 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005249/1.909, allocations: 4.386 MB / 0.8741 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002086/1.911, allocations: 407.3 kB / 0.8744 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.894e-06/1.911, allocations: 1.203 kB / 0.8744 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.5273/2.438, allocations: 138.8 MB / 1.01 GB, free: 221.7 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