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.001046/0.001046, allocations: 90.25 kB / 16.33 MB, free: 5.938 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.001168/0.001168, allocations: 188.4 kB / 17.22 MB, free: 5.859 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.68/1.68, allocations: 205.4 MB / 223.4 MB, free: 5.531 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.3783/0.3783, allocations: 43.55 MB / 315.2 MB, free: 8.918 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.0005088/0.0005089, allocations: 16 kB / 384.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1466, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.3045/0.4512, allocations: 31.52 MB / 474.9 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01862/0.4698, allocations: 7.481 MB / 482.4 MB, free: 27.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007857/0.4778, allocations: 148.4 kB / 482.6 MB, free: 27.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004731/0.4825, allocations: 1.577 MB / 484.1 MB, free: 27.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.496, allocations: 4.894 MB / 489 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.4986, allocations: 0.5892 MB / 489.6 MB, free: 24.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02689/0.5255, allocations: 18.43 MB / 0.4961 GB, free: 20.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006981/0.5325, allocations: 2.989 MB / 0.4991 GB, free: 19.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/0.5361, allocations: 1.13 MB / 0.5002 GB, free: 18.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003875/0.54, allocations: 1.796 MB / 0.5019 GB, free: 17.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007331/0.5408, allocations: 123.4 kB / 0.502 GB, free: 17.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.5432, allocations: 0.9471 MB / 0.503 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001754/0.545, allocations: 1.503 MB / 0.5044 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000964/0.546, allocations: 0.7231 MB / 0.5051 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005429/0.5514, allocations: 4.692 MB / 0.5097 GB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.5514, allocations: 0 / 0.5097 GB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.5514, allocations: 0 / 0.5097 GB, free: 12.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001824/0.5516, allocations: 3.938 kB / 0.5097 GB, free: 12.52 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.007444/0.5591, allocations: 3.532 MB / 0.5132 GB, free: 8.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.5592, allocations: 19.94 kB / 0.5132 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.5719, allocations: 2.495 MB / 0.5156 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005544/0.5775, allocations: 2.399 MB / 0.518 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.5776, allocations: 192.9 kB / 0.5181 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006842/0.5783, allocations: 275.7 kB / 0.5184 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.5924, allocations: 8.584 MB / 0.5268 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.5926, allocations: 39.64 kB / 0.5268 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.593, allocations: 127.9 kB / 0.527 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002589/0.5956, allocations: 1.735 MB / 0.5286 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.6094, allocations: 7.276 MB / 0.5358 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04093/0.6504, allocations: 34.19 MB / 0.5691 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007984/0.6584, allocations: 3.516 MB / 0.5726 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.6608, allocations: 1.72 MB / 0.5743 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.6719, allocations: 7.424 MB / 0.5815 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.672, allocations: 55.55 kB / 0.5816 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 4.178e-06/0.672, allocations: 0 / 0.5816 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.05572/0.7277, allocations: 19.97 MB / 0.6011 GB, free: 12.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.7279, allocations: 201.2 kB / 0.6012 GB, free: 12.33 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00506/0.7329, allocations: 3.727 MB / 0.6049 GB, free: 8.609 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/0.7333, allocations: 53.7 kB / 0.6049 GB, free: 8.551 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00185/0.7351, allocations: 2.803 MB / 0.6077 GB, free: 5.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007585/0.7359, allocations: 0.7134 MB / 0.6084 GB, free: 4.984 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.7361, allocations: 124 kB / 0.6085 GB, free: 4.863 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000325/0.7365, allocations: 0.5581 MB / 0.609 GB, free: 4.297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/0.7395, allocations: 2.178 MB / 0.6112 GB, free: 2.113 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00528/0.7448, allocations: 5.743 MB / 0.6168 GB, free: 10.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004599/0.7494, allocations: 3.46 MB / 0.6202 GB, free: 7.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.183e-05/0.7495, allocations: 36 kB / 0.6202 GB, free: 7.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.2884/1.038, allocations: 9.153 MB / 0.6291 GB, free: 132.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/1.038, allocations: 57.62 kB / 0.6292 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/1.038, allocations: 125.8 kB / 0.6293 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004991/1.043, allocations: 1.711 MB / 0.631 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003707/1.047, allocations: 1.322 MB / 0.6323 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/1.059, allocations: 9.304 MB / 0.6413 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/1.063, allocations: 315.4 kB / 0.6416 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004493/1.063, allocations: 366.6 kB / 0.642 GB, free: 130.7 MB / 494.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 (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 {(2,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002858/1.066, allocations: 1.893 MB / 0.6438 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/1.067, allocations: 334.2 kB / 0.6442 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007905/1.075, allocations: 4.156 MB / 0.6482 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/1.075, allocations: 25.83 kB / 0.6482 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/1.075, allocations: 8.906 kB / 0.6483 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/1.075, allocations: 9.547 kB / 0.6483 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/1.091, allocations: 8.567 MB / 0.6566 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.091, allocations: 1.219 kB / 0.6566 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/1.092, allocations: 253 kB / 0.6569 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005192/1.097, allocations: 1.462 MB / 0.6583 GB, free: 125.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/1.098, allocations: 30.75 kB / 0.6583 GB, free: 125.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/1.11, allocations: 8.599 MB / 0.6667 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.11, allocations: 0.9375 kB / 0.6667 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.124, allocations: 6.746 MB / 0.6733 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.126, allocations: 0.63 MB / 0.6739 GB, free: 118.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/1.126, allocations: 26.88 kB / 0.674 GB, free: 118.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/1.128, allocations: 99.5 kB / 0.6741 GB, free: 118.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004554/1.128, allocations: 112.8 kB / 0.6742 GB, free: 118.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.128, allocations: 53.11 kB / 0.6742 GB, free: 118.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004993/1.133, allocations: 2.321 MB / 0.6765 GB, free: 117.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.133, allocations: 0 / 0.6765 GB, free: 117.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005673/1.139, allocations: 0.994 MB / 0.6774 GB, free: 117.7 MB / 494.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 (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%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004477/1.139, allocations: 160.7 kB / 0.6776 GB, free: 117.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007804/1.147, allocations: 5.386 MB / 0.6829 GB, free: 115.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.147, allocations: 0 / 0.6829 GB, free: 115.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002353/1.15, allocations: 1.803 MB / 0.6846 GB, free: 114.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/1.152, allocations: 371.8 kB / 0.685 GB, free: 114.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/1.17, allocations: 10.4 MB / 0.6951 GB, free: 107.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/1.173, allocations: 2.959 MB / 0.698 GB, free: 105.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009413/1.174, allocations: 266.6 kB / 0.6983 GB, free: 105.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/1.174, allocations: 0 / 0.6983 GB, free: 105.2 MB / 494.1 MB Notification: Performance of Templates: time 0.08124/1.255, allocations: 68.81 MB / 0.7655 GB, free: 36.57 MB / 494.1 MB 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++ 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.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