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.001337/0.001337, allocations: 92.75 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.001584/0.001584, allocations: 177.1 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 1.99/1.99, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.2429/0.2429, allocations: 43.6 MB / 315.6 MB, free: 412 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.0006194/0.0006194, allocations: 18.08 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1535, allocations: 58.87 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.05378/0.2074, allocations: 52.09 MB / 496.2 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03303/0.2404, allocations: 11.17 MB / 0.4955 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01337/0.2539, allocations: 227.4 kB / 0.4957 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.2563, allocations: 0.6143 MB / 0.4963 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007239/0.2635, allocations: 2.417 MB / 0.4986 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.266, allocations: 0.9127 MB / 0.4995 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01533/0.2813, allocations: 9.428 MB / 0.5087 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009304/0.2907, allocations: 5.826 MB / 0.5144 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.2943, allocations: 1.751 MB / 0.5161 GB, free: 364 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004354/0.2987, allocations: 3.161 MB / 0.5192 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007831/0.2995, allocations: 236 kB / 0.5194 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.3023, allocations: 1.334 MB / 0.5207 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002731/0.3051, allocations: 2.637 MB / 0.5233 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003581/0.3087, allocations: 2.978 MB / 0.5262 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3909/0.6996, allocations: 7.966 MB / 0.534 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.6996, allocations: 3.203 kB / 0.534 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.6996, allocations: 1.188 kB / 0.534 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005183/0.7002, allocations: 2.688 kB / 0.534 GB, free: 15.95 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.02174/0.7219, allocations: 6.094 MB / 0.54 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.722, allocations: 11.34 kB / 0.54 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02012/0.7421, allocations: 4.019 MB / 0.5439 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.7558, allocations: 4.223 MB / 0.548 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006021/0.7565, allocations: 322.2 kB / 0.5483 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003511/0.76, allocations: 437.1 kB / 0.5488 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03766/0.7977, allocations: 15.75 MB / 0.5641 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002509/0.798, allocations: 63.12 kB / 0.5642 GB, free: 9.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/0.7991, allocations: 208.7 kB / 0.5644 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005776/0.8049, allocations: 3.216 MB / 0.5675 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03078/0.8357, allocations: 14.19 MB / 0.5814 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1089/0.9446, allocations: 57.79 MB / 0.6378 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/0.9604, allocations: 6.602 MB / 0.6443 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006809/0.9673, allocations: 3.762 MB / 0.6479 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03592/1.003, allocations: 14.78 MB / 0.6624 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/1.003, allocations: 62.81 kB / 0.6624 GB, free: 120 kB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 1.205e-05/1.003, allocations: 0 / 0.6624 GB, free: 120 kB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.166/1.169, allocations: 42.83 MB / 0.7043 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/1.17, allocations: 220.3 kB / 0.7045 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/1.18, allocations: 5.492 MB / 0.7098 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00142/1.182, allocations: 73.7 kB / 0.7099 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004232/1.186, allocations: 4.348 MB / 0.7142 GB, free: 11.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002793/1.189, allocations: 1.265 MB / 0.7154 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001501/1.191, allocations: 0.7761 MB / 0.7161 GB, free: 9.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.191, allocations: 306.8 kB / 0.7164 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009134/1.2, allocations: 4.843 MB / 0.7212 GB, free: 3.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01525/1.215, allocations: 9.826 MB / 0.7308 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4222/1.637, allocations: 15.62 MB / 0.746 GB, free: 217.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003225/1.638, allocations: 48.88 kB / 0.7461 GB, free: 217.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.05647/1.694, allocations: 19.63 MB / 0.7652 GB, free: 211.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/1.694, allocations: 89.03 kB / 0.7653 GB, free: 211.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002509/1.695, allocations: 171.3 kB / 0.7655 GB, free: 211.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02271/1.717, allocations: 5.972 MB / 0.7713 GB, free: 210.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008089/1.726, allocations: 2.123 MB / 0.7734 GB, free: 210 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02813/1.754, allocations: 24.79 MB / 0.7976 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008798/1.763, allocations: 0.5619 MB / 0.7981 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/1.764, allocations: 0.5147 MB / 0.7986 GB, free: 187.1 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.006311/1.771, allocations: 3.099 MB / 0.8017 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/1.772, allocations: 0.4892 MB / 0.8021 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02939/1.801, allocations: 13.04 MB / 0.8149 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/1.802, allocations: 52.78 kB / 0.8149 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/1.802, allocations: 16.5 kB / 0.8149 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.662e-05/1.802, allocations: 15.94 kB / 0.815 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04674/1.848, allocations: 24.76 MB / 0.8391 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.593e-05/1.849, allocations: 11.75 kB / 0.8392 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/1.852, allocations: 0.5772 MB / 0.8397 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01944/1.871, allocations: 4.997 MB / 0.8446 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009121/1.872, allocations: 61.64 kB / 0.8447 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02298/1.895, allocations: 19.98 MB / 0.8642 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.895, allocations: 4 kB / 0.8642 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03599/1.931, allocations: 17.61 MB / 0.8814 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004272/1.936, allocations: 1.264 MB / 0.8826 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002379/1.938, allocations: 56.72 kB / 0.8827 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004596/1.943, allocations: 265.5 kB / 0.8829 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/1.944, allocations: 201.6 kB / 0.8831 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006653/1.945, allocations: 86.03 kB / 0.8832 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006902/1.952, allocations: 3.41 MB / 0.8865 GB, free: 96.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/1.952, allocations: 0 / 0.8865 GB, free: 96.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01021/1.962, allocations: 1.777 MB / 0.8883 GB, free: 94.9 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.001217/1.963, allocations: 206 kB / 0.8885 GB, free: 94.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01759/1.981, allocations: 11.01 MB / 0.8992 GB, free: 83.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.981, allocations: 384 / 0.8992 GB, free: 83.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006326/1.987, allocations: 4.132 MB / 0.9032 GB, free: 79.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01025/1.997, allocations: 0.5864 MB / 0.9038 GB, free: 78.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03615/2.034, allocations: 19.92 MB / 0.9233 GB, free: 58.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005522/2.039, allocations: 4.611 MB / 0.9278 GB, free: 54.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002524/2.042, allocations: 415.4 kB / 0.9282 GB, free: 53.89 MB / 0.5606 GB Notification: Performance of SimCode: time 1.934e-06/2.042, allocations: 0 / 0.9282 GB, free: 53.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.5416/2.583, allocations: 148.8 MB / 1.073 GB, free: 123.6 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