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.001042/0.001042, allocations: 91.58 kB / 16.33 MB, free: 6.414 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.001133/0.001133, allocations: 185.8 kB / 17.22 MB, free: 6.309 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.625/1.625, allocations: 205.4 MB / 223.4 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3978/0.3978, allocations: 43.54 MB / 315.2 MB, free: 8.812 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.0005741/0.0005745, allocations: 12 kB / 384.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1363, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.3314/0.4678, allocations: 67.75 MB / 0.4992 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03912/0.5069, allocations: 14.32 MB / 0.5132 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01832/0.5253, allocations: 330.4 kB / 0.5135 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0147/0.5401, allocations: 3.532 MB / 0.5169 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03736/0.5775, allocations: 10.35 MB / 0.527 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006604/0.5841, allocations: 0.925 MB / 0.5279 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05018/0.6343, allocations: 35.84 MB / 0.5629 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/0.6468, allocations: 6.35 MB / 0.5691 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005699/0.6525, allocations: 1.845 MB / 0.5709 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005519/0.6581, allocations: 2.925 MB / 0.5738 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001578/0.6597, allocations: 212 kB / 0.574 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.663, allocations: 0.9831 MB / 0.575 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003737/0.6668, allocations: 2.482 MB / 0.5774 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.6695, allocations: 1.189 MB / 0.5785 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.6801, allocations: 7.863 MB / 0.5862 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.6802, allocations: 4 kB / 0.5862 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6802, allocations: 0 / 0.5862 GB, free: 13.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004439/0.6806, allocations: 0 / 0.5862 GB, free: 13.8 MB / 462.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.01784/0.6985, allocations: 5.87 MB / 0.592 GB, free: 7.848 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6985, allocations: 8.031 kB / 0.592 GB, free: 7.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02222/0.7208, allocations: 3.451 MB / 0.5953 GB, free: 4.375 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/0.7315, allocations: 4.478 MB / 0.5997 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002876/0.7318, allocations: 336.5 kB / 0.6 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/0.7334, allocations: 463.5 kB / 0.6005 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02539/0.7588, allocations: 13.55 MB / 0.6137 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003645/0.7592, allocations: 63.42 kB / 0.6138 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001445/0.7607, allocations: 215.8 kB / 0.614 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004607/0.7653, allocations: 2.652 MB / 0.6166 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02548/0.7908, allocations: 11.8 MB / 0.6281 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3365/1.127, allocations: 54.33 MB / 0.6812 GB, free: 104 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/1.142, allocations: 5.77 MB / 0.6868 GB, free: 101.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005147/1.147, allocations: 3.542 MB / 0.6902 GB, free: 100.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007621/1.148, allocations: 0.6845 MB / 0.6909 GB, free: 99.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/1.148, allocations: 62.34 kB / 0.691 GB, free: 99.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 5.811e-06/1.148, allocations: 3.969 kB / 0.691 GB, free: 99.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.0943/1.242, allocations: 37.24 MB / 0.7273 GB, free: 77.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/1.242, allocations: 273.3 kB / 0.7276 GB, free: 76.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006828/1.249, allocations: 5.296 MB / 0.7328 GB, free: 71.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009083/1.25, allocations: 77.7 kB / 0.7328 GB, free: 71.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00215/1.252, allocations: 3.981 MB / 0.7367 GB, free: 67.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/1.254, allocations: 1.213 MB / 0.7379 GB, free: 66.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/1.254, allocations: 160 kB / 0.7381 GB, free: 66.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003213/1.255, allocations: 0.6527 MB / 0.7387 GB, free: 65.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004487/1.259, allocations: 3.654 MB / 0.7423 GB, free: 61.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006209/1.265, allocations: 7.944 MB / 0.75 GB, free: 51.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006556/1.272, allocations: 5.301 MB / 0.7552 GB, free: 46.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.323e-05/1.272, allocations: 44 kB / 0.7553 GB, free: 46.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.0215/1.293, allocations: 13.9 MB / 0.7688 GB, free: 32.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/1.294, allocations: 68 kB / 0.7689 GB, free: 32.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/1.294, allocations: 148 kB / 0.769 GB, free: 32.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005694/1.299, allocations: 2.766 MB / 0.7717 GB, free: 29.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005847/1.305, allocations: 1.833 MB / 0.7735 GB, free: 27.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/1.323, allocations: 16.63 MB / 0.7898 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00662/1.329, allocations: 483.2 kB / 0.7902 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/1.331, allocations: 459.9 kB / 0.7907 GB, free: 9.738 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006009/1.337, allocations: 2.84 MB / 0.7934 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.338, allocations: 497.6 kB / 0.7939 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/1.355, allocations: 8.152 MB / 0.8019 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.134e-05/1.355, allocations: 35.94 kB / 0.8019 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.704e-05/1.355, allocations: 15.95 kB / 0.8019 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/1.355, allocations: 15.94 kB / 0.8019 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04066/1.396, allocations: 17.38 MB / 0.8189 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/1.396, allocations: 4 kB / 0.8189 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002934/1.399, allocations: 0.5148 MB / 0.8194 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006628/1.406, allocations: 2.483 MB / 0.8219 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009103/1.406, allocations: 63.95 kB / 0.8219 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3296/1.736, allocations: 14.75 MB / 0.8363 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.736, allocations: 9.812 kB / 0.8363 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/1.755, allocations: 12.73 MB / 0.8488 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003069/1.758, allocations: 1.114 MB / 0.8498 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.76, allocations: 64.36 kB / 0.8499 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/1.762, allocations: 242.2 kB / 0.8501 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/1.763, allocations: 207.6 kB / 0.8503 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.763, allocations: 93.34 kB / 0.8504 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005424/1.768, allocations: 3.338 MB / 0.8537 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/1.769, allocations: 4.625 kB / 0.8537 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008781/1.777, allocations: 1.578 MB / 0.8552 GB, free: 152 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 21,(3,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008327/1.778, allocations: 203.6 kB / 0.8554 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01652/1.795, allocations: 9.035 MB / 0.8642 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/1.795, allocations: 1.281 kB / 0.8642 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005584/1.8, allocations: 3.562 MB / 0.8677 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004565/1.805, allocations: 0.6427 MB / 0.8684 GB, free: 146.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03511/1.84, allocations: 18.01 MB / 0.8859 GB, free: 137.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007122/1.847, allocations: 4.38 MB / 0.8902 GB, free: 136 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/1.849, allocations: 410.9 kB / 0.8906 GB, free: 136 MB / 0.5137 GB Notification: Performance of SimCode: time 1.292e-06/1.849, allocations: 4 kB / 0.8906 GB, free: 136 MB / 0.5137 GB Notification: Performance of Templates: time 0.3963/2.246, allocations: 138 MB / 1.025 GB, free: 156.6 MB / 0.5137 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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