Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009605, allocations: 95.66 kB / 16.33 MB, free: 5.953 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.000936/0.0009363, allocations: 189 kB / 17.22 MB, free: 5.883 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.679/1.679, allocations: 205.4 MB / 223.4 MB, free: 5.562 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.4158/0.4158, allocations: 43.55 MB / 315.2 MB, free: 9.074 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.0005197/0.0005197, allocations: 12 kB / 384.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1394, allocations: 58.87 MB / 443.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2847/0.4241, allocations: 43.69 MB / 487.1 MB, free: 24.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02389/0.4481, allocations: 10.12 MB / 497.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01099/0.4591, allocations: 210.6 kB / 497.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007226/0.4663, allocations: 2.231 MB / 499.7 MB, free: 16.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02066/0.487, allocations: 6.784 MB / 0.4946 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.4917, allocations: 0.9801 MB / 0.4955 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03244/0.5241, allocations: 20.49 MB / 0.5155 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008387/0.5326, allocations: 6.295 MB / 0.5217 GB, free: 228 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.5367, allocations: 1.705 MB / 0.5234 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004887/0.5417, allocations: 2.683 MB / 0.526 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.5427, allocations: 200 kB / 0.5262 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.5458, allocations: 1.202 MB / 0.5273 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00297/0.5488, allocations: 2.287 MB / 0.5296 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.5505, allocations: 1.084 MB / 0.5306 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009933/0.5605, allocations: 7.715 MB / 0.5382 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.5605, allocations: 4 kB / 0.5382 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5605, allocations: 0 / 0.5382 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003679/0.5609, allocations: 0 / 0.5382 GB, free: 15.29 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01384/0.5747, allocations: 5.458 MB / 0.5435 GB, free: 9.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5748, allocations: 8.031 kB / 0.5435 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.5901, allocations: 2.785 MB / 0.5462 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009918/0.6001, allocations: 3.659 MB / 0.5498 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003777/0.6005, allocations: 353.8 kB / 0.5501 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.6021, allocations: 427.7 kB / 0.5505 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02825/0.6304, allocations: 13.86 MB / 0.5641 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/0.6306, allocations: 55.47 kB / 0.5641 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005241/0.6311, allocations: 199.8 kB / 0.5643 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003798/0.6349, allocations: 2.41 MB / 0.5667 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02525/0.6602, allocations: 11.74 MB / 0.5781 GB, free: 5.332 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07816/0.7384, allocations: 51.8 MB / 0.6287 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3077/1.046, allocations: 4.725 MB / 0.6333 GB, free: 137.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004198/1.05, allocations: 2.939 MB / 0.6362 GB, free: 137.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01611/1.066, allocations: 12.86 MB / 0.6488 GB, free: 131.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/1.067, allocations: 58.36 kB / 0.6488 GB, free: 131.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 4.909e-06/1.067, allocations: 3.812 kB / 0.6488 GB, free: 131.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1358/1.202, allocations: 43.34 MB / 0.6912 GB, free: 116.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/1.203, allocations: 247.6 kB / 0.6914 GB, free: 116.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/1.208, allocations: 4.759 MB / 0.696 GB, free: 111.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006022/1.209, allocations: 65.7 kB / 0.6961 GB, free: 111.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/1.211, allocations: 3.837 MB / 0.6999 GB, free: 107.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.212, allocations: 0.9413 MB / 0.7008 GB, free: 106.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/1.212, allocations: 144 kB / 0.7009 GB, free: 106.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002778/1.213, allocations: 0.6162 MB / 0.7015 GB, free: 106.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/1.217, allocations: 3.415 MB / 0.7048 GB, free: 102.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005348/1.222, allocations: 7.673 MB / 0.7123 GB, free: 92.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005581/1.228, allocations: 4.963 MB / 0.7172 GB, free: 88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.914e-05/1.228, allocations: 44 kB / 0.7172 GB, free: 87.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.0241/1.252, allocations: 14.41 MB / 0.7313 GB, free: 73.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.509e-05/1.252, allocations: 68 kB / 0.7314 GB, free: 73.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.252, allocations: 148 kB / 0.7315 GB, free: 73.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009801/1.262, allocations: 4.056 MB / 0.7355 GB, free: 69.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004832/1.267, allocations: 1.63 MB / 0.7371 GB, free: 67.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/1.289, allocations: 18.66 MB / 0.7553 GB, free: 48.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006807/1.296, allocations: 459.3 kB / 0.7557 GB, free: 48.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/1.298, allocations: 436 kB / 0.7561 GB, free: 47.95 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (884): * Single equations (assignments): 880 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006322/1.304, allocations: 2.664 MB / 0.7587 GB, free: 45.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/1.306, allocations: 434.5 kB / 0.7592 GB, free: 44.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/1.323, allocations: 8.613 MB / 0.7676 GB, free: 36.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.596e-05/1.323, allocations: 32 kB / 0.7676 GB, free: 36.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-05/1.323, allocations: 12 kB / 0.7676 GB, free: 36.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.198e-05/1.323, allocations: 11.95 kB / 0.7676 GB, free: 36.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03376/1.357, allocations: 17.89 MB / 0.7851 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.679e-05/1.357, allocations: 4 kB / 0.7851 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/1.359, allocations: 399.4 kB / 0.7855 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/1.369, allocations: 4.077 MB / 0.7895 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006751/1.37, allocations: 43.98 kB / 0.7895 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02275/1.393, allocations: 17.1 MB / 0.8062 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.393, allocations: 0 / 0.8062 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3138/1.707, allocations: 13.2 MB / 0.8191 GB, free: 137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002655/1.709, allocations: 0.9729 MB / 0.82 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006264/1.71, allocations: 36.34 kB / 0.8201 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.712, allocations: 213.2 kB / 0.8203 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005194/1.712, allocations: 153.3 kB / 0.8204 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.713, allocations: 69.92 kB / 0.8205 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004628/1.717, allocations: 2.969 MB / 0.8234 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.717, allocations: 0 / 0.8234 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007518/1.725, allocations: 1.491 MB / 0.8248 GB, free: 136.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007174/1.726, allocations: 213.1 kB / 0.825 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.738, allocations: 8.219 MB / 0.8331 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.738, allocations: 0 / 0.8331 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003964/1.742, allocations: 3.101 MB / 0.8361 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/1.745, allocations: 0.4994 MB / 0.8366 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/1.771, allocations: 15.67 MB / 0.8519 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005812/1.777, allocations: 4.083 MB / 0.8559 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/1.778, allocations: 336.6 kB / 0.8562 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/1.778, allocations: 0 / 0.8562 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.1297/1.908, allocations: 100.5 MB / 0.9543 GB, free: 43.57 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.o] Error 1