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.001053/0.001053, 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.001221/0.001221, 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.956/1.956, 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.282/0.282, allocations: 43.59 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.0005976/0.0005977, allocations: 18.28 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1679, allocations: 58.86 MB / 444.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.04004/0.208, allocations: 33.75 MB / 477.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02701/0.2351, allocations: 7.838 MB / 485.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01104/0.2462, allocations: 143.6 kB / 485.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.2483, allocations: 374.1 kB / 486.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006605/0.255, allocations: 1.553 MB / 487.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.2574, allocations: 0.5538 MB / 488.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007812/0.2652, allocations: 4.765 MB / 493.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007219/0.2725, allocations: 3.279 MB / 496.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.2755, allocations: 0.9607 MB / 497.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.2793, allocations: 1.615 MB / 498.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.2804, allocations: 116 kB / 499 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.2836, allocations: 0.9516 MB / 500 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003061/0.2867, allocations: 1.429 MB / 0.4897 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004621/0.2913, allocations: 1.674 MB / 0.4913 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007675/0.299, allocations: 4.435 MB / 0.4956 GB, free: 5.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.2991, allocations: 4 kB / 0.4956 GB, free: 5.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.2991, allocations: 0 / 0.4956 GB, free: 5.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001897/0.2993, allocations: 0 / 0.4956 GB, free: 5.418 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.008542/0.3078, allocations: 3.309 MB / 0.4989 GB, free: 2.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.541e-05/0.3079, allocations: 12.03 kB / 0.4989 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007519/0.3155, allocations: 1.829 MB / 0.5007 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/0.3207, allocations: 1.967 MB / 0.5026 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.321, allocations: 189.2 kB / 0.5028 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005823/0.3216, allocations: 259.7 kB / 0.503 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.3408, allocations: 8.443 MB / 0.5112 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.341, allocations: 39.69 kB / 0.5113 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003712/0.3414, allocations: 127.9 kB / 0.5114 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002946/0.3443, allocations: 1.695 MB / 0.5131 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/0.3594, allocations: 7.114 MB / 0.52 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4275/0.787, allocations: 34.15 MB / 0.5534 GB, free: 65.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008616/0.7957, allocations: 3.287 MB / 0.5566 GB, free: 64.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.7983, allocations: 1.458 MB / 0.558 GB, free: 64.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008889/0.8072, allocations: 4.367 MB / 0.5623 GB, free: 61.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.8073, allocations: 48.12 kB / 0.5623 GB, free: 61.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.799e-06/0.8073, allocations: 0 / 0.5623 GB, free: 61.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02784/0.8352, allocations: 11.52 MB / 0.5735 GB, free: 55.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.8353, allocations: 168.1 kB / 0.5737 GB, free: 55.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/0.8408, allocations: 3.737 MB / 0.5774 GB, free: 52.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.8411, allocations: 49.7 kB / 0.5774 GB, free: 52.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.8427, allocations: 2.748 MB / 0.5801 GB, free: 49.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004774/0.8432, allocations: 0.5243 MB / 0.5806 GB, free: 49.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004522/0.8436, allocations: 457.7 kB / 0.581 GB, free: 48.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.8437, allocations: 309.1 kB / 0.5813 GB, free: 48.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.8457, allocations: 1.701 MB / 0.583 GB, free: 46.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003688/0.8494, allocations: 5.133 MB / 0.588 GB, free: 39.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00675/0.8561, allocations: 7.414 MB / 0.5952 GB, free: 30.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-05/0.8562, allocations: 36 kB / 0.5953 GB, free: 30.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0102/0.8664, allocations: 6.724 MB / 0.6018 GB, free: 24.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.8665, allocations: 60.03 kB / 0.6019 GB, free: 24.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-05/0.8666, allocations: 127.9 kB / 0.602 GB, free: 23.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.8672, allocations: 316.7 kB / 0.6023 GB, free: 23.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/0.8702, allocations: 1.247 MB / 0.6035 GB, free: 22.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.8723, allocations: 2.287 MB / 0.6058 GB, free: 19.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/0.8761, allocations: 291.5 kB / 0.6061 GB, free: 19.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003773/0.8765, allocations: 333.2 kB / 0.6064 GB, free: 19.32 MB / 414.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002864/0.8794, allocations: 1.799 MB / 0.6081 GB, free: 17.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000614/0.88, allocations: 311.9 kB / 0.6084 GB, free: 17.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/0.8841, allocations: 2.363 MB / 0.6107 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.8842, allocations: 17.25 kB / 0.6107 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.8842, allocations: 4 kB / 0.6108 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.8842, allocations: 3.984 kB / 0.6108 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009879/0.8941, allocations: 5.931 MB / 0.6165 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.8941, allocations: 64 / 0.6165 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.8949, allocations: 183.7 kB / 0.6167 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.8968, allocations: 0.7108 MB / 0.6174 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/0.8969, allocations: 23.98 kB / 0.6174 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00475/0.9016, allocations: 4.462 MB / 0.6218 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9017, allocations: 4.062 kB / 0.6218 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/0.9081, allocations: 4.336 MB / 0.626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/0.9098, allocations: 0.536 MB / 0.6266 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005678/0.9104, allocations: 21.48 kB / 0.6266 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.9115, allocations: 71.84 kB / 0.6266 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.9118, allocations: 72.5 kB / 0.6267 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.9119, allocations: 41.22 kB / 0.6268 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00465/0.9166, allocations: 2.331 MB / 0.629 GB, free: 11.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9166, allocations: 0 / 0.629 GB, free: 11.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00512/0.9217, allocations: 0.819 MB / 0.6298 GB, free: 11.06 MB / 430.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004068/0.9221, allocations: 143.4 kB / 0.63 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006831/0.929, allocations: 4.035 MB / 0.6339 GB, free: 6.902 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.929, allocations: 4 kB / 0.6339 GB, free: 6.898 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.9305, allocations: 1.111 MB / 0.635 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/0.9335, allocations: 363.2 kB / 0.6353 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.9488, allocations: 9.422 MB / 0.6445 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003021/0.9519, allocations: 2.785 MB / 0.6473 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.953, allocations: 251.4 kB / 0.6475 GB, free: 8.906 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.953, allocations: 0 / 0.6475 GB, free: 8.906 MB / 446.1 MB Notification: Performance of Templates: time 0.1259/1.079, allocations: 63.32 MB / 0.7093 GB, free: 9.559 MB / 0.4981 GB 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++ -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.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