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.001464/0.001464, allocations: 107.2 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.001516/0.001516, 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.859/1.859, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.2699/0.2699, allocations: 43.52 MB / 314.1 MB, free: 0.7461 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.001569/0.001569, allocations: 66.58 kB / 382.7 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1593, allocations: 57.8 MB / 440.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.06207/0.2215, allocations: 63.16 MB / 0.4918 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04027/0.2618, allocations: 13.24 MB / 0.5047 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01927/0.2811, allocations: 275.3 kB / 0.505 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.292, allocations: 4.551 MB / 0.5095 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.3032, allocations: 2.861 MB / 0.5123 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.3076, allocations: 1.381 MB / 0.5136 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01866/0.3263, allocations: 12.01 MB / 0.5253 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4048/0.7312, allocations: 6.307 MB / 0.5315 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007458/0.7387, allocations: 2.658 MB / 0.5341 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009439/0.7482, allocations: 4.511 MB / 0.5385 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002725/0.7509, allocations: 460.5 kB / 0.5389 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006011/0.757, allocations: 1.709 MB / 0.5406 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005883/0.7629, allocations: 3.566 MB / 0.5441 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01204/0.7749, allocations: 4.018 MB / 0.548 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01661/0.7915, allocations: 10.73 MB / 0.5585 GB, free: 4.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.7916, allocations: 0.5312 kB / 0.5585 GB, free: 4.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7916, allocations: 0.5938 kB / 0.5585 GB, free: 4.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006923/0.7923, allocations: 0 / 0.5585 GB, free: 4.121 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.03831/0.8306, allocations: 9.062 MB / 0.5673 GB, free: 15.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.8307, allocations: 8.562 kB / 0.5673 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01989/0.8506, allocations: 4.103 MB / 0.5713 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/0.8688, allocations: 5.3 MB / 0.5765 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001074/0.87, allocations: 435.3 kB / 0.5769 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005673/0.8757, allocations: 0.5986 MB / 0.5775 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06137/0.9371, allocations: 20.63 MB / 0.5977 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007687/0.9379, allocations: 75.59 kB / 0.5977 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005006/0.9429, allocations: 272.9 kB / 0.598 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008362/0.9513, allocations: 3.709 MB / 0.6016 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04859/1, allocations: 18.2 MB / 0.6194 GB, free: 7.973 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.1409/1.141, allocations: 74.62 MB / 0.6923 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02062/1.162, allocations: 7.466 MB / 0.6996 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00779/1.169, allocations: 4.108 MB / 0.7036 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04363/1.213, allocations: 18.22 MB / 0.7214 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.741e-05/1.213, allocations: 63.22 kB / 0.7214 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=335): time 1.091e-05/1.213, allocations: 4 kB / 0.7214 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.4949/1.708, allocations: 35.1 MB / 0.7557 GB, free: 219.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.708, allocations: 191.7 kB / 0.7559 GB, free: 219.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/1.719, allocations: 6.51 MB / 0.7622 GB, free: 217.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00108/1.72, allocations: 86.5 kB / 0.7623 GB, free: 217.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00379/1.724, allocations: 5.377 MB / 0.7676 GB, free: 213.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002332/1.726, allocations: 1.545 MB / 0.7691 GB, free: 212.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003056/1.729, allocations: 2.13 MB / 0.7712 GB, free: 211.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/1.729, allocations: 305.1 kB / 0.7715 GB, free: 211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00617/1.735, allocations: 4.333 MB / 0.7757 GB, free: 209.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01127/1.747, allocations: 10.28 MB / 0.7857 GB, free: 200.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01967/1.766, allocations: 15.67 MB / 0.801 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005159/1.767, allocations: 56 kB / 0.8011 GB, free: 183 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.04079/1.808, allocations: 16.35 MB / 0.8171 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004139/1.808, allocations: 99.94 kB / 0.8172 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005937/1.809, allocations: 204 kB / 0.8173 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008083/1.817, allocations: 2.373 MB / 0.8197 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009381/1.826, allocations: 2.464 MB / 0.8221 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/1.846, allocations: 11.9 MB / 0.8337 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0144/1.86, allocations: 0.5825 MB / 0.8343 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003611/1.864, allocations: 0.5993 MB / 0.8348 GB, free: 150.1 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.01249/1.876, allocations: 3.775 MB / 0.8385 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00268/1.879, allocations: 0.5977 MB / 0.8391 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02084/1.9, allocations: 8.327 MB / 0.8472 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001169/1.9, allocations: 69.17 kB / 0.8473 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.738e-05/1.9, allocations: 12 kB / 0.8473 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001146/1.9, allocations: 19.94 kB / 0.8473 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04925/1.95, allocations: 18.97 MB / 0.8659 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.757e-05/1.95, allocations: 12 kB / 0.8659 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003113/1.953, allocations: 0.6279 MB / 0.8665 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006404/1.959, allocations: 1.806 MB / 0.8683 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009421/1.96, allocations: 82.8 kB / 0.8683 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/1.976, allocations: 9.99 MB / 0.8781 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/1.976, allocations: 26.69 kB / 0.8781 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02511/2.001, allocations: 12.46 MB / 0.8903 GB, free: 92.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004465/2.006, allocations: 1.169 MB / 0.8914 GB, free: 91.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002657/2.008, allocations: 78.56 kB / 0.8915 GB, free: 91.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004697/2.013, allocations: 199.8 kB / 0.8917 GB, free: 91.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/2.014, allocations: 265.7 kB / 0.8919 GB, free: 90.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006489/2.015, allocations: 122 kB / 0.8921 GB, free: 90.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.009303/2.024, allocations: 4.052 MB / 0.896 GB, free: 86.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.31e-07/2.024, allocations: 0 / 0.896 GB, free: 86.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01663/2.041, allocations: 1.956 MB / 0.8979 GB, free: 84.67 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.002266/2.043, allocations: 291.2 kB / 0.8982 GB, free: 84.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0188/2.062, allocations: 10.12 MB / 0.9081 GB, free: 74.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/2.062, allocations: 0 / 0.9081 GB, free: 74.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006076/2.068, allocations: 3.397 MB / 0.9114 GB, free: 70.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009229/2.077, allocations: 0.759 MB / 0.9121 GB, free: 70.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04779/2.125, allocations: 22.47 MB / 0.9341 GB, free: 47.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008909/2.134, allocations: 5.57 MB / 0.9395 GB, free: 41.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002422/2.136, allocations: 495.4 kB / 0.94 GB, free: 41.36 MB / 0.5606 GB Notification: Performance of SimCode: time 1.363e-06/2.137, allocations: 0 / 0.94 GB, free: 41.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.5308/2.667, allocations: 141.6 MB / 1.078 GB, free: 103.9 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