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.001393/0.001393, allocations: 91.58 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.001368/0.001368, allocations: 179.3 kB / 17.57 MB, free: 5.82 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.061/2.061, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.262/0.262, allocations: 43.6 MB / 315.6 MB, free: 416 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.0005274/0.0005274, allocations: 15.69 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1347, allocations: 58.86 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.0502/0.185, allocations: 45.79 MB / 489.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03109/0.2161, allocations: 10.08 MB / 500 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01238/0.2285, allocations: 203.5 kB / 0.4884 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.2309, allocations: 453.7 kB / 0.4889 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007386/0.2383, allocations: 1.9 MB / 0.4907 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.2411, allocations: 0.8347 MB / 0.4915 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01138/0.2525, allocations: 7.463 MB / 0.4988 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009475/0.262, allocations: 4.676 MB / 0.5034 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004013/0.2661, allocations: 1.33 MB / 0.5047 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00531/0.2714, allocations: 2.422 MB / 0.5071 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.273, allocations: 176 kB / 0.5072 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003776/0.2768, allocations: 1.275 MB / 0.5085 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003616/0.2805, allocations: 1.987 MB / 0.5104 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005456/0.2859, allocations: 2.206 MB / 0.5126 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0098/0.2958, allocations: 6.032 MB / 0.5185 GB, free: 13.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.2958, allocations: 0 / 0.5185 GB, free: 13.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.2958, allocations: 0 / 0.5185 GB, free: 13.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004264/0.2963, allocations: 0 / 0.5185 GB, free: 13.98 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.01609/0.3124, allocations: 4.605 MB / 0.523 GB, free: 9.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.3125, allocations: 8.031 kB / 0.523 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.3255, allocations: 2.526 MB / 0.5254 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/0.3358, allocations: 3.461 MB / 0.5288 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/0.3362, allocations: 246.5 kB / 0.5291 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002757/0.339, allocations: 339.5 kB / 0.5294 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4406/0.7796, allocations: 10.9 MB / 0.54 GB, free: 22.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002989/0.78, allocations: 55.2 kB / 0.5401 GB, free: 22.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005857/0.7806, allocations: 154.7 kB / 0.5402 GB, free: 22.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004785/0.7854, allocations: 1.999 MB / 0.5422 GB, free: 22.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02663/0.812, allocations: 9.476 MB / 0.5514 GB, free: 22.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06052/0.8726, allocations: 41.26 MB / 0.5917 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.8843, allocations: 4.276 MB / 0.5959 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003108/0.8875, allocations: 1.915 MB / 0.5978 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01669/0.9042, allocations: 7.621 MB / 0.6052 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.694e-05/0.9043, allocations: 52.61 kB / 0.6053 GB, free: 15.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=180): time 5.26e-06/0.9043, allocations: 0 / 0.6053 GB, free: 15.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=236): time 0.1754/1.08, allocations: 41.46 MB / 0.6457 GB, free: 6.203 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/1.08, allocations: 217 kB / 0.646 GB, free: 5.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007323/1.087, allocations: 4.329 MB / 0.6502 GB, free: 1.598 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008273/1.088, allocations: 60.44 kB / 0.6502 GB, free: 1.535 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002958/1.091, allocations: 3.174 MB / 0.6533 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001521/1.093, allocations: 0.8822 MB / 0.6542 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008804/1.094, allocations: 0.5618 MB / 0.6547 GB, free: 12.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/1.094, allocations: 305.1 kB / 0.655 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005589/1.099, allocations: 3.628 MB / 0.6586 GB, free: 9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00881/1.108, allocations: 7.297 MB / 0.6657 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01717/1.125, allocations: 11.62 MB / 0.6771 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001498/1.126, allocations: 40 kB / 0.6771 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04372/1.169, allocations: 16.22 MB / 0.6929 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.169, allocations: 60 kB / 0.693 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/1.17, allocations: 128 kB / 0.6931 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02608/1.196, allocations: 6.255 MB / 0.6992 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006597/1.202, allocations: 1.492 MB / 0.7007 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04174/1.244, allocations: 26.19 MB / 0.7262 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007807/1.252, allocations: 411.3 kB / 0.7266 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001986/1.254, allocations: 388 kB / 0.727 GB, free: 0.6172 MB / 0.545 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.007017/1.261, allocations: 2.225 MB / 0.7292 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/1.263, allocations: 398.8 kB / 0.7296 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0342/1.297, allocations: 11.31 MB / 0.7406 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.374e-05/1.297, allocations: 28.09 kB / 0.7406 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-05/1.297, allocations: 8 kB / 0.7406 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.287e-05/1.297, allocations: 23.88 kB / 0.7407 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4372/1.735, allocations: 20.77 MB / 0.7609 GB, free: 222.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.438e-05/1.735, allocations: 3.938 kB / 0.761 GB, free: 222.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/1.737, allocations: 387.5 kB / 0.7613 GB, free: 222.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02117/1.758, allocations: 5.337 MB / 0.7665 GB, free: 221.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008291/1.759, allocations: 51.36 kB / 0.7666 GB, free: 221.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02778/1.787, allocations: 21.23 MB / 0.7873 GB, free: 209.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/1.787, allocations: 11.94 kB / 0.7873 GB, free: 209.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03203/1.819, allocations: 14.62 MB / 0.8016 GB, free: 194.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003396/1.823, allocations: 0.9865 MB / 0.8026 GB, free: 194.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/1.824, allocations: 42.42 kB / 0.8026 GB, free: 194.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/1.827, allocations: 187.7 kB / 0.8028 GB, free: 193.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00075/1.827, allocations: 154.6 kB / 0.8029 GB, free: 193.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/1.828, allocations: 62.69 kB / 0.803 GB, free: 193.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004503/1.832, allocations: 2.729 MB / 0.8057 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/1.832, allocations: 0 / 0.8057 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008769/1.841, allocations: 1.371 MB / 0.807 GB, free: 189.6 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 (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.0008405/1.842, allocations: 181.2 kB / 0.8072 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01392/1.856, allocations: 8.313 MB / 0.8153 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/1.856, allocations: 0 / 0.8153 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005779/1.862, allocations: 3.217 MB / 0.8184 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007247/1.869, allocations: 493.8 kB / 0.8189 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/1.892, allocations: 14.52 MB / 0.8331 GB, free: 163 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/1.896, allocations: 3.495 MB / 0.8365 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.897, allocations: 307.4 kB / 0.8368 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/1.897, allocations: 0 / 0.8368 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.1734/2.071, allocations: 108.9 MB / 0.9431 GB, free: 50.26 MB / 0.5606 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