Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 104.1 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.001647/0.001647, allocations: 195.2 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 2.012/2.012, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.2652/0.2652, allocations: 43.51 MB / 314.1 MB, free: 0.75 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.001664/0.001664, allocations: 65.92 kB / 382.7 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1634, allocations: 57.79 MB / 440.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03975/0.2032, allocations: 41.69 MB / 482.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0287/0.232, allocations: 9.252 MB / 491.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01281/0.2449, allocations: 175.6 kB / 491.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006472/0.2514, allocations: 2.306 MB / 493.9 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006713/0.2582, allocations: 1.623 MB / 495.5 MB, free: 232 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.2603, allocations: 0.6397 MB / 496.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007852/0.2681, allocations: 5.455 MB / 0.4899 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006453/0.2746, allocations: 2.912 MB / 0.4927 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/0.2789, allocations: 1.195 MB / 0.4939 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004466/0.2834, allocations: 1.986 MB / 0.4958 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001511/0.285, allocations: 204 kB / 0.496 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.2887, allocations: 1.151 MB / 0.4971 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003016/0.2918, allocations: 1.632 MB / 0.4987 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005468/0.2973, allocations: 1.937 MB / 0.5006 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008598/0.3059, allocations: 5.305 MB / 0.5058 GB, free: 9.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.3059, allocations: 4 kB / 0.5058 GB, free: 9.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.306, allocations: 0 / 0.5058 GB, free: 9.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003831/0.3064, allocations: 0 / 0.5058 GB, free: 9.703 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01625/0.3226, allocations: 4.422 MB / 0.5101 GB, free: 5.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.3227, allocations: 12.02 kB / 0.5101 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009751/0.3325, allocations: 2.058 MB / 0.5121 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008177/0.3407, allocations: 2.452 MB / 0.5145 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.341, allocations: 213.6 kB / 0.5147 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/0.343, allocations: 283.9 kB / 0.515 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/0.3661, allocations: 9.275 MB / 0.5241 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.3663, allocations: 47.58 kB / 0.5241 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004088/0.3667, allocations: 135.9 kB / 0.5242 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003668/0.3704, allocations: 1.915 MB / 0.5261 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3552/0.7256, allocations: 8.158 MB / 0.5341 GB, free: 88.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04691/0.7726, allocations: 36.41 MB / 0.5696 GB, free: 61.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006963/0.7796, allocations: 3.678 MB / 0.5732 GB, free: 58.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.7817, allocations: 2.087 MB / 0.5753 GB, free: 56.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.782, allocations: 331.2 kB / 0.5756 GB, free: 56.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.7821, allocations: 55.61 kB / 0.5756 GB, free: 56.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=156): time 4.769e-06/0.7821, allocations: 0 / 0.5756 GB, free: 56.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=177): time 0.03631/0.8184, allocations: 16.22 MB / 0.5915 GB, free: 39.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.8185, allocations: 175.2 kB / 0.5916 GB, free: 39.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004387/0.8229, allocations: 3.643 MB / 0.5952 GB, free: 35.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003943/0.8233, allocations: 45.7 kB / 0.5952 GB, free: 35.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.8247, allocations: 2.812 MB / 0.598 GB, free: 33.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006949/0.8255, allocations: 0.6769 MB / 0.5986 GB, free: 32.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.8267, allocations: 1.158 MB / 0.5998 GB, free: 31.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.8268, allocations: 305 kB / 0.6001 GB, free: 30.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/0.8295, allocations: 2.287 MB / 0.6023 GB, free: 28.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004423/0.834, allocations: 5.643 MB / 0.6078 GB, free: 21.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007724/0.8417, allocations: 8.542 MB / 0.6161 GB, free: 11.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-05/0.8418, allocations: 32 kB / 0.6162 GB, free: 11.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01305/0.8549, allocations: 8.777 MB / 0.6247 GB, free: 2.359 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.855, allocations: 52.97 kB / 0.6248 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.424e-05/0.8551, allocations: 123.9 kB / 0.6249 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/0.8577, allocations: 1.227 MB / 0.6261 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003975/0.8617, allocations: 1.294 MB / 0.6274 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00946/0.8712, allocations: 7.201 MB / 0.6344 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005425/0.8766, allocations: 331.4 kB / 0.6347 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/0.878, allocations: 340 kB / 0.635 GB, free: 7.668 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[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 (690): * Single equations (assignments): 686 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004859/0.8828, allocations: 1.976 MB / 0.637 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008869/0.8837, allocations: 319.9 kB / 0.6373 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00762/0.8914, allocations: 3.929 MB / 0.6411 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/0.8914, allocations: 20 kB / 0.6411 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.8914, allocations: 4 kB / 0.6411 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/0.8915, allocations: 11.97 kB / 0.6412 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/0.9093, allocations: 9.033 MB / 0.65 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.9094, allocations: 0 / 0.65 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.9107, allocations: 271.6 kB / 0.6502 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/0.9134, allocations: 1.058 MB / 0.6513 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/0.9136, allocations: 28 kB / 0.6513 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009338/0.923, allocations: 6.723 MB / 0.6579 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.923, allocations: 48 / 0.6579 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/0.9337, allocations: 6.853 MB / 0.6646 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/0.9357, allocations: 0.6687 MB / 0.6652 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003774/0.9361, allocations: 27.67 kB / 0.6652 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.9374, allocations: 119.8 kB / 0.6653 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003628/0.9378, allocations: 104.7 kB / 0.6654 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.938, allocations: 40 kB / 0.6655 GB, free: 8.262 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003705/0.9417, allocations: 2.285 MB / 0.6677 GB, free: 5.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.9417, allocations: 0 / 0.6677 GB, free: 5.988 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004657/0.9463, allocations: 0.9678 MB / 0.6687 GB, free: 5.023 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.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 (137): * Single equations (assignments): 133 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004267/0.9468, allocations: 161.4 kB / 0.6688 GB, free: 4.863 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008186/0.955, allocations: 5.474 MB / 0.6742 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.955, allocations: 0 / 0.6742 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003154/0.9582, allocations: 2.033 MB / 0.6761 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.9603, allocations: 372.3 kB / 0.6765 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/0.9771, allocations: 11.23 MB / 0.6875 GB, free: 1.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00332/0.9805, allocations: 3.052 MB / 0.6905 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/0.9818, allocations: 275.4 kB / 0.6907 GB, free: 14.38 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.9818, allocations: 0 / 0.6907 GB, free: 14.38 MB / 494.1 MB Notification: Performance of Templates: time 0.4211/1.403, allocations: 72.41 MB / 0.7614 GB, free: 141.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJointCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJointCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJointCalcHelperMain.o] Error 1