Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.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.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 103.7 kB / 16.52 MB, free: 6.266 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.001512/0.001512, allocations: 193.8 kB / 17.44 MB, free: 5.887 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.849/1.849, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2603/0.2603, allocations: 43.52 MB / 314.1 MB, free: 0.7461 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.001499/0.001499, allocations: 65.56 kB / 382.7 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1444, allocations: 57.79 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.03511/0.1795, allocations: 33.89 MB / 474.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02442/0.204, allocations: 7.725 MB / 482.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009926/0.214, allocations: 143.6 kB / 482.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004974/0.219, allocations: 1.66 MB / 483.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005593/0.2248, allocations: 1.53 MB / 485.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.2265, allocations: 0.5148 MB / 485.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007513/0.2341, allocations: 4.988 MB / 490.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005091/0.2392, allocations: 2.237 MB / 493.2 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.2419, allocations: 1.019 MB / 494.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.2454, allocations: 1.764 MB / 495.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.2465, allocations: 160 kB / 496.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.2498, allocations: 1.1 MB / 497.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002476/0.2523, allocations: 1.461 MB / 498.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003815/0.2561, allocations: 1.677 MB / 0.4886 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006763/0.2629, allocations: 4.464 MB / 0.493 GB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.263, allocations: 3.938 kB / 0.493 GB, free: 6.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.263, allocations: 4 kB / 0.493 GB, free: 6.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002847/0.2633, allocations: 0 / 0.493 GB, free: 6.926 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: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.01244/0.2757, allocations: 3.861 MB / 0.4967 GB, free: 2.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.2758, allocations: 8.031 kB / 0.4967 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/0.2902, allocations: 2.383 MB / 0.4991 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006652/0.2969, allocations: 2.291 MB / 0.5013 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003105/0.2973, allocations: 168.7 kB / 0.5015 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/0.2987, allocations: 231.9 kB / 0.5017 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/0.3165, allocations: 7.887 MB / 0.5094 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002033/0.3168, allocations: 43.58 kB / 0.5094 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/0.3179, allocations: 115.9 kB / 0.5095 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003266/0.3212, allocations: 1.664 MB / 0.5112 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/0.3359, allocations: 6.754 MB / 0.5178 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4163/0.7522, allocations: 31.52 MB / 0.5485 GB, free: 68.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006249/0.7586, allocations: 2.356 MB / 0.5509 GB, free: 67.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.7606, allocations: 1.183 MB / 0.552 GB, free: 67.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004368/0.7611, allocations: 322.5 kB / 0.5523 GB, free: 67.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.7611, allocations: 52.55 kB / 0.5524 GB, free: 67.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 3.857e-06/0.7611, allocations: 3.656 kB / 0.5524 GB, free: 67.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=141): time 0.04288/0.804, allocations: 12.28 MB / 0.5644 GB, free: 62.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.8042, allocations: 199.5 kB / 0.5646 GB, free: 61.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007974/0.8122, allocations: 3.741 MB / 0.5682 GB, free: 60.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003223/0.8126, allocations: 41.42 kB / 0.5682 GB, free: 59.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.8148, allocations: 2.667 MB / 0.5708 GB, free: 57.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008328/0.8157, allocations: 0.5665 MB / 0.5714 GB, free: 57.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002228/0.8179, allocations: 1.118 MB / 0.5725 GB, free: 56.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.818, allocations: 301.1 kB / 0.5728 GB, free: 55.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/0.8205, allocations: 1.803 MB / 0.5745 GB, free: 54.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004636/0.8252, allocations: 5.254 MB / 0.5797 GB, free: 47.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007963/0.8332, allocations: 7.62 MB / 0.5871 GB, free: 37.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/0.8334, allocations: 36 kB / 0.5871 GB, free: 37.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01438/0.8478, allocations: 7.284 MB / 0.5943 GB, free: 30.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.848, allocations: 60 kB / 0.5943 GB, free: 30.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00026/0.8483, allocations: 124.9 kB / 0.5944 GB, free: 30.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.8501, allocations: 0.6564 MB / 0.5951 GB, free: 29.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/0.8546, allocations: 1.267 MB / 0.5963 GB, free: 28.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004654/0.8593, allocations: 3.769 MB / 0.6 GB, free: 24.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/0.8645, allocations: 307.5 kB / 0.6003 GB, free: 24.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000996/0.8655, allocations: 339.6 kB / 0.6006 GB, free: 23.86 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: 27 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.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 (684): * Single equations (assignments): 680 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003653/0.8692, allocations: 1.785 MB / 0.6024 GB, free: 22.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009015/0.8701, allocations: 314 kB / 0.6027 GB, free: 21.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.8746, allocations: 2.221 MB / 0.6048 GB, free: 19.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/0.8746, allocations: 20 kB / 0.6048 GB, free: 19.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.8746, allocations: 4 kB / 0.6048 GB, free: 19.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.8747, allocations: 7.922 kB / 0.6049 GB, free: 19.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.8871, allocations: 5.993 MB / 0.6107 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/0.8872, allocations: 0 / 0.6107 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.8882, allocations: 215.7 kB / 0.6109 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.8895, allocations: 484.2 kB / 0.6114 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.8897, allocations: 28.06 kB / 0.6114 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.893, allocations: 3.213 MB / 0.6145 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.893, allocations: 7.969 kB / 0.6145 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006182/0.8992, allocations: 4.343 MB / 0.6188 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/0.9014, allocations: 0.5477 MB / 0.6193 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/0.9028, allocations: 23.94 kB / 0.6193 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/0.905, allocations: 79.89 kB / 0.6194 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.9052, allocations: 76.48 kB / 0.6195 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.9053, allocations: 36 kB / 0.6195 GB, free: 4.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004778/0.9101, allocations: 2.341 MB / 0.6218 GB, free: 1.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9101, allocations: 0 / 0.6218 GB, free: 1.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005779/0.9159, allocations: 0.8346 MB / 0.6226 GB, free: 1.07 MB / 414.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 (112): * Single equations (assignments): 108 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004911/0.9164, allocations: 153.6 kB / 0.6228 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008329/0.9247, allocations: 4.304 MB / 0.627 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9248, allocations: 0 / 0.627 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002017/0.9268, allocations: 1.19 MB / 0.6281 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/0.9307, allocations: 346.3 kB / 0.6285 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02262/0.9534, allocations: 9.393 MB / 0.6376 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005734/0.9592, allocations: 2.756 MB / 0.6403 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/0.9606, allocations: 267.3 kB / 0.6406 GB, free: 14.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.9607, allocations: 0 / 0.6406 GB, free: 14.64 MB / 446.1 MB Notification: Performance of Templates: time 0.1163/1.077, allocations: 63.66 MB / 0.7028 GB, free: 14.96 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.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.Sensors.DistanceCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.DistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.DistanceCalcHelperMain.o] Error 1