Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,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.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,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.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 103 kB / 16.52 MB, free: 6.723 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.001527/0.001527, allocations: 191.7 kB / 17.44 MB, free: 6.055 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.854/1.854, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.2557/0.2557, allocations: 43.52 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.001706/0.001706, allocations: 68.2 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1431, allocations: 57.79 MB / 440.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.04528/0.1884, allocations: 43.46 MB / 483.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02914/0.2176, allocations: 9.647 MB / 493.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01169/0.2293, allocations: 195.5 kB / 493.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00636/0.2357, allocations: 2.735 MB / 496.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007215/0.243, allocations: 1.911 MB / 498.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.2459, allocations: 0.9362 MB / 499.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01112/0.2571, allocations: 7.199 MB / 0.4947 GB, free: 5.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007189/0.2643, allocations: 3.351 MB / 0.498 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.2685, allocations: 1.565 MB / 0.4995 GB, free: 244 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005088/0.2737, allocations: 2.613 MB / 0.502 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001641/0.2753, allocations: 252 kB / 0.5023 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00399/0.2793, allocations: 1.392 MB / 0.5036 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003594/0.283, allocations: 2.119 MB / 0.5057 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005571/0.2886, allocations: 2.403 MB / 0.508 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008459/0.297, allocations: 6.291 MB / 0.5142 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.2971, allocations: 0 / 0.5142 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.2971, allocations: 0 / 0.5142 GB, free: 1.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002603/0.2974, allocations: 0 / 0.5142 GB, free: 1.129 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01568/0.3131, allocations: 5.753 MB / 0.5198 GB, free: 11.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.3131, allocations: 12.03 kB / 0.5198 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/0.3296, allocations: 2.599 MB / 0.5224 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009933/0.3396, allocations: 3.26 MB / 0.5255 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004326/0.3401, allocations: 258.8 kB / 0.5258 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/0.343, allocations: 347.9 kB / 0.5261 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.375/0.718, allocations: 12.35 MB / 0.5382 GB, free: 86.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/0.7183, allocations: 56.8 kB / 0.5382 GB, free: 86.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005879/0.7189, allocations: 163 kB / 0.5384 GB, free: 86.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005125/0.7241, allocations: 2.38 MB / 0.5407 GB, free: 86.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0241/0.7482, allocations: 10.84 MB / 0.5513 GB, free: 81.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06426/0.8125, allocations: 48.82 MB / 0.599 GB, free: 32.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01375/0.8263, allocations: 6.042 MB / 0.6049 GB, free: 26.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003553/0.8299, allocations: 3.302 MB / 0.6081 GB, free: 23.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01961/0.8495, allocations: 13.51 MB / 0.6213 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/0.8496, allocations: 57.66 kB / 0.6214 GB, free: 9.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=204): time 6.172e-06/0.8497, allocations: 0 / 0.6214 GB, free: 9.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=265): time 0.1064/0.9561, allocations: 36.34 MB / 0.6568 GB, free: 4.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/0.9563, allocations: 205.9 kB / 0.657 GB, free: 4.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008613/0.9649, allocations: 4.385 MB / 0.6613 GB, free: 348 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/0.966, allocations: 65.7 kB / 0.6614 GB, free: 276 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003057/0.9691, allocations: 3.38 MB / 0.6647 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001864/0.9709, allocations: 0.9947 MB / 0.6657 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002166/0.9731, allocations: 1.424 MB / 0.667 GB, free: 10.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9732, allocations: 301.1 kB / 0.6673 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/0.9781, allocations: 3.281 MB / 0.6705 GB, free: 6.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008877/0.9869, allocations: 7.2 MB / 0.6776 GB, free: 13.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/1.004, allocations: 11.25 MB / 0.6886 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/1.004, allocations: 40 kB / 0.6886 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02854/1.032, allocations: 13.27 MB / 0.7015 GB, free: 3.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.221e-05/1.033, allocations: 64 kB / 0.7016 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001637/1.033, allocations: 136 kB / 0.7017 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/1.043, allocations: 3.406 MB / 0.7051 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006063/1.049, allocations: 1.571 MB / 0.7066 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3897/1.439, allocations: 16.38 MB / 0.7226 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008752/1.448, allocations: 436.5 kB / 0.723 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002254/1.45, allocations: 409.9 kB / 0.7234 GB, free: 159.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006409/1.456, allocations: 2.351 MB / 0.7257 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.458, allocations: 412 kB / 0.7261 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01967/1.477, allocations: 7.999 MB / 0.7339 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001122/1.478, allocations: 33.53 kB / 0.7339 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.121e-05/1.478, allocations: 11.09 kB / 0.7339 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.92e-05/1.478, allocations: 15.7 kB / 0.734 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03065/1.508, allocations: 15.54 MB / 0.7491 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/1.508, allocations: 0 / 0.7491 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/1.511, allocations: 385.7 kB / 0.7495 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009156/1.52, allocations: 3.165 MB / 0.7526 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006621/1.521, allocations: 47.16 kB / 0.7526 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/1.541, allocations: 14.66 MB / 0.7669 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.541, allocations: 0 / 0.7669 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02258/1.564, allocations: 12.13 MB / 0.7788 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003206/1.567, allocations: 0.9402 MB / 0.7797 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001623/1.569, allocations: 39.98 kB / 0.7798 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003548/1.572, allocations: 188.6 kB / 0.7799 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009857/1.573, allocations: 157.7 kB / 0.7801 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005005/1.574, allocations: 71.61 kB / 0.7802 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006792/1.581, allocations: 2.75 MB / 0.7828 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.61e-07/1.581, allocations: 0 / 0.7828 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01081/1.592, allocations: 1.366 MB / 0.7842 GB, free: 124.7 MB / 0.4981 GB 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/1.593, allocations: 183.3 kB / 0.7843 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01456/1.607, allocations: 8.194 MB / 0.7923 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.607, allocations: 0 / 0.7923 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005841/1.613, allocations: 3.314 MB / 0.7956 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006085/1.619, allocations: 480.2 kB / 0.796 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/1.649, allocations: 14.76 MB / 0.8105 GB, free: 98.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004168/1.653, allocations: 3.661 MB / 0.814 GB, free: 94.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.655, allocations: 335.4 kB / 0.8144 GB, free: 94 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/1.655, allocations: 0 / 0.8144 GB, free: 94 MB / 0.4981 GB Notification: Performance of Templates: time 0.129/1.784, allocations: 92.4 MB / 0.9046 GB, free: 1.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2CalcHelperMain.o] Error 1