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.001194/0.001194, allocations: 93.38 kB / 16.67 MB, free: 6.586 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.001298/0.001298, allocations: 178.9 kB / 17.57 MB, free: 6.191 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.009/2.009, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.239/0.239, allocations: 43.58 MB / 315.6 MB, free: 432 kB / 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.0005835/0.0005834, allocations: 23.73 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1578, allocations: 58.87 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.05902/0.2169, allocations: 61.55 MB / 0.4938 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03977/0.2567, allocations: 13.16 MB / 0.5066 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01424/0.2709, allocations: 275.3 kB / 0.5069 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.274, allocations: 0.7269 MB / 0.5076 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.2853, allocations: 2.865 MB / 0.5104 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.2888, allocations: 1.385 MB / 0.5118 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01671/0.3055, allocations: 12.01 MB / 0.5235 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01446/0.3201, allocations: 8.686 MB / 0.532 GB, free: 80 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.398/0.7181, allocations: 2.261 MB / 0.5342 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01088/0.729, allocations: 4.011 MB / 0.5381 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003319/0.7324, allocations: 292.7 kB / 0.5384 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007447/0.7398, allocations: 1.55 MB / 0.5399 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008496/0.7484, allocations: 3.336 MB / 0.5432 GB, free: 8.582 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01312/0.7615, allocations: 3.74 MB / 0.5468 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01887/0.7805, allocations: 10.48 MB / 0.557 GB, free: 6.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.7805, allocations: 3.062 kB / 0.557 GB, free: 6.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.7806, allocations: 3.75 kB / 0.557 GB, free: 6.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008919/0.7815, allocations: 0 / 0.557 GB, free: 6.098 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.02862/0.8101, allocations: 7.428 MB / 0.5643 GB, free: 1.691 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.8102, allocations: 11.12 kB / 0.5643 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01978/0.83, allocations: 4.222 MB / 0.5684 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/0.8468, allocations: 5.285 MB / 0.5736 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007133/0.8476, allocations: 438.9 kB / 0.574 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004466/0.8521, allocations: 0.6026 MB / 0.5746 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05472/0.9068, allocations: 20.68 MB / 0.5948 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003762/0.9072, allocations: 80.61 kB / 0.5949 GB, free: 4.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/0.9088, allocations: 269.8 kB / 0.5951 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006559/0.9154, allocations: 3.71 MB / 0.5987 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0495/0.9649, allocations: 18.26 MB / 0.6166 GB, free: 14.68 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.1343/1.099, allocations: 74.56 MB / 0.6894 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02074/1.12, allocations: 7.454 MB / 0.6967 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007271/1.127, allocations: 4.105 MB / 0.7007 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03935/1.167, allocations: 18.19 MB / 0.7184 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.598e-05/1.167, allocations: 60.59 kB / 0.7185 GB, free: 4.375 MB / 0.545 GB Notification: Performance of pre-optimization done (n=335): time 9.258e-06/1.167, allocations: 0 / 0.7185 GB, free: 4.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=419): time 0.5307/1.698, allocations: 35.42 MB / 0.7531 GB, free: 220.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.698, allocations: 198 kB / 0.7533 GB, free: 220.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/1.708, allocations: 6.509 MB / 0.7596 GB, free: 218.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/1.709, allocations: 88.02 kB / 0.7597 GB, free: 218.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003675/1.713, allocations: 5.368 MB / 0.765 GB, free: 214.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002102/1.715, allocations: 1.545 MB / 0.7665 GB, free: 213.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/1.716, allocations: 0.9153 MB / 0.7674 GB, free: 212.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.089e-05/1.717, allocations: 312.6 kB / 0.7677 GB, free: 212.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006051/1.723, allocations: 4.33 MB / 0.7719 GB, free: 211.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009383/1.732, allocations: 10.28 MB / 0.7819 GB, free: 201.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/1.749, allocations: 15.68 MB / 0.7972 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002131/1.75, allocations: 60 kB / 0.7973 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03613/1.786, allocations: 16.36 MB / 0.8133 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003366/1.786, allocations: 92 kB / 0.8134 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005142/1.787, allocations: 212.1 kB / 0.8136 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007832/1.795, allocations: 2.369 MB / 0.8159 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00884/1.803, allocations: 2.461 MB / 0.8183 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/1.823, allocations: 11.92 MB / 0.8299 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01226/1.836, allocations: 0.5827 MB / 0.8305 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002951/1.839, allocations: 0.599 MB / 0.8311 GB, free: 157.5 MB / 0.5606 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 (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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01145/1.85, allocations: 3.78 MB / 0.8348 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002938/1.853, allocations: 0.5939 MB / 0.8353 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0197/1.873, allocations: 8.329 MB / 0.8435 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-05/1.873, allocations: 61.78 kB / 0.8435 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.503e-05/1.873, allocations: 8 kB / 0.8435 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-05/1.873, allocations: 24.41 kB / 0.8436 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04943/1.922, allocations: 18.96 MB / 0.8621 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-05/1.923, allocations: 12 kB / 0.8621 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00317/1.926, allocations: 0.624 MB / 0.8627 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006427/1.932, allocations: 1.813 MB / 0.8645 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000849/1.933, allocations: 82.28 kB / 0.8645 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/1.948, allocations: 10.02 MB / 0.8743 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/1.948, allocations: 19.94 kB / 0.8744 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02403/1.972, allocations: 12.47 MB / 0.8865 GB, free: 99.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004726/1.977, allocations: 1.176 MB / 0.8877 GB, free: 98.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002941/1.98, allocations: 79.98 kB / 0.8878 GB, free: 98.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005484/1.986, allocations: 203.8 kB / 0.888 GB, free: 98.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/1.987, allocations: 269.7 kB / 0.8882 GB, free: 98.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007202/1.988, allocations: 119.5 kB / 0.8883 GB, free: 97.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.01096/1.999, allocations: 4.044 MB / 0.8923 GB, free: 93.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.283e-06/1.999, allocations: 4 kB / 0.8923 GB, free: 93.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01693/2.016, allocations: 1.957 MB / 0.8942 GB, free: 92 MB / 0.5606 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 (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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002217/2.018, allocations: 288.4 kB / 0.8945 GB, free: 91.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01995/2.038, allocations: 10.12 MB / 0.9043 GB, free: 81.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/2.038, allocations: 8.688 kB / 0.9044 GB, free: 81.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006378/2.044, allocations: 3.394 MB / 0.9077 GB, free: 78.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02151/2.066, allocations: 0.7669 MB / 0.9084 GB, free: 77.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05053/2.117, allocations: 22.54 MB / 0.9304 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0109/2.128, allocations: 5.58 MB / 0.9359 GB, free: 49.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002859/2.13, allocations: 491.4 kB / 0.9363 GB, free: 48.61 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/2.13, allocations: 4 kB / 0.9363 GB, free: 48.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.5907/2.721, allocations: 140.1 MB / 1.073 GB, free: 110.4 MB / 0.5606 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++ -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.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