Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008716/0.0008717, allocations: 87.73 kB / 17.63 MB, free: 6.16 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.0008302/0.0008303, allocations: 183 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 242.5 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2371/0.2371, allocations: 44.23 MB / 337.9 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 12.59 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.166, allocations: 61.93 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.4135/0.5796, allocations: 57.14 MB / 0.5169 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03587/0.6155, allocations: 12.59 MB / 0.5292 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01647/0.6321, allocations: 271.6 kB / 0.5295 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.6439, allocations: 2.98 MB / 0.5324 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02714/0.671, allocations: 8.979 MB / 0.5412 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005662/0.6767, allocations: 1.284 MB / 0.5424 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04882/0.7256, allocations: 37.21 MB / 0.5787 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01313/0.7387, allocations: 7.84 MB / 0.5864 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005962/0.7448, allocations: 2.417 MB / 0.5888 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007232/0.752, allocations: 3.961 MB / 0.5926 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001858/0.7539, allocations: 295.9 kB / 0.5929 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.7582, allocations: 1.326 MB / 0.5942 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004633/0.7629, allocations: 3.261 MB / 0.5974 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003223/0.7661, allocations: 1.509 MB / 0.5989 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.781, allocations: 10.45 MB / 0.6091 GB, free: 8.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7811, allocations: 0 / 0.6091 GB, free: 8.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7811, allocations: 4 kB / 0.6091 GB, free: 8.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004865/0.7816, allocations: 0 / 0.6091 GB, free: 8.371 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.01946/0.801, allocations: 7.528 MB / 0.6164 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.8011, allocations: 8.031 kB / 0.6164 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02668/0.8278, allocations: 4.201 MB / 0.6205 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01742/0.8453, allocations: 5.002 MB / 0.6254 GB, free: 7.441 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007045/0.846, allocations: 434.9 kB / 0.6258 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003517/0.8495, allocations: 0.5972 MB / 0.6264 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04958/0.8992, allocations: 20.63 MB / 0.6466 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002969/0.8995, allocations: 79.31 kB / 0.6466 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00129/0.9008, allocations: 275.7 kB / 0.6469 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005875/0.9067, allocations: 3.714 MB / 0.6505 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04174/0.9485, allocations: 18.18 MB / 0.6683 GB, free: 10.39 MB / 0.4981 GB 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.7413/1.69, allocations: 74.5 MB / 0.741 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/1.708, allocations: 7.44 MB / 0.7483 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006484/1.715, allocations: 4.099 MB / 0.7523 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03216/1.747, allocations: 18.18 MB / 0.7701 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/1.747, allocations: 62.84 kB / 0.7701 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 6.332e-06/1.747, allocations: 1.875 kB / 0.7701 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.1191/1.866, allocations: 36.16 MB / 0.8054 GB, free: 96.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/1.867, allocations: 200.8 kB / 0.8056 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/1.879, allocations: 6.431 MB / 0.8119 GB, free: 89.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.88, allocations: 87.97 kB / 0.812 GB, free: 89.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004354/1.885, allocations: 5.363 MB / 0.8172 GB, free: 84.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002654/1.887, allocations: 1.548 MB / 0.8187 GB, free: 82.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/1.889, allocations: 220.5 kB / 0.8189 GB, free: 82.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0008926/1.89, allocations: 0.761 MB / 0.8197 GB, free: 81.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008732/1.899, allocations: 4.292 MB / 0.8239 GB, free: 77.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01094/1.91, allocations: 10.24 MB / 0.8339 GB, free: 64.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009301/1.919, allocations: 6.478 MB / 0.8402 GB, free: 58.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/1.92, allocations: 64 kB / 0.8403 GB, free: 57.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.02937/1.949, allocations: 16.26 MB / 0.8561 GB, free: 41.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/1.949, allocations: 96.94 kB / 0.8562 GB, free: 41.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002063/1.949, allocations: 204 kB / 0.8564 GB, free: 41.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006611/1.956, allocations: 2.414 MB / 0.8588 GB, free: 38.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008573/1.965, allocations: 2.457 MB / 0.8612 GB, free: 36.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/1.981, allocations: 11.91 MB / 0.8728 GB, free: 24.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009773/1.991, allocations: 0.5853 MB / 0.8734 GB, free: 23.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003042/1.994, allocations: 0.5976 MB / 0.874 GB, free: 23.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1316): * Single equations (assignments): 1309 * Array equations: 6 * 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 prepare postOptimizeDAE: time 0.009525/2.003, allocations: 3.776 MB / 0.8777 GB, free: 19.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002005/2.005, allocations: 0.59 MB / 0.8782 GB, free: 18.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02056/2.026, allocations: 8.31 MB / 0.8864 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/2.026, allocations: 63.98 kB / 0.8864 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.641e-05/2.026, allocations: 8 kB / 0.8864 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.214e-05/2.026, allocations: 19.94 kB / 0.8864 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04797/2.074, allocations: 18.93 MB / 0.9049 GB, free: 7.168 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-05/2.074, allocations: 15.94 kB / 0.9049 GB, free: 7.152 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003315/2.078, allocations: 0.624 MB / 0.9056 GB, free: 6.527 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006768/2.085, allocations: 1.819 MB / 0.9073 GB, free: 4.703 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008543/2.085, allocations: 76 kB / 0.9074 GB, free: 4.629 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3959/2.481, allocations: 9.985 MB / 0.9172 GB, free: 180 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.986e-05/2.482, allocations: 20.48 kB / 0.9172 GB, free: 180 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02784/2.509, allocations: 12.44 MB / 0.9293 GB, free: 175.5 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/2.512, allocations: 0.6326 MB / 0.9299 GB, free: 175.3 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/2.513, allocations: 83.7 kB / 0.93 GB, free: 175.3 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/2.516, allocations: 203.6 kB / 0.9302 GB, free: 175.2 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006641/2.516, allocations: 260.8 kB / 0.9305 GB, free: 175.2 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002658/2.517, allocations: 116.6 kB / 0.9306 GB, free: 175.2 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.007494/2.524, allocations: 3.99 MB / 0.9345 GB, free: 173.9 MB / 0.5451 GB Notification: Performance of sort global known variables: time 2.194e-06/2.524, allocations: 3.906 kB / 0.9345 GB, free: 173.9 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.01304/2.537, allocations: 1.957 MB / 0.9364 GB, free: 173.6 MB / 0.5451 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * Array equations: 6 * 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%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/2.538, allocations: 269 kB / 0.9366 GB, free: 173.5 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01739/2.556, allocations: 10.06 MB / 0.9465 GB, free: 169.8 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/2.556, allocations: 3.906 kB / 0.9465 GB, free: 169.8 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.005793/2.562, allocations: 3.373 MB / 0.9498 GB, free: 168.5 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008683/2.57, allocations: 0.7738 MB / 0.9505 GB, free: 168.1 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04922/2.62, allocations: 21.7 MB / 0.9717 GB, free: 150.7 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009775/2.63, allocations: 5.563 MB / 0.9771 GB, free: 146.3 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002445/2.632, allocations: 499.4 kB / 0.9776 GB, free: 145.8 MB / 0.5451 GB Notification: Performance of SimCode: time 2.074e-06/2.632, allocations: 0 / 0.9776 GB, free: 145.8 MB / 0.5451 GB Notification: Performance of Templates: time 0.5214/3.153, allocations: 140.4 MB / 1.115 GB, free: 174.9 MB / 0.5451 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSRCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSRCalcHelperMain.o] Error 1