Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_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.0009492/0.0009493, allocations: 93.02 kB / 17.63 MB, free: 5.699 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.001258/0.001258, allocations: 186.5 kB / 18.52 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 242.5 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2519/0.2519, allocations: 44.22 MB / 337.9 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004972, allocations: 8 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1648, allocations: 61.91 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.0364/0.2013, allocations: 31.51 MB / 0.4919 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02248/0.2238, allocations: 7.47 MB / 0.4992 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008248/0.2321, allocations: 147.6 kB / 0.4993 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006575/0.2387, allocations: 1.59 MB / 0.5009 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3734/0.6122, allocations: 4.881 MB / 0.5056 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.616, allocations: 0.5864 MB / 0.5062 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0457/0.6617, allocations: 32.03 MB / 0.5375 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004414/0.6662, allocations: 2.98 MB / 0.5404 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.6683, allocations: 1.126 MB / 0.5415 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.6704, allocations: 1.795 MB / 0.5433 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003708/0.6708, allocations: 127.8 kB / 0.5434 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.6725, allocations: 0.9598 MB / 0.5443 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.6739, allocations: 1.496 MB / 0.5458 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008498/0.6747, allocations: 0.7225 MB / 0.5465 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.6803, allocations: 4.688 MB / 0.5511 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6804, allocations: 0 / 0.5511 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6804, allocations: 4 kB / 0.5511 GB, free: 11.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001914/0.6806, allocations: 0 / 0.5511 GB, free: 11.59 MB / 398.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.007927/0.6885, allocations: 3.527 MB / 0.5545 GB, free: 8.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6886, allocations: 10.53 kB / 0.5545 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.7029, allocations: 2.497 MB / 0.557 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005659/0.7086, allocations: 2.35 MB / 0.5592 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.7088, allocations: 195.8 kB / 0.5594 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008755/0.7096, allocations: 273 kB / 0.5597 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.7241, allocations: 8.576 MB / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.7242, allocations: 51.84 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000366/0.7246, allocations: 127.2 kB / 0.5682 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/0.7273, allocations: 1.743 MB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.7412, allocations: 7.263 MB / 0.577 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04585/0.7871, allocations: 34.17 MB / 0.6104 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008509/0.7956, allocations: 3.521 MB / 0.6138 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/0.7981, allocations: 1.708 MB / 0.6155 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.8094, allocations: 7.428 MB / 0.6228 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.8094, allocations: 47.56 kB / 0.6228 GB, free: 6.777 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.581e-06/0.8094, allocations: 4 kB / 0.6228 GB, free: 6.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=188): time 0.06002/0.8695, allocations: 19.93 MB / 0.6423 GB, free: 2.703 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.8696, allocations: 205.2 kB / 0.6425 GB, free: 2.461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005411/0.8751, allocations: 3.726 MB / 0.6461 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004203/0.8755, allocations: 49.7 kB / 0.6462 GB, free: 14.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00215/0.8777, allocations: 2.807 MB / 0.6489 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009611/0.8786, allocations: 0.7155 MB / 0.6496 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.8789, allocations: 120 kB / 0.6497 GB, free: 11.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000367/0.8793, allocations: 0.5559 MB / 0.6503 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/0.8826, allocations: 2.178 MB / 0.6524 GB, free: 8.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006013/0.8887, allocations: 5.747 MB / 0.658 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005456/0.8941, allocations: 3.459 MB / 0.6614 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.198e-05/0.8943, allocations: 36 kB / 0.6614 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02188/0.9161, allocations: 9.156 MB / 0.6704 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.9164, allocations: 60 kB / 0.6704 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002483/0.9166, allocations: 124 kB / 0.6705 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006118/0.9228, allocations: 1.707 MB / 0.6722 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004923/0.9277, allocations: 1.326 MB / 0.6735 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/0.9419, allocations: 9.304 MB / 0.6826 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004919/0.9469, allocations: 311.6 kB / 0.6829 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/0.948, allocations: 360.4 kB / 0.6832 GB, free: 6.844 MB / 0.5137 GB 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.004012/0.952, allocations: 1.908 MB / 0.6851 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000811/0.9528, allocations: 327.7 kB / 0.6854 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009317/0.9621, allocations: 4.157 MB / 0.6895 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-05/0.9622, allocations: 20 kB / 0.6895 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/0.9623, allocations: 11.94 kB / 0.6895 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/0.9623, allocations: 11.97 kB / 0.6895 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/0.9799, allocations: 8.581 MB / 0.6979 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.9799, allocations: 0 / 0.6979 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.9812, allocations: 251.6 kB / 0.6981 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005279/0.9865, allocations: 1.456 MB / 0.6995 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002723/0.9868, allocations: 35.98 kB / 0.6996 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3668/1.354, allocations: 8.592 MB / 0.708 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/1.354, allocations: 1.922 kB / 0.708 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/1.37, allocations: 6.739 MB / 0.7145 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.371, allocations: 380.4 kB / 0.7149 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006003/1.372, allocations: 33.81 kB / 0.7149 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/1.373, allocations: 91.64 kB / 0.715 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/1.374, allocations: 114.8 kB / 0.7151 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.374, allocations: 54.3 kB / 0.7152 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005376/1.379, allocations: 2.3 MB / 0.7174 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.379, allocations: 2.219 kB / 0.7174 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006511/1.386, allocations: 0.9951 MB / 0.7184 GB, free: 182.6 MB / 0.5294 GB 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.0004909/1.386, allocations: 171 kB / 0.7186 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009121/1.395, allocations: 5.375 MB / 0.7238 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.395, allocations: 0 / 0.7238 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.398, allocations: 1.801 MB / 0.7256 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.4, allocations: 376.5 kB / 0.7259 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/1.416, allocations: 10.39 MB / 0.7361 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002712/1.418, allocations: 2.959 MB / 0.739 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.42, allocations: 268 kB / 0.7392 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.713e-06/1.42, allocations: 0 / 0.7392 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.09201/1.512, allocations: 68.77 MB / 0.8064 GB, free: 107.3 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMassesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMassesCalcHelperMain.o] Error 1