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.00116/0.001161, allocations: 103 kB / 16.52 MB, free: 6.664 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.001055/0.001055, allocations: 199.7 kB / 17.44 MB, free: 6.059 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.863/1.863, allocations: 205.1 MB / 223.3 MB, free: 12.52 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.269/0.269, allocations: 43.51 MB / 314.1 MB, free: 0.7695 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.001768/0.001768, allocations: 70.45 kB / 382.7 MB, free: 57.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1572, allocations: 57.79 MB / 440.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.06191/0.2192, allocations: 62.43 MB / 0.4911 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.037/0.2563, allocations: 12.95 MB / 0.5038 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01679/0.2732, allocations: 275.3 kB / 0.504 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007997/0.2812, allocations: 3.74 MB / 0.5077 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007743/0.289, allocations: 2.055 MB / 0.5097 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.2924, allocations: 1.002 MB / 0.5107 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0132/0.3056, allocations: 8.656 MB / 0.5191 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007404/0.3131, allocations: 4.44 MB / 0.5234 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004664/0.3178, allocations: 1.822 MB / 0.5252 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00628/0.3241, allocations: 2.948 MB / 0.5281 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001835/0.326, allocations: 300 kB / 0.5284 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.33, allocations: 1.396 MB / 0.5298 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.4051/0.7351, allocations: 2.362 MB / 0.5321 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008055/0.7432, allocations: 2.676 MB / 0.5347 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.7574, allocations: 6.938 MB / 0.5414 GB, free: 10.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.7574, allocations: 0 / 0.5414 GB, free: 10.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.7575, allocations: 0 / 0.5414 GB, free: 10.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004792/0.758, allocations: 1.062 kB / 0.5414 GB, free: 10.52 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.02787/0.7858, allocations: 6.261 MB / 0.5476 GB, free: 8.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.7859, allocations: 10.12 kB / 0.5476 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/0.8003, allocations: 2.523 MB / 0.55 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.8131, allocations: 4.045 MB / 0.554 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/0.8135, allocations: 281.3 kB / 0.5543 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002602/0.8161, allocations: 381.2 kB / 0.5546 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03675/0.8529, allocations: 12.01 MB / 0.5663 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000304/0.8532, allocations: 57.34 kB / 0.5664 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009785/0.8542, allocations: 182.2 kB / 0.5666 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003834/0.8581, allocations: 2.141 MB / 0.5687 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.8813, allocations: 10.37 MB / 0.5788 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07201/0.9533, allocations: 47.51 MB / 0.6252 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01511/0.9685, allocations: 5.843 MB / 0.6309 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004005/0.9725, allocations: 2.961 MB / 0.6338 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01522/0.9878, allocations: 8.864 MB / 0.6424 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.57e-05/0.9879, allocations: 58.59 kB / 0.6425 GB, free: 1.688 MB / 478.1 MB Notification: Performance of pre-optimization done (n=206): time 6.853e-06/0.9879, allocations: 0 / 0.6425 GB, free: 1.688 MB / 478.1 MB Notification: Performance of matching and sorting (n=262): time 0.1235/1.111, allocations: 34.99 MB / 0.6767 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/1.112, allocations: 209.9 kB / 0.6769 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008951/1.121, allocations: 4.801 MB / 0.6816 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009687/1.122, allocations: 65.27 kB / 0.6816 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003321/1.125, allocations: 3.544 MB / 0.6851 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001889/1.127, allocations: 0.9711 MB / 0.686 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002378/1.129, allocations: 1.433 MB / 0.6874 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.129, allocations: 301.1 kB / 0.6877 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005105/1.135, allocations: 3.172 MB / 0.6908 GB, free: 244 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008102/1.143, allocations: 7.045 MB / 0.6977 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01604/1.159, allocations: 10.95 MB / 0.7084 GB, free: 11.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001544/1.159, allocations: 36 kB / 0.7084 GB, free: 11.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03195/1.191, allocations: 13.76 MB / 0.7219 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/1.191, allocations: 60 kB / 0.7219 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/1.191, allocations: 136 kB / 0.722 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01287/1.204, allocations: 4.387 MB / 0.7263 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005954/1.21, allocations: 1.48 MB / 0.7278 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4707/1.681, allocations: 26.83 MB / 0.754 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008328/1.689, allocations: 405.7 kB / 0.7544 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/1.691, allocations: 411.5 kB / 0.7548 GB, free: 155.3 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.006818/1.698, allocations: 2.485 MB / 0.7572 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/1.7, allocations: 438.5 kB / 0.7576 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01725/1.717, allocations: 8.484 MB / 0.7659 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.761e-05/1.717, allocations: 26.31 kB / 0.7659 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.306e-05/1.717, allocations: 16.44 kB / 0.7659 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-05/1.717, allocations: 14.47 kB / 0.7659 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03587/1.753, allocations: 17.08 MB / 0.7826 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.65e-05/1.753, allocations: 8.062 kB / 0.7826 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/1.755, allocations: 307.8 kB / 0.7829 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01127/1.766, allocations: 4.094 MB / 0.7869 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006975/1.767, allocations: 50.34 kB / 0.787 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03264/1.799, allocations: 25.65 MB / 0.812 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/1.799, allocations: 6.812 kB / 0.812 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02316/1.823, allocations: 12.42 MB / 0.8242 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003446/1.826, allocations: 0.9677 MB / 0.8251 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/1.828, allocations: 44 kB / 0.8251 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003665/1.832, allocations: 174.3 kB / 0.8253 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/1.833, allocations: 197.9 kB / 0.8255 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004829/1.834, allocations: 68 kB / 0.8256 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007718/1.841, allocations: 3.033 MB / 0.8285 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.41e-07/1.841, allocations: 0 / 0.8285 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01346/1.855, allocations: 1.469 MB / 0.83 GB, free: 101.4 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.001494/1.856, allocations: 180.3 kB / 0.8301 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01677/1.873, allocations: 8.437 MB / 0.8384 GB, free: 93.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/1.873, allocations: 0.9375 kB / 0.8384 GB, free: 93.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006595/1.88, allocations: 3.563 MB / 0.8419 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006883/1.887, allocations: 0.5574 MB / 0.8424 GB, free: 89.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03465/1.921, allocations: 15.47 MB / 0.8575 GB, free: 73.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004691/1.926, allocations: 3.901 MB / 0.8613 GB, free: 69.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/1.928, allocations: 323.4 kB / 0.8616 GB, free: 69.32 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.928, allocations: 5.312 kB / 0.8616 GB, free: 69.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.4751/2.403, allocations: 142 MB / 1 GB, free: 199.1 MB / 0.5762 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