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.001605/0.001605, allocations: 104.1 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.001541/0.001541, allocations: 199.7 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.959/1.959, 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.2585/0.2585, allocations: 43.52 MB / 314.1 MB, free: 0.7656 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.001426/0.001426, allocations: 70.94 kB / 382.7 MB, free: 57.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1478, allocations: 57.79 MB / 440.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.05993/0.2077, allocations: 63.95 MB / 0.4926 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03872/0.2465, allocations: 13.11 MB / 0.5054 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01906/0.2656, allocations: 279.3 kB / 0.5057 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00827/0.274, allocations: 4.013 MB / 0.5096 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.2824, allocations: 2.215 MB / 0.5118 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.2855, allocations: 1.073 MB / 0.5128 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01262/0.2982, allocations: 8.875 MB / 0.5215 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007341/0.3055, allocations: 4.625 MB / 0.526 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005545/0.3111, allocations: 2.009 MB / 0.5279 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3866/0.6978, allocations: 3.229 MB / 0.5311 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002229/0.7001, allocations: 326.3 kB / 0.5314 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/0.7048, allocations: 1.496 MB / 0.5329 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00526/0.7101, allocations: 2.613 MB / 0.5354 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007258/0.7174, allocations: 2.905 MB / 0.5383 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01605/0.7335, allocations: 7.382 MB / 0.5455 GB, free: 7.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.7336, allocations: 0 / 0.5455 GB, free: 7.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.7336, allocations: 2.406 kB / 0.5455 GB, free: 7.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005879/0.7342, allocations: 3.062 kB / 0.5455 GB, free: 7.184 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.03469/0.7689, allocations: 6.767 MB / 0.5521 GB, free: 4.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.7689, allocations: 10.06 kB / 0.5521 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02723/0.7962, allocations: 3.295 MB / 0.5553 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/0.8121, allocations: 4.202 MB / 0.5594 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007421/0.8129, allocations: 310.3 kB / 0.5597 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004246/0.8172, allocations: 430.1 kB / 0.5601 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03492/0.8521, allocations: 13.86 MB / 0.5737 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002117/0.8524, allocations: 51.62 kB / 0.5737 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007281/0.8531, allocations: 201.1 kB / 0.5739 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004215/0.8573, allocations: 2.527 MB / 0.5764 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02839/0.8857, allocations: 11.79 MB / 0.5879 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1009/0.9866, allocations: 53.74 MB / 0.6404 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0191/1.006, allocations: 5.911 MB / 0.6461 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006911/1.013, allocations: 3.591 MB / 0.6496 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03465/1.047, allocations: 15.44 MB / 0.6647 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.946e-05/1.048, allocations: 68.92 kB / 0.6648 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 6.693e-06/1.048, allocations: 0 / 0.6648 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.1192/1.167, allocations: 28.62 MB / 0.6927 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000268/1.167, allocations: 257.3 kB / 0.693 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009888/1.177, allocations: 5.092 MB / 0.698 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001082/1.178, allocations: 65.7 kB / 0.698 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003567/1.182, allocations: 3.891 MB / 0.7018 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002032/1.184, allocations: 1.003 MB / 0.7028 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002554/1.186, allocations: 1.548 MB / 0.7043 GB, free: 15.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.187, allocations: 311.6 kB / 0.7046 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005008/1.192, allocations: 3.013 MB / 0.7076 GB, free: 12.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008836/1.2, allocations: 7.335 MB / 0.7147 GB, free: 3.059 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0173/1.218, allocations: 11.1 MB / 0.7256 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002647/1.218, allocations: 43.98 kB / 0.7256 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.3814/1.599, allocations: 11.19 MB / 0.7365 GB, free: 226.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/1.6, allocations: 70.39 kB / 0.7366 GB, free: 226.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002356/1.6, allocations: 153.5 kB / 0.7367 GB, free: 226.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00389/1.604, allocations: 1.227 MB / 0.7379 GB, free: 226.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009983/1.614, allocations: 1.832 MB / 0.7397 GB, free: 226.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/1.625, allocations: 7.777 MB / 0.7473 GB, free: 224.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009956/1.635, allocations: 430.6 kB / 0.7477 GB, free: 224.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002555/1.637, allocations: 449.7 kB / 0.7482 GB, free: 224.1 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.008772/1.646, allocations: 2.638 MB / 0.7507 GB, free: 223.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00195/1.648, allocations: 465.7 kB / 0.7512 GB, free: 223.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.66, allocations: 5.238 MB / 0.7563 GB, free: 221.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.347e-05/1.66, allocations: 31.44 kB / 0.7563 GB, free: 221.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/1.66, allocations: 11 kB / 0.7563 GB, free: 221.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.334e-05/1.66, allocations: 11.25 kB / 0.7563 GB, free: 221.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03136/1.692, allocations: 11.75 MB / 0.7678 GB, free: 215.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-05/1.692, allocations: 0 / 0.7678 GB, free: 215.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/1.695, allocations: 0.4968 MB / 0.7683 GB, free: 215.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/1.698, allocations: 0.9863 MB / 0.7693 GB, free: 214.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004383/1.698, allocations: 50.31 kB / 0.7693 GB, free: 214.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008633/1.707, allocations: 7.11 MB / 0.7763 GB, free: 208 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.707, allocations: 7.938 kB / 0.7763 GB, free: 208 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/1.724, allocations: 8.724 MB / 0.7848 GB, free: 199.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003562/1.727, allocations: 0.8772 MB / 0.7856 GB, free: 198.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002395/1.73, allocations: 47.81 kB / 0.7857 GB, free: 198.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004096/1.734, allocations: 177.6 kB / 0.7859 GB, free: 198.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006856/1.735, allocations: 145.4 kB / 0.786 GB, free: 198.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003659/1.735, allocations: 73.08 kB / 0.7861 GB, free: 198.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.008674/1.744, allocations: 3.178 MB / 0.7892 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.082e-06/1.744, allocations: 0 / 0.7892 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01235/1.756, allocations: 1.374 MB / 0.7905 GB, free: 193.8 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.001568/1.758, allocations: 193.5 kB / 0.7907 GB, free: 193.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01498/1.773, allocations: 7.318 MB / 0.7978 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.773, allocations: 0 / 0.7978 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004092/1.777, allocations: 2.567 MB / 0.8004 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007406/1.784, allocations: 0.5594 MB / 0.8009 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03348/1.818, allocations: 16.03 MB / 0.8166 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004155/1.822, allocations: 4.098 MB / 0.8206 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/1.824, allocations: 371.4 kB / 0.8209 GB, free: 163 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/1.824, allocations: 4 kB / 0.8209 GB, free: 163 MB / 0.5606 GB Notification: Performance of Templates: time 0.2317/2.056, allocations: 124.7 MB / 0.9427 GB, free: 38.1 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