Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 104.5 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.002259/0.002259, 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.88/1.88, allocations: 205.1 MB / 223.3 MB, free: 12.51 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.2677/0.2677, allocations: 43.53 MB / 314.2 MB, free: 0.7539 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.001921/0.001921, allocations: 69.61 kB / 382.7 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1558, allocations: 57.79 MB / 440.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.0446/0.2004, allocations: 47.05 MB / 487.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0323/0.2328, allocations: 10.15 MB / 497.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01388/0.2467, allocations: 207.4 kB / 497.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006395/0.2532, allocations: 2.712 MB / 0.4888 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007014/0.2603, allocations: 1.892 MB / 0.4907 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.2628, allocations: 0.8425 MB / 0.4915 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.2737, allocations: 7.452 MB / 0.4988 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005242/0.279, allocations: 3.308 MB / 0.502 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.2828, allocations: 1.537 MB / 0.5035 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004951/0.2878, allocations: 2.687 MB / 0.5062 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.2889, allocations: 264 kB / 0.5064 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.292, allocations: 1.357 MB / 0.5077 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002549/0.2946, allocations: 2.108 MB / 0.5098 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003254/0.2978, allocations: 2.341 MB / 0.5121 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007638/0.3055, allocations: 6.167 MB / 0.5181 GB, free: 13.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.3056, allocations: 0 / 0.5181 GB, free: 13.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3056, allocations: 3.938 kB / 0.5181 GB, free: 13.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003414/0.3059, allocations: 4 kB / 0.5181 GB, free: 13.11 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01907/0.325, allocations: 5.525 MB / 0.5235 GB, free: 7.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.633e-05/0.3251, allocations: 8.031 kB / 0.5235 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.3375, allocations: 2.475 MB / 0.5259 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.3482, allocations: 3.462 MB / 0.5293 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.3485, allocations: 238.5 kB / 0.5295 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001877/0.3504, allocations: 343.5 kB / 0.5299 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3731/0.7236, allocations: 10.88 MB / 0.5405 GB, free: 86.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000188/0.7238, allocations: 49.69 kB / 0.5405 GB, free: 86.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004619/0.7243, allocations: 159.6 kB / 0.5407 GB, free: 86.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003903/0.7282, allocations: 2.004 MB / 0.5426 GB, free: 86.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/0.7499, allocations: 9.439 MB / 0.5519 GB, free: 82.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04545/0.7954, allocations: 41.24 MB / 0.5921 GB, free: 40.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009463/0.8049, allocations: 4.274 MB / 0.5963 GB, free: 35.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.8072, allocations: 1.925 MB / 0.5982 GB, free: 33.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.8176, allocations: 7.616 MB / 0.6056 GB, free: 26.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.8177, allocations: 51.5 kB / 0.6057 GB, free: 25.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=180): time 5.64e-06/0.8177, allocations: 4 kB / 0.6057 GB, free: 25.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=236): time 0.1524/0.9702, allocations: 40.95 MB / 0.6457 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.9703, allocations: 209.9 kB / 0.6459 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006989/0.9773, allocations: 4.337 MB / 0.6501 GB, free: 12.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007139/0.9781, allocations: 61.7 kB / 0.6502 GB, free: 12.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.9807, allocations: 3.168 MB / 0.6533 GB, free: 9.012 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/0.9822, allocations: 0.883 MB / 0.6541 GB, free: 8.117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002163/0.9844, allocations: 1.356 MB / 0.6554 GB, free: 6.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9845, allocations: 313 kB / 0.6557 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005269/0.9898, allocations: 3.628 MB / 0.6593 GB, free: 2.809 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008334/0.9981, allocations: 7.298 MB / 0.6664 GB, free: 9.703 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/1.014, allocations: 11.62 MB / 0.6778 GB, free: 12.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001452/1.014, allocations: 36 kB / 0.6778 GB, free: 12.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04282/1.057, allocations: 16.2 MB / 0.6936 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002656/1.057, allocations: 60 kB / 0.6937 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003166/1.058, allocations: 128 kB / 0.6938 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02343/1.081, allocations: 6.229 MB / 0.6999 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005904/1.087, allocations: 1.493 MB / 0.7013 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.407/1.494, allocations: 26.15 MB / 0.7269 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007569/1.502, allocations: 409.9 kB / 0.7273 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.503, allocations: 390.3 kB / 0.7276 GB, free: 160.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (779): * Single equations (assignments): 774 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005562/1.509, allocations: 2.226 MB / 0.7298 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/1.51, allocations: 387.5 kB / 0.7302 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03118/1.542, allocations: 11.3 MB / 0.7412 GB, free: 157 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-05/1.542, allocations: 27.19 kB / 0.7412 GB, free: 157 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/1.542, allocations: 7.75 kB / 0.7412 GB, free: 157 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.01e-05/1.542, allocations: 14.83 kB / 0.7413 GB, free: 157 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04264/1.584, allocations: 20.71 MB / 0.7615 GB, free: 146.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.189e-05/1.584, allocations: 3.812 kB / 0.7615 GB, free: 146.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.587, allocations: 392.2 kB / 0.7619 GB, free: 146.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01903/1.606, allocations: 5.306 MB / 0.767 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006753/1.606, allocations: 44.69 kB / 0.7671 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02694/1.633, allocations: 21.19 MB / 0.7878 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/1.633, allocations: 14.81 kB / 0.7878 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03087/1.664, allocations: 14.61 MB / 0.8021 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003413/1.668, allocations: 0.9858 MB / 0.803 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/1.67, allocations: 40 kB / 0.8031 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003652/1.673, allocations: 182.3 kB / 0.8032 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/1.674, allocations: 159.9 kB / 0.8034 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005005/1.675, allocations: 60 kB / 0.8034 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006461/1.681, allocations: 2.728 MB / 0.8061 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.681, allocations: 0 / 0.8061 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008879/1.69, allocations: 1.376 MB / 0.8075 GB, free: 101.3 MB / 0.4981 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 (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007374/1.691, allocations: 178 kB / 0.8076 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01107/1.702, allocations: 8.322 MB / 0.8157 GB, free: 92.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.702, allocations: 0 / 0.8157 GB, free: 92.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004167/1.706, allocations: 3.217 MB / 0.8189 GB, free: 89.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/1.71, allocations: 479.3 kB / 0.8193 GB, free: 89.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.731, allocations: 14.45 MB / 0.8335 GB, free: 74.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003653/1.735, allocations: 3.501 MB / 0.8369 GB, free: 71.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/1.737, allocations: 299.4 kB / 0.8372 GB, free: 70.91 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/1.737, allocations: 0 / 0.8372 GB, free: 70.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.4434/2.18, allocations: 109.8 MB / 0.9444 GB, free: 159.5 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSphericalCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSphericalCalcHelperMain.o] Error 1