Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 91.19 kB / 16.67 MB, free: 6.105 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.001669/0.001669, allocations: 176.8 kB / 17.57 MB, free: 5.824 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.05/2.05, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2697/0.2697, allocations: 43.58 MB / 315.6 MB, free: 424 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.0008088/0.0008088, allocations: 16.95 kB / 385.2 MB, free: 56.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1332, allocations: 58.87 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.05962/0.1929, allocations: 60.88 MB / 0.4931 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0392/0.2322, allocations: 12.89 MB / 0.5057 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.017/0.2492, allocations: 279.2 kB / 0.506 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.252, allocations: 0.4936 MB / 0.5065 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008269/0.2603, allocations: 2.063 MB / 0.5085 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003402/0.2637, allocations: 1.006 MB / 0.5095 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.279, allocations: 8.653 MB / 0.5179 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.2907, allocations: 6.326 MB / 0.5241 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003854/0.2946, allocations: 1.517 MB / 0.5256 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005077/0.2997, allocations: 2.589 MB / 0.5281 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.3008, allocations: 176 kB / 0.5283 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003626/0.3045, allocations: 1.271 MB / 0.5295 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002755/0.3073, allocations: 2.205 MB / 0.5317 GB, free: 416 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4114/0.7187, allocations: 2.47 MB / 0.5341 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.7327, allocations: 6.785 MB / 0.5407 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.7328, allocations: 0 / 0.5407 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.7328, allocations: 2.344 kB / 0.5407 GB, free: 10.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000615/0.7334, allocations: 0.8438 kB / 0.5407 GB, free: 10.07 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.0223/0.7557, allocations: 5.171 MB / 0.5458 GB, free: 7.816 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.449e-05/0.7558, allocations: 8.594 kB / 0.5458 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/0.772, allocations: 2.577 MB / 0.5483 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/0.7858, allocations: 4.042 MB / 0.5522 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004344/0.7863, allocations: 282.2 kB / 0.5525 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/0.7886, allocations: 385.8 kB / 0.5529 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02941/0.818, allocations: 12.02 MB / 0.5646 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002333/0.8183, allocations: 65.98 kB / 0.5647 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005672/0.8189, allocations: 183.9 kB / 0.5648 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003628/0.8225, allocations: 2.135 MB / 0.5669 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/0.8477, allocations: 10.4 MB / 0.5771 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08677/0.9345, allocations: 47.53 MB / 0.6235 GB, free: 6.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01624/0.9508, allocations: 5.828 MB / 0.6292 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004189/0.9551, allocations: 2.976 MB / 0.6321 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01678/0.9719, allocations: 8.86 MB / 0.6407 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.003e-05/0.972, allocations: 62.95 kB / 0.6408 GB, free: 4.582 MB / 478.1 MB Notification: Performance of pre-optimization done (n=206): time 6.392e-06/0.972, allocations: 0 / 0.6408 GB, free: 4.582 MB / 478.1 MB Notification: Performance of matching and sorting (n=262): time 0.1314/1.103, allocations: 35.05 MB / 0.675 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002041/1.104, allocations: 209.9 kB / 0.6752 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/1.114, allocations: 4.795 MB / 0.6799 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009483/1.115, allocations: 61.7 kB / 0.68 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003925/1.119, allocations: 3.55 MB / 0.6834 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001873/1.121, allocations: 0.9736 MB / 0.6844 GB, free: 8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009887/1.122, allocations: 0.6032 MB / 0.685 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.122, allocations: 301.1 kB / 0.6853 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005422/1.127, allocations: 3.172 MB / 0.6884 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008348/1.136, allocations: 7.041 MB / 0.6952 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/1.152, allocations: 10.96 MB / 0.706 GB, free: 14.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001695/1.152, allocations: 38.62 kB / 0.706 GB, free: 14.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03584/1.188, allocations: 13.76 MB / 0.7194 GB, free: 1.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002825/1.188, allocations: 64 kB / 0.7195 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005086/1.189, allocations: 132 kB / 0.7196 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/1.203, allocations: 4.403 MB / 0.7239 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006458/1.21, allocations: 1.476 MB / 0.7254 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4402/1.65, allocations: 26.83 MB / 0.7516 GB, free: 223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008896/1.659, allocations: 417.6 kB / 0.752 GB, free: 222.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002039/1.661, allocations: 410.6 kB / 0.7523 GB, free: 222.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.007477/1.669, allocations: 2.478 MB / 0.7548 GB, free: 221.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001695/1.67, allocations: 436.1 kB / 0.7552 GB, free: 221.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01766/1.688, allocations: 8.489 MB / 0.7635 GB, free: 219.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-05/1.688, allocations: 28.61 kB / 0.7635 GB, free: 219.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.404e-05/1.688, allocations: 19.05 kB / 0.7635 GB, free: 219.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-05/1.688, allocations: 11.72 kB / 0.7635 GB, free: 219.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03475/1.723, allocations: 17.07 MB / 0.7802 GB, free: 209.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.35e-05/1.723, allocations: 7.984 kB / 0.7802 GB, free: 209.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/1.725, allocations: 300.8 kB / 0.7805 GB, free: 208.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01101/1.736, allocations: 4.106 MB / 0.7845 GB, free: 204.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005123/1.736, allocations: 51.73 kB / 0.7846 GB, free: 204.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03219/1.769, allocations: 25.65 MB / 0.8096 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/1.769, allocations: 6.625 kB / 0.8096 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0221/1.791, allocations: 12.44 MB / 0.8218 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003826/1.795, allocations: 0.9639 MB / 0.8227 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/1.796, allocations: 44 kB / 0.8227 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002799/1.799, allocations: 176.5 kB / 0.8229 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009956/1.8, allocations: 199.2 kB / 0.8231 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.8, allocations: 71.12 kB / 0.8232 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006226/1.806, allocations: 3.033 MB / 0.8261 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.51e-07/1.806, allocations: 1.641 kB / 0.8261 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01069/1.817, allocations: 1.464 MB / 0.8276 GB, free: 160.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/1.818, allocations: 186.1 kB / 0.8277 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01592/1.834, allocations: 8.42 MB / 0.836 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.968e-05/1.834, allocations: 0 / 0.836 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007313/1.842, allocations: 3.563 MB / 0.8394 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01028/1.852, allocations: 0.547 MB / 0.84 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03533/1.887, allocations: 15.53 MB / 0.8551 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005426/1.893, allocations: 3.899 MB / 0.8589 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001543/1.894, allocations: 327.4 kB / 0.8593 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.894, allocations: 0 / 0.8593 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.5525/2.447, allocations: 141 MB / 0.997 GB, free: 210 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversalCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversalCalcHelperMain.o] Error 1