Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 101.7 kB / 16.52 MB, free: 6.664 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.002465/0.002465, allocations: 198.6 kB / 17.44 MB, free: 6.059 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.912/1.912, allocations: 205.1 MB / 223.3 MB, free: 12.51 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.2288/0.2288, allocations: 43.51 MB / 314.1 MB, free: 0.7617 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.001519/0.001519, allocations: 74.08 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1598, allocations: 57.79 MB / 440.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.034/0.1938, allocations: 34.85 MB / 475.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02142/0.2153, allocations: 7.952 MB / 483.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009119/0.2244, allocations: 151.6 kB / 483.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004841/0.2294, allocations: 2.049 MB / 485.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.2349, allocations: 1.592 MB / 487.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.2369, allocations: 0.6357 MB / 487.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008037/0.2449, allocations: 5.452 MB / 493.1 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004046/0.249, allocations: 2.583 MB / 495.7 MB, free: 36 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.2514, allocations: 1.175 MB / 496.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.2543, allocations: 1.994 MB / 498.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000521/0.2548, allocations: 187.9 kB / 499.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.2572, allocations: 1.17 MB / 0.4885 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.259, allocations: 1.613 MB / 0.4901 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.261, allocations: 1.836 MB / 0.4919 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005449/0.2665, allocations: 4.81 MB / 0.4966 GB, free: 3.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.2665, allocations: 0 / 0.4966 GB, free: 3.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2665, allocations: 0 / 0.4966 GB, free: 3.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001306/0.2667, allocations: 0 / 0.4966 GB, free: 3.215 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.009371/0.2761, allocations: 4.241 MB / 0.5007 GB, free: 14.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.2761, allocations: 8.031 kB / 0.5007 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01459/0.2907, allocations: 2.425 MB / 0.5031 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006676/0.2974, allocations: 2.452 MB / 0.5055 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.2976, allocations: 193.3 kB / 0.5057 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007076/0.2984, allocations: 279.9 kB / 0.506 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.3136, allocations: 8.572 MB / 0.5143 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.3138, allocations: 47.58 kB / 0.5144 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/0.3141, allocations: 127.9 kB / 0.5145 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002766/0.3169, allocations: 1.735 MB / 0.5162 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/0.3315, allocations: 7.284 MB / 0.5233 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3666/0.6981, allocations: 34.16 MB / 0.5567 GB, free: 65.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009906/0.7081, allocations: 3.477 MB / 0.5601 GB, free: 64.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/0.7106, allocations: 1.719 MB / 0.5617 GB, free: 63.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.7219, allocations: 7.431 MB / 0.569 GB, free: 59.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.7219, allocations: 49.39 kB / 0.569 GB, free: 59.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 3.677e-06/0.722, allocations: 6.188 kB / 0.5691 GB, free: 59.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=188): time 0.0567/0.7787, allocations: 19.62 MB / 0.5882 GB, free: 42.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.7788, allocations: 201.2 kB / 0.5884 GB, free: 42.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004869/0.7837, allocations: 3.75 MB / 0.5921 GB, free: 38.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003996/0.7841, allocations: 53.7 kB / 0.5921 GB, free: 38.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.7856, allocations: 2.799 MB / 0.5948 GB, free: 35.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006993/0.7863, allocations: 0.7195 MB / 0.5956 GB, free: 35.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.7875, allocations: 1.206 MB / 0.5967 GB, free: 33.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.748e-05/0.7876, allocations: 301.1 kB / 0.597 GB, free: 33.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002591/0.7902, allocations: 2.202 MB / 0.5992 GB, free: 31.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004228/0.7945, allocations: 5.77 MB / 0.6048 GB, free: 23.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008235/0.8027, allocations: 8.591 MB / 0.6132 GB, free: 13.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-05/0.8028, allocations: 36 kB / 0.6132 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01576/0.8186, allocations: 9.17 MB / 0.6222 GB, free: 4.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/0.8187, allocations: 60 kB / 0.6222 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/0.8189, allocations: 124 kB / 0.6224 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005316/0.8242, allocations: 1.661 MB / 0.624 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/0.8284, allocations: 1.326 MB / 0.6253 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/0.8454, allocations: 9.266 MB / 0.6343 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/0.8513, allocations: 307.5 kB / 0.6346 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/0.8524, allocations: 367.6 kB / 0.635 GB, free: 7.055 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (714): * Single equations (assignments): 710 * 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,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003854/0.8563, allocations: 1.896 MB / 0.6368 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008531/0.8571, allocations: 331.8 kB / 0.6371 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.8672, allocations: 4.133 MB / 0.6412 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.156e-05/0.8673, allocations: 23.94 kB / 0.6412 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/0.8673, allocations: 8.469 kB / 0.6412 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.151e-05/0.8674, allocations: 7.969 kB / 0.6412 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/0.8885, allocations: 8.536 MB / 0.6495 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/0.8885, allocations: 4 kB / 0.6495 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.8898, allocations: 243.6 kB / 0.6498 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005624/0.8955, allocations: 1.434 MB / 0.6512 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002935/0.8958, allocations: 35.98 kB / 0.6512 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/0.9112, allocations: 8.558 MB / 0.6596 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9113, allocations: 0 / 0.6596 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/0.9257, allocations: 6.726 MB / 0.6661 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/0.9279, allocations: 0.6178 MB / 0.6667 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/0.9291, allocations: 28 kB / 0.6668 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/0.9313, allocations: 95.95 kB / 0.6669 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004952/0.9318, allocations: 113.1 kB / 0.667 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/0.932, allocations: 48 kB / 0.667 GB, free: 6.004 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005608/0.9376, allocations: 2.332 MB / 0.6693 GB, free: 3.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9377, allocations: 0 / 0.6693 GB, free: 3.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007043/0.9447, allocations: 0.9995 MB / 0.6703 GB, free: 2.695 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007656/0.9455, allocations: 163.7 kB / 0.6704 GB, free: 2.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01179/0.9573, allocations: 5.402 MB / 0.6757 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/0.9574, allocations: 448 / 0.6757 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004501/0.9619, allocations: 1.808 MB / 0.6775 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/0.9664, allocations: 379.4 kB / 0.6778 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/0.9903, allocations: 10.73 MB / 0.6883 GB, free: 200 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006092/0.9965, allocations: 2.961 MB / 0.6912 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.9978, allocations: 271.4 kB / 0.6915 GB, free: 12.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.483e-06/0.9978, allocations: 0 / 0.6915 GB, free: 12.93 MB / 494.1 MB Notification: Performance of Templates: time 0.373/1.371, allocations: 69.33 MB / 0.7592 GB, free: 142.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.Forces.ForceWithTwoMassesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMassesCalcHelperMain.o] Error 1