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.001048/0.001048, allocations: 90.67 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.001294/0.001294, allocations: 176.6 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.961/1.961, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2686/0.2686, allocations: 43.58 MB / 315.6 MB, free: 0.5 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.0005815/0.0005815, allocations: 14.59 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1542, allocations: 58.88 MB / 444.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.03695/0.1912, allocations: 33.84 MB / 477.9 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02349/0.2148, allocations: 7.879 MB / 485.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008247/0.223, allocations: 151.6 kB / 486 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.2249, allocations: 382.1 kB / 486.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005985/0.2309, allocations: 1.604 MB / 487.9 MB, free: 9.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.2329, allocations: 0.6396 MB / 488.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009139/0.2421, allocations: 5.447 MB / 494 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00717/0.2493, allocations: 3.317 MB / 497.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003492/0.2528, allocations: 1.027 MB / 498.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003781/0.2566, allocations: 1.814 MB / 0.4885 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005419/0.2572, allocations: 124 kB / 0.4886 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.2598, allocations: 1.108 MB / 0.4897 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001712/0.2615, allocations: 1.539 MB / 0.4912 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.2634, allocations: 1.756 MB / 0.4929 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005773/0.2692, allocations: 4.692 MB / 0.4975 GB, free: 3.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2692, allocations: 0 / 0.4975 GB, free: 3.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2692, allocations: 0 / 0.4975 GB, free: 3.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001251/0.2694, allocations: 0 / 0.4975 GB, free: 3.625 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.008588/0.278, allocations: 3.485 MB / 0.5009 GB, free: 76 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.278, allocations: 12.03 kB / 0.5009 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.2945, allocations: 2.496 MB / 0.5033 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00671/0.3013, allocations: 2.445 MB / 0.5057 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.3015, allocations: 189.3 kB / 0.5059 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006802/0.3022, allocations: 279.6 kB / 0.5062 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.3189, allocations: 8.603 MB / 0.5146 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002177/0.3192, allocations: 39.66 kB / 0.5146 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003653/0.3195, allocations: 127.9 kB / 0.5147 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003405/0.323, allocations: 1.743 MB / 0.5164 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.3402, allocations: 7.303 MB / 0.5236 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3632/0.7035, allocations: 34.19 MB / 0.5569 GB, free: 64.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00995/0.7135, allocations: 3.526 MB / 0.5604 GB, free: 63.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003331/0.7169, allocations: 1.729 MB / 0.5621 GB, free: 62.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01328/0.7302, allocations: 7.435 MB / 0.5693 GB, free: 58.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.7303, allocations: 58.19 kB / 0.5694 GB, free: 58.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 5.31e-06/0.7303, allocations: 0 / 0.5694 GB, free: 58.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=188): time 0.06865/0.799, allocations: 19.96 MB / 0.5889 GB, free: 42.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.7991, allocations: 205.1 kB / 0.5891 GB, free: 42.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005821/0.8049, allocations: 3.746 MB / 0.5927 GB, free: 38.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005025/0.8055, allocations: 55.95 kB / 0.5928 GB, free: 38.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/0.8073, allocations: 2.81 MB / 0.5955 GB, free: 35.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000945/0.8083, allocations: 0.7122 MB / 0.5962 GB, free: 35.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005938/0.8089, allocations: 0.5126 MB / 0.5967 GB, free: 34.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.809, allocations: 301.1 kB / 0.597 GB, free: 34.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/0.8119, allocations: 2.206 MB / 0.5992 GB, free: 32.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004624/0.8165, allocations: 5.766 MB / 0.6048 GB, free: 24.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00871/0.8252, allocations: 8.591 MB / 0.6132 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/0.8254, allocations: 36 kB / 0.6132 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01842/0.8439, allocations: 9.207 MB / 0.6222 GB, free: 4.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.8441, allocations: 63.94 kB / 0.6223 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/0.8443, allocations: 125.6 kB / 0.6224 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/0.8499, allocations: 1.695 MB / 0.624 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004541/0.8545, allocations: 1.322 MB / 0.6253 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/0.8723, allocations: 9.319 MB / 0.6344 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/0.8781, allocations: 316.2 kB / 0.6347 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000991/0.8791, allocations: 365.5 kB / 0.6351 GB, free: 7.559 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.003961/0.883, allocations: 1.9 MB / 0.6369 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007453/0.8838, allocations: 335.7 kB / 0.6373 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/0.8939, allocations: 4.168 MB / 0.6413 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.309e-05/0.894, allocations: 24 kB / 0.6414 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.238e-05/0.894, allocations: 8 kB / 0.6414 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.111e-05/0.8941, allocations: 12.44 kB / 0.6414 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/0.914, allocations: 8.572 MB / 0.6498 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.9141, allocations: 0 / 0.6498 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.9154, allocations: 255.6 kB / 0.65 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005627/0.921, allocations: 1.465 MB / 0.6514 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/0.9213, allocations: 36.64 kB / 0.6515 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01478/0.9361, allocations: 8.613 MB / 0.6599 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9361, allocations: 64 / 0.6599 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.9515, allocations: 6.763 MB / 0.6665 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003039/0.9546, allocations: 0.6371 MB / 0.6671 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/0.9561, allocations: 31.98 kB / 0.6671 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/0.9585, allocations: 89.22 kB / 0.6672 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004715/0.959, allocations: 105.2 kB / 0.6673 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/0.9592, allocations: 55.98 kB / 0.6674 GB, free: 6.285 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005679/0.9649, allocations: 2.328 MB / 0.6696 GB, free: 3.973 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9649, allocations: 0 / 0.6696 GB, free: 3.973 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007754/0.9727, allocations: 0.9988 MB / 0.6706 GB, free: 2.98 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.000796/0.9735, allocations: 167.7 kB / 0.6708 GB, free: 2.816 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01218/0.9857, allocations: 5.405 MB / 0.6761 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.9858, allocations: 0 / 0.6761 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003519/0.9893, allocations: 1.809 MB / 0.6778 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004456/0.9938, allocations: 386.4 kB / 0.6782 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.016, allocations: 10.8 MB / 0.6887 GB, free: 392 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003463/1.02, allocations: 2.954 MB / 0.6916 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.021, allocations: 267.4 kB / 0.6919 GB, free: 13.14 MB / 494.1 MB Notification: Performance of SimCode: time 1.562e-06/1.021, allocations: 0 / 0.6919 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Templates: time 0.4188/1.44, allocations: 68.64 MB / 0.7589 GB, free: 142.3 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