Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 108.3 kB / 16.52 MB, free: 6.73 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.001052/0.001052, allocations: 195.7 kB / 17.44 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.2529/0.2529, allocations: 43.52 MB / 314.1 MB, free: 0.7617 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.001404/0.001404, allocations: 62.67 kB / 382.7 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1517, allocations: 57.8 MB / 440.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.06255/0.2143, allocations: 68.46 MB / 0.497 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04072/0.255, allocations: 14.25 MB / 0.5109 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02111/0.2762, allocations: 311.2 kB / 0.5112 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.2877, allocations: 5.151 MB / 0.5162 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009453/0.2972, allocations: 2.487 MB / 0.5187 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00414/0.3013, allocations: 1.283 MB / 0.5199 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01804/0.3194, allocations: 10.92 MB / 0.5306 GB, free: 328 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4046/0.7241, allocations: 6.876 MB / 0.5373 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01112/0.7353, allocations: 2.446 MB / 0.5397 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01164/0.747, allocations: 3.969 MB / 0.5436 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005797/0.7529, allocations: 427.7 kB / 0.544 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009644/0.7626, allocations: 1.658 MB / 0.5456 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009731/0.7724, allocations: 3.164 MB / 0.5487 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01208/0.7845, allocations: 3.505 MB / 0.5521 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.8017, allocations: 9.596 MB / 0.5615 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.8018, allocations: 0 / 0.5615 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8018, allocations: 0 / 0.5615 GB, free: 2.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006751/0.8025, allocations: 6.375 kB / 0.5615 GB, free: 2.086 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.03868/0.8412, allocations: 7.924 MB / 0.5692 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.8412, allocations: 8.125 kB / 0.5692 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/0.859, allocations: 3.048 MB / 0.5722 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01655/0.8756, allocations: 5.178 MB / 0.5773 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000637/0.8763, allocations: 377.5 kB / 0.5776 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003924/0.8803, allocations: 0.512 MB / 0.5781 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04723/0.9275, allocations: 15.52 MB / 0.5933 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005605/0.9281, allocations: 70.47 kB / 0.5933 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003644/0.9318, allocations: 236.6 kB / 0.5936 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005073/0.9369, allocations: 2.544 MB / 0.5961 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03434/0.9713, allocations: 13.1 MB / 0.6089 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.08, allocations: 57.61 MB / 0.6651 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/1.099, allocations: 6.377 MB / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005464/1.104, allocations: 3.439 MB / 0.6747 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02453/1.129, allocations: 11.57 MB / 0.686 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.546e-05/1.129, allocations: 63.03 kB / 0.6861 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 7.033e-06/1.129, allocations: 0 / 0.6861 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1595/1.288, allocations: 39.58 MB / 0.7247 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/1.288, allocations: 243.9 kB / 0.7249 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/1.299, allocations: 5.746 MB / 0.7306 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001259/1.3, allocations: 77.7 kB / 0.7306 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.331/1.632, allocations: 4.354 MB / 0.7349 GB, free: 225.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002937/1.635, allocations: 1.257 MB / 0.7361 GB, free: 224.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004001/1.639, allocations: 1.754 MB / 0.7378 GB, free: 224.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/1.639, allocations: 302.2 kB / 0.7381 GB, free: 224.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008579/1.647, allocations: 4.084 MB / 0.7421 GB, free: 224.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01337/1.661, allocations: 8.675 MB / 0.7506 GB, free: 217.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02164/1.682, allocations: 13.56 MB / 0.7638 GB, free: 207.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00043/1.683, allocations: 46.22 kB / 0.7639 GB, free: 207.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.04773/1.731, allocations: 16.39 MB / 0.7799 GB, free: 201.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004963/1.731, allocations: 72.56 kB / 0.7799 GB, free: 201.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006488/1.732, allocations: 159 kB / 0.7801 GB, free: 201.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01597/1.748, allocations: 4.28 MB / 0.7843 GB, free: 199.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00763/1.756, allocations: 1.899 MB / 0.7861 GB, free: 197.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03187/1.787, allocations: 20.18 MB / 0.8058 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008913/1.796, allocations: 0.5048 MB / 0.8063 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002384/1.799, allocations: 484 kB / 0.8068 GB, free: 178.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1031): * Single equations (assignments): 1027 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009866/1.809, allocations: 3.137 MB / 0.8098 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002084/1.811, allocations: 0.5129 MB / 0.8103 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02385/1.835, allocations: 10.11 MB / 0.8202 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.421e-05/1.835, allocations: 40.5 kB / 0.8202 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.506e-05/1.835, allocations: 16.81 kB / 0.8203 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.609e-05/1.835, allocations: 11.95 kB / 0.8203 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0486/1.884, allocations: 20.19 MB / 0.84 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.847e-05/1.884, allocations: 8 kB / 0.84 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00269/1.886, allocations: 0.4914 MB / 0.8405 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01213/1.899, allocations: 3.846 MB / 0.8442 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009388/1.9, allocations: 64 kB / 0.8443 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02443/1.924, allocations: 17.8 MB / 0.8617 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.924, allocations: 11.94 kB / 0.8617 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02681/1.951, allocations: 14.9 MB / 0.8762 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003816/1.955, allocations: 1.174 MB / 0.8774 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002398/1.957, allocations: 60 kB / 0.8774 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004422/1.962, allocations: 233.7 kB / 0.8777 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/1.963, allocations: 229.1 kB / 0.8779 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006343/1.964, allocations: 91.98 kB / 0.878 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.008103/1.972, allocations: 3.624 MB / 0.8815 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.012e-06/1.972, allocations: 3.938 kB / 0.8815 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01117/1.983, allocations: 1.789 MB / 0.8833 GB, free: 99.95 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/1.984, allocations: 263.9 kB / 0.8835 GB, free: 99.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01627/2.001, allocations: 9.789 MB / 0.8931 GB, free: 89.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/2.001, allocations: 4 kB / 0.8931 GB, free: 89.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006503/2.007, allocations: 3.799 MB / 0.8968 GB, free: 86.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009125/2.016, allocations: 0.6878 MB / 0.8975 GB, free: 85.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04054/2.057, allocations: 19.75 MB / 0.9167 GB, free: 65.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008215/2.065, allocations: 4.796 MB / 0.9214 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/2.067, allocations: 411.3 kB / 0.9218 GB, free: 60.31 MB / 0.5606 GB Notification: Performance of SimCode: time 1.243e-06/2.067, allocations: 0 / 0.9218 GB, free: 60.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.4955/2.563, allocations: 123 MB / 1.042 GB, free: 152.8 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSPCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.o] Error 1