Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 104.1 kB / 16.52 MB, free: 6.676 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.001659/0.001659, allocations: 199.5 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.966/1.966, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2696/0.2696, allocations: 43.52 MB / 314.1 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.001453/0.001453, allocations: 71.27 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1524, allocations: 57.79 MB / 440.5 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.05405/0.2065, allocations: 53.49 MB / 494 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03736/0.2439, allocations: 11.23 MB / 0.4933 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01601/0.26, allocations: 231.4 kB / 0.4936 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008008/0.2681, allocations: 3.136 MB / 0.4966 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009104/0.2773, allocations: 2.41 MB / 0.499 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.2806, allocations: 0.9166 MB / 0.4999 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01541/0.296, allocations: 9.432 MB / 0.5091 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00996/0.3061, allocations: 4.291 MB / 0.5133 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005832/0.312, allocations: 1.985 MB / 0.5152 GB, free: 60 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00696/0.319, allocations: 3.439 MB / 0.5186 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002253/0.3213, allocations: 332 kB / 0.5189 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.3264, allocations: 1.424 MB / 0.5203 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006058/0.3325, allocations: 2.766 MB / 0.523 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008503/0.341, allocations: 3.125 MB / 0.526 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4032/0.7442, allocations: 8.156 MB / 0.534 GB, free: 16.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.7443, allocations: 0 / 0.534 GB, free: 16.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.7443, allocations: 1.375 kB / 0.534 GB, free: 16.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000482/0.7448, allocations: 0 / 0.534 GB, free: 16.13 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02619/0.771, allocations: 7.334 MB / 0.5412 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.7711, allocations: 8.25 kB / 0.5412 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01788/0.789, allocations: 3.926 MB / 0.545 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/0.8031, allocations: 4.223 MB / 0.5491 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005313/0.8036, allocations: 321 kB / 0.5494 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003649/0.8073, allocations: 436.2 kB / 0.5498 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04233/0.8496, allocations: 15.73 MB / 0.5652 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000626/0.8503, allocations: 58.34 kB / 0.5653 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003815/0.8541, allocations: 209.5 kB / 0.5655 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006444/0.8606, allocations: 3.218 MB / 0.5686 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03424/0.8949, allocations: 14.16 MB / 0.5824 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1092/1.004, allocations: 57.77 MB / 0.6389 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01516/1.019, allocations: 6.602 MB / 0.6453 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006178/1.026, allocations: 3.76 MB / 0.649 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02748/1.053, allocations: 14.79 MB / 0.6634 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.937e-05/1.053, allocations: 66.98 kB / 0.6635 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=292): time 9.127e-06/1.053, allocations: 0 / 0.6635 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342): time 0.1547/1.208, allocations: 42.54 MB / 0.705 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/1.208, allocations: 213.1 kB / 0.7052 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01226/1.221, allocations: 5.5 MB / 0.7106 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001197/1.222, allocations: 72.83 kB / 0.7107 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00426/1.226, allocations: 4.341 MB / 0.7149 GB, free: 9.301 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002576/1.229, allocations: 1.263 MB / 0.7161 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003459/1.232, allocations: 1.867 MB / 0.718 GB, free: 6.172 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.232, allocations: 305.1 kB / 0.7183 GB, free: 5.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007858/1.24, allocations: 4.839 MB / 0.723 GB, free: 1.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01322/1.253, allocations: 9.818 MB / 0.7326 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3952/1.649, allocations: 15.63 MB / 0.7478 GB, free: 218.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002215/1.649, allocations: 49.56 kB / 0.7479 GB, free: 218.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.05018/1.699, allocations: 19.61 MB / 0.767 GB, free: 212.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/1.699, allocations: 75.75 kB / 0.7671 GB, free: 212.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002776/1.7, allocations: 175.1 kB / 0.7673 GB, free: 212.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02104/1.721, allocations: 5.937 MB / 0.7731 GB, free: 210.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007534/1.728, allocations: 2.126 MB / 0.7752 GB, free: 210.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02764/1.756, allocations: 24.77 MB / 0.7993 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009117/1.765, allocations: 0.5611 MB / 0.7999 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001838/1.767, allocations: 0.5095 MB / 0.8004 GB, free: 184.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * 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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005854/1.773, allocations: 3.112 MB / 0.8034 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/1.774, allocations: 497.5 kB / 0.8039 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02867/1.803, allocations: 13.02 MB / 0.8166 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001273/1.803, allocations: 59.98 kB / 0.8167 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.193e-05/1.803, allocations: 8 kB / 0.8167 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/1.803, allocations: 11.95 kB / 0.8167 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04878/1.852, allocations: 24.69 MB / 0.8408 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.954e-05/1.852, allocations: 4 kB / 0.8408 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003361/1.856, allocations: 0.5905 MB / 0.8414 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0178/1.874, allocations: 4.965 MB / 0.8462 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009639/1.875, allocations: 59.38 kB / 0.8463 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02284/1.897, allocations: 19.97 MB / 0.8658 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/1.897, allocations: 7.938 kB / 0.8658 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03314/1.931, allocations: 17.59 MB / 0.883 GB, free: 99.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003588/1.934, allocations: 1.248 MB / 0.8842 GB, free: 98.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001313/1.936, allocations: 63.92 kB / 0.8843 GB, free: 98.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003436/1.939, allocations: 263.3 kB / 0.8845 GB, free: 97.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009893/1.94, allocations: 201.5 kB / 0.8847 GB, free: 97.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003074/1.94, allocations: 84 kB / 0.8848 GB, free: 97.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005946/1.946, allocations: 3.42 MB / 0.8881 GB, free: 94.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.946, allocations: 0 / 0.8881 GB, free: 94.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009543/1.956, allocations: 1.767 MB / 0.8898 GB, free: 92.41 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 (257): * Single equations (assignments): 249 * Array equations: 6 * 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 {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007069/1.957, allocations: 201.3 kB / 0.89 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01483/1.971, allocations: 11 MB / 0.9008 GB, free: 81.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.971, allocations: 0 / 0.9008 GB, free: 81.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005523/1.977, allocations: 4.136 MB / 0.9048 GB, free: 77.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006654/1.984, allocations: 0.5907 MB / 0.9054 GB, free: 76.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03448/2.018, allocations: 19.86 MB / 0.9248 GB, free: 56.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005437/2.024, allocations: 4.607 MB / 0.9293 GB, free: 51.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002407/2.026, allocations: 411.4 kB / 0.9297 GB, free: 51.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/2.026, allocations: 3.938 kB / 0.9297 GB, free: 51.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.5019/2.528, allocations: 150 MB / 1.076 GB, free: 122.7 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSphericalCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.o] Error 1