Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 91.67 kB / 16.67 MB, free: 6.59 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.001832/0.001832, allocations: 180.3 kB / 17.57 MB, free: 6.191 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.922/1.922, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2665/0.2665, allocations: 43.58 MB / 315.6 MB, free: 436 kB / 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.0005767/0.0005769, allocations: 17.66 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1573, allocations: 58.86 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.06502/0.2224, allocations: 62.36 MB / 0.4946 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04366/0.2661, allocations: 13.03 MB / 0.5073 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02427/0.2904, allocations: 279.3 kB / 0.5076 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.294, allocations: 0.5441 MB / 0.5081 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.3041, allocations: 2.223 MB / 0.5103 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004413/0.3086, allocations: 1.065 MB / 0.5113 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01535/0.324, allocations: 8.886 MB / 0.52 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0127/0.3367, allocations: 6.253 MB / 0.5261 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004929/0.3417, allocations: 1.712 MB / 0.5278 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006182/0.3479, allocations: 2.861 MB / 0.5306 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001975/0.35, allocations: 200 kB / 0.5308 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4116/0.7616, allocations: 1.369 MB / 0.5321 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005257/0.7668, allocations: 2.439 MB / 0.5345 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004634/0.7715, allocations: 2.702 MB / 0.5371 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.7826, allocations: 7.226 MB / 0.5442 GB, free: 9.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.7826, allocations: 2 kB / 0.5442 GB, free: 9.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.7826, allocations: 0 / 0.5442 GB, free: 9.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000382/0.783, allocations: 2.812 kB / 0.5442 GB, free: 9.59 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01743/0.8005, allocations: 5.591 MB / 0.5496 GB, free: 7.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.8005, allocations: 8.719 kB / 0.5496 GB, free: 7.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02938/0.8299, allocations: 3.381 MB / 0.553 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/0.8429, allocations: 4.207 MB / 0.5571 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.8432, allocations: 313.3 kB / 0.5574 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.845, allocations: 429.8 kB / 0.5578 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03646/0.8814, allocations: 13.84 MB / 0.5713 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005892/0.8821, allocations: 58.88 kB / 0.5713 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003129/0.8852, allocations: 199.1 kB / 0.5715 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005079/0.8903, allocations: 2.527 MB / 0.574 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03117/0.9215, allocations: 11.83 MB / 0.5856 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1002/1.022, allocations: 53.78 MB / 0.6381 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/1.04, allocations: 5.914 MB / 0.6438 GB, free: 2.012 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006329/1.047, allocations: 3.598 MB / 0.6474 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03245/1.079, allocations: 15.44 MB / 0.6624 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/1.079, allocations: 59.66 kB / 0.6625 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 7.765e-06/1.079, allocations: 0 / 0.6625 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.103/1.182, allocations: 28.71 MB / 0.6905 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/1.183, allocations: 268.3 kB / 0.6908 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008748/1.191, allocations: 5.087 MB / 0.6958 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007967/1.192, allocations: 65.7 kB / 0.6958 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003601/1.196, allocations: 3.887 MB / 0.6996 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001768/1.198, allocations: 0.9999 MB / 0.7006 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009903/1.199, allocations: 0.6673 MB / 0.7012 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.199, allocations: 305.1 kB / 0.7015 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00514/1.204, allocations: 3.002 MB / 0.7045 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008882/1.213, allocations: 7.352 MB / 0.7116 GB, free: 9.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/1.229, allocations: 11.1 MB / 0.7225 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001515/1.23, allocations: 48 kB / 0.7225 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02588/1.255, allocations: 11.19 MB / 0.7335 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000313/1.256, allocations: 68 kB / 0.7335 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004701/1.256, allocations: 152 kB / 0.7337 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/1.26, allocations: 1.225 MB / 0.7349 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3702/1.63, allocations: 1.831 MB / 0.7367 GB, free: 227.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/1.642, allocations: 7.775 MB / 0.7442 GB, free: 224.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008379/1.651, allocations: 428.4 kB / 0.7447 GB, free: 224.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002154/1.653, allocations: 450.5 kB / 0.7451 GB, free: 224.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (954): * Single equations (assignments): 949 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007817/1.661, allocations: 2.649 MB / 0.7477 GB, free: 223.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/1.662, allocations: 466.2 kB / 0.7481 GB, free: 223.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.672, allocations: 5.234 MB / 0.7532 GB, free: 221.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.396e-05/1.673, allocations: 28.12 kB / 0.7533 GB, free: 221.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/1.673, allocations: 11.06 kB / 0.7533 GB, free: 221.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-05/1.673, allocations: 11.3 kB / 0.7533 GB, free: 221.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/1.695, allocations: 11.76 MB / 0.7648 GB, free: 217.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.695, allocations: 0 / 0.7648 GB, free: 217.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.698, allocations: 0.4963 MB / 0.7652 GB, free: 217.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/1.7, allocations: 0.9894 MB / 0.7662 GB, free: 217.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/1.701, allocations: 49.08 kB / 0.7663 GB, free: 217.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007923/1.709, allocations: 7.124 MB / 0.7732 GB, free: 213.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.709, allocations: 0 / 0.7732 GB, free: 213.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.721, allocations: 8.73 MB / 0.7817 GB, free: 206.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002721/1.724, allocations: 0.8872 MB / 0.7826 GB, free: 206.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007209/1.725, allocations: 45.42 kB / 0.7826 GB, free: 206.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/1.727, allocations: 181.4 kB / 0.7828 GB, free: 206 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/1.727, allocations: 155.8 kB / 0.783 GB, free: 205.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.728, allocations: 73.62 kB / 0.783 GB, free: 205.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004939/1.732, allocations: 3.174 MB / 0.7861 GB, free: 202.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.732, allocations: 0 / 0.7861 GB, free: 202.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007581/1.74, allocations: 1.378 MB / 0.7875 GB, free: 201.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006217/1.741, allocations: 188.3 kB / 0.7877 GB, free: 201.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.752, allocations: 7.306 MB / 0.7948 GB, free: 193.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.752, allocations: 4 kB / 0.7948 GB, free: 193.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002871/1.755, allocations: 2.561 MB / 0.7973 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004612/1.759, allocations: 0.5694 MB / 0.7979 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/1.784, allocations: 16.14 MB / 0.8136 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003824/1.788, allocations: 4.094 MB / 0.8176 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001962/1.79, allocations: 371.4 kB / 0.818 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.854e-06/1.79, allocations: 0 / 0.818 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1632/1.953, allocations: 123.6 MB / 0.9387 GB, free: 46.5 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMassCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMassCalcHelperMain.o] Error 1