Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_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.0007793/0.0007792, allocations: 91.38 kB / 16.33 MB, free: 6.395 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.000883/0.0008829, allocations: 181.8 kB / 17.22 MB, free: 6.289 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.515/1.515, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.2135/0.2135, allocations: 43.56 MB / 315.2 MB, free: 0.5586 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.0005013/0.0005013, allocations: 12.97 kB / 384.5 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1146, allocations: 58.86 MB / 443.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.04956/0.1642, allocations: 57.26 MB / 0.4889 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0318/0.1961, allocations: 12.56 MB / 0.5012 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01265/0.2088, allocations: 271.3 kB / 0.5014 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.22, allocations: 2.974 MB / 0.5043 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02755/0.2476, allocations: 9.007 MB / 0.5131 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006274/0.2539, allocations: 1.279 MB / 0.5144 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.3117/0.5656, allocations: 24.61 MB / 0.5384 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.5773, allocations: 7.847 MB / 0.5461 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/0.5822, allocations: 2.436 MB / 0.5485 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00629/0.5886, allocations: 3.98 MB / 0.5524 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001687/0.5903, allocations: 296.4 kB / 0.5526 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.594, allocations: 1.31 MB / 0.5539 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003901/0.5979, allocations: 3.274 MB / 0.5571 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002882/0.6008, allocations: 1.513 MB / 0.5586 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.613, allocations: 10.47 MB / 0.5688 GB, free: 8.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.613, allocations: 0 / 0.5688 GB, free: 8.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.6131, allocations: 7.984 kB / 0.5688 GB, free: 8.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004355/0.6135, allocations: 0 / 0.5688 GB, free: 8.133 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.01681/0.6303, allocations: 7.526 MB / 0.5762 GB, free: 1.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6304, allocations: 16.02 kB / 0.5762 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.6456, allocations: 4.201 MB / 0.5803 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.6558, allocations: 5.204 MB / 0.5854 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.6561, allocations: 431.2 kB / 0.5858 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.6577, allocations: 0.6053 MB / 0.5864 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/0.698, allocations: 20.63 MB / 0.6065 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/0.6983, allocations: 84.19 kB / 0.6066 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/0.6994, allocations: 269.5 kB / 0.6069 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005265/0.7047, allocations: 3.717 MB / 0.6105 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03644/0.7412, allocations: 18.16 MB / 0.6282 GB, free: 8.867 MB / 462.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.1004/0.8417, allocations: 74.53 MB / 0.701 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0172/0.8589, allocations: 7.45 MB / 0.7083 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005966/0.8649, allocations: 4.097 MB / 0.7123 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4925/1.357, allocations: 18.18 MB / 0.7301 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/1.358, allocations: 74.5 kB / 0.7301 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 5.961e-06/1.358, allocations: 0 / 0.7301 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.09993/1.457, allocations: 36.23 MB / 0.7655 GB, free: 171 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/1.458, allocations: 192.9 kB / 0.7657 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008175/1.466, allocations: 6.483 MB / 0.772 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008569/1.467, allocations: 85.53 kB / 0.7721 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002886/1.47, allocations: 5.362 MB / 0.7773 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001899/1.471, allocations: 1.552 MB / 0.7789 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/1.472, allocations: 212 kB / 0.7791 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004453/1.472, allocations: 0.7687 MB / 0.7798 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005773/1.478, allocations: 4.292 MB / 0.784 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009896/1.488, allocations: 10.24 MB / 0.794 GB, free: 139 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009738/1.498, allocations: 6.483 MB / 0.8003 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/1.498, allocations: 60 kB / 0.8004 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03031/1.528, allocations: 16.27 MB / 0.8163 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003204/1.529, allocations: 96 kB / 0.8164 GB, free: 116 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004111/1.529, allocations: 204 kB / 0.8166 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006934/1.536, allocations: 2.402 MB / 0.8189 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008586/1.545, allocations: 2.468 MB / 0.8213 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.563, allocations: 11.91 MB / 0.8329 GB, free: 98.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008412/1.571, allocations: 0.5823 MB / 0.8335 GB, free: 98.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002173/1.573, allocations: 0.6075 MB / 0.8341 GB, free: 97.74 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.008192/1.582, allocations: 3.77 MB / 0.8378 GB, free: 93.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/1.583, allocations: 0.59 MB / 0.8384 GB, free: 93.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.598, allocations: 8.305 MB / 0.8465 GB, free: 85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001018/1.599, allocations: 65.23 kB / 0.8465 GB, free: 84.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.637e-05/1.599, allocations: 12 kB / 0.8465 GB, free: 84.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.294e-05/1.599, allocations: 19.92 kB / 0.8466 GB, free: 84.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03408/1.633, allocations: 18.95 MB / 0.8651 GB, free: 65.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/1.633, allocations: 12 kB / 0.8651 GB, free: 65.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/1.635, allocations: 0.6248 MB / 0.8657 GB, free: 64.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00549/1.641, allocations: 1.814 MB / 0.8675 GB, free: 63.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004978/1.641, allocations: 83.5 kB / 0.8675 GB, free: 63.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/1.655, allocations: 9.998 MB / 0.8773 GB, free: 52.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/1.655, allocations: 19.88 kB / 0.8773 GB, free: 52.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/1.673, allocations: 12.43 MB / 0.8895 GB, free: 40.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/1.676, allocations: 1.173 MB / 0.8906 GB, free: 39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009793/1.677, allocations: 76 kB / 0.8907 GB, free: 38.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/1.68, allocations: 207.8 kB / 0.8909 GB, free: 38.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005051/1.68, allocations: 269.7 kB / 0.8911 GB, free: 38.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/1.68, allocations: 115.7 kB / 0.8912 GB, free: 38.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005805/1.686, allocations: 4.009 MB / 0.8952 GB, free: 34.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/1.686, allocations: 0 / 0.8952 GB, free: 34.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009303/1.695, allocations: 1.961 MB / 0.8971 GB, free: 32.39 MB / 0.5294 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.0007417/1.696, allocations: 265.6 kB / 0.8973 GB, free: 32.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2726/1.969, allocations: 10.06 MB / 0.9072 GB, free: 179 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/1.969, allocations: 8.078 kB / 0.9072 GB, free: 179 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006312/1.975, allocations: 3.375 MB / 0.9105 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004818/1.98, allocations: 0.7634 MB / 0.9112 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03873/2.019, allocations: 21.73 MB / 0.9324 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006/2.025, allocations: 5.565 MB / 0.9379 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/2.027, allocations: 497.3 kB / 0.9383 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.293e-06/2.027, allocations: 0 / 0.9383 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1744/2.201, allocations: 140.7 MB / 1.076 GB, free: 38.07 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSRCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSRCalcHelperMain.o] Error 1