Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008664/0.0008666, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.627/1.627, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2713/0.2713, allocations: 9.101 MB / 300.8 MB, free: 2.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003515, allocations: 20.2 kB / 363.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1407, allocations: 52.43 MB / 416.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.3555/0.4963, allocations: 21.15 MB / 437.3 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.5112, allocations: 5.134 MB / 442.4 MB, free: 29.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005861/0.5171, allocations: 81.62 kB / 442.5 MB, free: 29.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.5212, allocations: 1.008 MB / 443.5 MB, free: 29.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01499/0.5362, allocations: 3.528 MB / 447.1 MB, free: 27.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.5381, allocations: 107.7 kB / 447.2 MB, free: 27.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004371/0.5425, allocations: 2.672 MB / 449.8 MB, free: 26.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.544, allocations: 0.7501 MB / 450.6 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.5456, allocations: 0.7666 MB / 451.4 MB, free: 26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.5473, allocations: 1.239 MB / 452.6 MB, free: 25.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003324/0.5476, allocations: 124.9 kB / 452.7 MB, free: 25.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.5489, allocations: 0.5898 MB / 453.3 MB, free: 25.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.55, allocations: 1.068 MB / 454.4 MB, free: 25.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006406/0.5506, allocations: 0.6176 MB / 455 MB, free: 24.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00392/0.5546, allocations: 3.585 MB / 458.6 MB, free: 23.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.5546, allocations: 4 kB / 458.6 MB, free: 23.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.5546, allocations: 0 / 458.6 MB, free: 23.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.901e-05/0.5547, allocations: 0 / 458.6 MB, free: 23.82 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01362/0.5683, allocations: 4.211 MB / 462.8 MB, free: 22.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5684, allocations: 8.938 kB / 462.8 MB, free: 22.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007727/0.5761, allocations: 1.803 MB / 464.6 MB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/0.5806, allocations: 1.352 MB / 466 MB, free: 21.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.5808, allocations: 141.3 kB / 466.1 MB, free: 21.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007246/0.5815, allocations: 192.9 kB / 466.3 MB, free: 20.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02009/0.6016, allocations: 8.142 MB / 474.4 MB, free: 17.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.6018, allocations: 24.78 kB / 474.4 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003194/0.6021, allocations: 89.3 kB / 474.5 MB, free: 17.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004539/0.6066, allocations: 1.838 MB / 476.4 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02387/0.6305, allocations: 7.778 MB / 484.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05051/0.6811, allocations: 24.75 MB / 0.497 GB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008869/0.69, allocations: 2.663 MB / 0.4996 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.6919, allocations: 0.9885 MB / 0.5005 GB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006603/0.6986, allocations: 4.348 MB / 0.5048 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.6986, allocations: 47.55 kB / 0.5048 GB, free: 13.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 5.38e-06/0.6986, allocations: 4 kB / 0.5048 GB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.0158/0.7145, allocations: 7.484 MB / 0.5121 GB, free: 6.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.7146, allocations: 68.7 kB / 0.5122 GB, free: 6.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/0.719, allocations: 2.491 MB / 0.5146 GB, free: 3.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.7191, allocations: 53.64 kB / 0.5147 GB, free: 3.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.7208, allocations: 1.993 MB / 0.5166 GB, free: 1.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00064/0.7215, allocations: 0.6089 MB / 0.5172 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.7216, allocations: 72 kB / 0.5173 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003363/0.722, allocations: 478.5 kB / 0.5178 GB, free: 432 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.7243, allocations: 1.323 MB / 0.519 GB, free: 15.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003857/0.7282, allocations: 3.371 MB / 0.5223 GB, free: 10.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/0.7316, allocations: 2.14 MB / 0.5244 GB, free: 8.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.583e-05/0.7317, allocations: 20 kB / 0.5244 GB, free: 8.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009838/0.7415, allocations: 4.985 MB / 0.5293 GB, free: 3.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.13e-05/0.7416, allocations: 36.94 kB / 0.5294 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-05/0.7417, allocations: 75.95 kB / 0.5294 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.7429, allocations: 437.3 kB / 0.5298 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.7456, allocations: 0.8344 MB / 0.5307 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008604/0.7543, allocations: 5.454 MB / 0.536 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/0.7582, allocations: 188 kB / 0.5362 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005473/0.7588, allocations: 231.9 kB / 0.5364 GB, free: 12.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (456): * Single equations (assignments): 450 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,56.0%) 16,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003855/0.7627, allocations: 1.535 MB / 0.5379 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004941/0.7632, allocations: 213.2 kB / 0.5381 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004408/0.7676, allocations: 2.357 MB / 0.5404 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.683e-05/0.7677, allocations: 27.98 kB / 0.5404 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.7677, allocations: 4 kB / 0.5404 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.7678, allocations: 7.969 kB / 0.5404 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.7792, allocations: 6.088 MB / 0.5464 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7793, allocations: 3.938 kB / 0.5464 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009001/0.7802, allocations: 223.7 kB / 0.5466 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007101/0.7809, allocations: 273.4 kB / 0.5468 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.682e-05/0.781, allocations: 31.98 kB / 0.5469 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005416/0.7864, allocations: 4.343 MB / 0.5511 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.7865, allocations: 11.95 kB / 0.5511 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006145/0.7926, allocations: 3.519 MB / 0.5546 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000974/0.7936, allocations: 310.3 kB / 0.5549 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.7939, allocations: 24 kB / 0.5549 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/0.7946, allocations: 59.92 kB / 0.5549 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/0.7949, allocations: 101.1 kB / 0.555 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.795, allocations: 51.95 kB / 0.5551 GB, free: 8.391 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003196/0.7982, allocations: 1.611 MB / 0.5567 GB, free: 6.762 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7982, allocations: 0 / 0.5567 GB, free: 6.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00386/0.8021, allocations: 0.6797 MB / 0.5573 GB, free: 6.082 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,64.0%) 14,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004083/0.8025, allocations: 167.5 kB / 0.5575 GB, free: 5.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006634/0.8092, allocations: 3.487 MB / 0.5609 GB, free: 2.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.8092, allocations: 0 / 0.5609 GB, free: 2.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.8115, allocations: 1.329 MB / 0.5622 GB, free: 1.062 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.8138, allocations: 357.1 kB / 0.5625 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.8288, allocations: 8.198 MB / 0.5705 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003522/0.8323, allocations: 2.554 MB / 0.573 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009576/0.8333, allocations: 207.4 kB / 0.5732 GB, free: 5.668 MB / 446.1 MB Notification: Performance of SimCode: time 1.974e-06/0.8333, allocations: 0 / 0.5732 GB, free: 5.668 MB / 446.1 MB Notification: Performance of Templates: time 0.3888/1.222, allocations: 70.49 MB / 0.6421 GB, free: 92.73 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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 OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheelCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheelCalcHelperMain.o] Error 1