Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009272, allocations: 94.02 kB / 16.33 MB, free: 5.941 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.0009534/0.0009534, allocations: 186 kB / 17.22 MB, free: 5.883 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.697/1.697, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.363/0.363, allocations: 43.55 MB / 315.2 MB, free: 9.133 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.0005772/0.0005773, allocations: 16 kB / 384.6 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.142, allocations: 58.86 MB / 443.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.3173/0.4593, allocations: 31.42 MB / 474.8 MB, free: 32.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01704/0.4764, allocations: 7.431 MB / 482.3 MB, free: 27.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005751/0.4822, allocations: 149.9 kB / 482.4 MB, free: 27.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004039/0.4863, allocations: 1.575 MB / 484 MB, free: 27.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.4974, allocations: 4.85 MB / 488.8 MB, free: 25.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.4989, allocations: 0.5074 MB / 489.3 MB, free: 24.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.5031, allocations: 3.791 MB / 493.1 MB, free: 23.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003702/0.5069, allocations: 2.969 MB / 496.1 MB, free: 22.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.5087, allocations: 1.047 MB / 497.2 MB, free: 22.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.5112, allocations: 1.596 MB / 498.7 MB, free: 21.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.5116, allocations: 114 kB / 498.9 MB, free: 21.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.5135, allocations: 0.7987 MB / 499.7 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.5152, allocations: 1.399 MB / 0.4893 GB, free: 21.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006911/0.5159, allocations: 0.6971 MB / 0.49 GB, free: 20.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005908/0.5218, allocations: 4.426 MB / 0.4943 GB, free: 19.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5218, allocations: 0 / 0.4943 GB, free: 19.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5218, allocations: 1.375 kB / 0.4943 GB, free: 19.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001047/0.522, allocations: 0 / 0.4943 GB, free: 19.58 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.006217/0.5282, allocations: 3.365 MB / 0.4976 GB, free: 17.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.5282, allocations: 12.36 kB / 0.4976 GB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/0.5336, allocations: 1.832 MB / 0.4994 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/0.5371, allocations: 1.918 MB / 0.5013 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.5372, allocations: 192.1 kB / 0.5015 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004542/0.5377, allocations: 253.7 kB / 0.5017 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.5523, allocations: 8.43 MB / 0.5099 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.89e-05/0.5525, allocations: 40.78 kB / 0.51 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003335/0.5528, allocations: 123.5 kB / 0.5101 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002456/0.5553, allocations: 1.699 MB / 0.5118 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.5672, allocations: 7.077 MB / 0.5187 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04054/0.6078, allocations: 34.14 MB / 0.552 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007403/0.6152, allocations: 3.272 MB / 0.5552 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/0.6176, allocations: 1.454 MB / 0.5566 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008117/0.6257, allocations: 4.369 MB / 0.5609 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.6258, allocations: 47.12 kB / 0.5609 GB, free: 5.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.158e-06/0.6258, allocations: 4 kB / 0.5609 GB, free: 5.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03136/0.6572, allocations: 11.5 MB / 0.5722 GB, free: 10.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/0.6573, allocations: 162.9 kB / 0.5723 GB, free: 10.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005494/0.6628, allocations: 3.714 MB / 0.5759 GB, free: 6.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.663, allocations: 45.69 kB / 0.576 GB, free: 6.289 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/0.665, allocations: 2.76 MB / 0.5787 GB, free: 3.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006193/0.6656, allocations: 0.5171 MB / 0.5792 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.6658, allocations: 108 kB / 0.5793 GB, free: 2.859 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003441/0.6662, allocations: 0.5253 MB / 0.5798 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/0.6687, allocations: 1.681 MB / 0.5815 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004632/0.6733, allocations: 5.112 MB / 0.5864 GB, free: 9.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/0.6772, allocations: 2.871 MB / 0.5892 GB, free: 6.926 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-05/0.6772, allocations: 39.95 kB / 0.5893 GB, free: 6.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009905/0.6871, allocations: 6.682 MB / 0.5958 GB, free: 200 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/0.6872, allocations: 56 kB / 0.5959 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/0.6873, allocations: 124 kB / 0.596 GB, free: 20 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.6879, allocations: 341.5 kB / 0.5963 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/0.6912, allocations: 1.248 MB / 0.5975 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.6936, allocations: 2.286 MB / 0.5998 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/0.6971, allocations: 295.5 kB / 0.6 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/0.6975, allocations: 332 kB / 0.6004 GB, free: 11.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003126/0.7007, allocations: 1.787 MB / 0.6021 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005789/0.7013, allocations: 312.4 kB / 0.6024 GB, free: 9.289 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.7056, allocations: 2.359 MB / 0.6047 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.7057, allocations: 15.98 kB / 0.6047 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.7057, allocations: 4 kB / 0.6047 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.7057, allocations: 7.984 kB / 0.6047 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.717, allocations: 5.923 MB / 0.6105 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.7171, allocations: 0 / 0.6105 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007805/0.7179, allocations: 171.9 kB / 0.6107 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/0.7199, allocations: 0.7108 MB / 0.6114 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.72, allocations: 32.06 kB / 0.6114 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005502/0.7255, allocations: 4.465 MB / 0.6158 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.7255, allocations: 5.703 kB / 0.6158 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00647/0.732, allocations: 4.325 MB / 0.62 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.7335, allocations: 0.532 MB / 0.6205 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.7338, allocations: 16.06 kB / 0.6205 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009723/0.7348, allocations: 75.91 kB / 0.6206 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.735, allocations: 72.5 kB / 0.6207 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/0.7351, allocations: 39.98 kB / 0.6207 GB, free: 6.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00386/0.7389, allocations: 2.311 MB / 0.623 GB, free: 3.969 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7389, allocations: 0 / 0.623 GB, free: 3.969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004537/0.7435, allocations: 0.8164 MB / 0.6238 GB, free: 3.152 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003293/0.7438, allocations: 155 kB / 0.6239 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2685/1.012, allocations: 3.995 MB / 0.6278 GB, free: 122.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.012, allocations: 0 / 0.6278 GB, free: 122.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/1.014, allocations: 1.112 MB / 0.6289 GB, free: 122.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/1.016, allocations: 372.7 kB / 0.6293 GB, free: 122.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/1.029, allocations: 9.019 MB / 0.6381 GB, free: 118.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002688/1.032, allocations: 2.796 MB / 0.6408 GB, free: 118 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000834/1.032, allocations: 249.2 kB / 0.641 GB, free: 118 MB / 494.1 MB Notification: Performance of SimCode: time 1.253e-06/1.032, allocations: 0 / 0.641 GB, free: 118 MB / 494.1 MB Notification: Performance of Templates: time 0.1022/1.135, allocations: 63.52 MB / 0.7031 GB, free: 79.39 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitializationCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitializationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitializationCalcHelperMain.o] Error 1