Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008112/0.0008111, allocations: 99.59 kB / 15.71 MB, free: 452 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.0009346/0.0009349, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.614/1.614, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1883/0.1883, allocations: 9.101 MB / 300.8 MB, free: 2.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 8 kB / 363.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 52.43 MB / 416.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.2739/0.3855, allocations: 28.03 MB / 444.2 MB, free: 28.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.4031, allocations: 6.533 MB / 450.7 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00864/0.4119, allocations: 110.4 kB / 450.8 MB, free: 23.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005002/0.4169, allocations: 1.375 MB / 452.2 MB, free: 23.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01475/0.4317, allocations: 4.842 MB / 457 MB, free: 21.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.4332, allocations: 141.5 kB / 457.2 MB, free: 21.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.4369, allocations: 2.775 MB / 460 MB, free: 19.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.4381, allocations: 0.8762 MB / 460.8 MB, free: 19.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.4392, allocations: 0.7949 MB / 461.6 MB, free: 19.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.4408, allocations: 1.283 MB / 462.9 MB, free: 18.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003038/0.4412, allocations: 134.2 kB / 463 MB, free: 18.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.4425, allocations: 0.66 MB / 463.7 MB, free: 18.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009939/0.4435, allocations: 1.103 MB / 464.8 MB, free: 18.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.4441, allocations: 0.6449 MB / 465.4 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00329/0.4474, allocations: 3.726 MB / 469.2 MB, free: 17.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4474, allocations: 0 / 469.2 MB, free: 17.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4474, allocations: 3 kB / 469.2 MB, free: 17.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.755e-05/0.4475, allocations: 0 / 469.2 MB, free: 17.08 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: 1181 * Number of variables: 1181 Notification: Performance of Generate backend data structure: time 0.008813/0.4563, allocations: 3.679 MB / 472.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/0.4564, allocations: 9.578 kB / 472.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007701/0.4641, allocations: 1.809 MB / 474.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.467, allocations: 1.322 MB / 476 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.4672, allocations: 149.4 kB / 476.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/0.4676, allocations: 195 kB / 476.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/0.4847, allocations: 8.181 MB / 484.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.648e-05/0.4849, allocations: 28.56 kB / 484.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/0.4852, allocations: 93.73 kB / 484.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003935/0.4892, allocations: 1.918 MB / 486.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.5071, allocations: 7.412 MB / 494 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03993/0.5471, allocations: 24.91 MB / 0.5067 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005534/0.5527, allocations: 2.405 MB / 0.5091 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.5543, allocations: 0.8676 MB / 0.5099 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006826/0.5611, allocations: 4.438 MB / 0.5142 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.5612, allocations: 47.56 kB / 0.5143 GB, free: 4.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 2.815e-06/0.5612, allocations: 3.938 kB / 0.5143 GB, free: 4.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=144): time 0.01061/0.5718, allocations: 4.657 MB / 0.5188 GB, free: 15.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.5719, allocations: 68.34 kB / 0.5189 GB, free: 15.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003615/0.5755, allocations: 2.472 MB / 0.5213 GB, free: 12.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.749e-05/0.5756, allocations: 45.7 kB / 0.5214 GB, free: 12.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.5771, allocations: 2.078 MB / 0.5234 GB, free: 10.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004714/0.5776, allocations: 0.5281 MB / 0.5239 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.5777, allocations: 76 kB / 0.524 GB, free: 10.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002798/0.578, allocations: 462 kB / 0.5244 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.58, allocations: 1.229 MB / 0.5256 GB, free: 8.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003499/0.5836, allocations: 3.294 MB / 0.5288 GB, free: 4.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/0.5864, allocations: 2.003 MB / 0.5308 GB, free: 2.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-05/0.5864, allocations: 28 kB / 0.5308 GB, free: 2.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007574/0.594, allocations: 4.61 MB / 0.5353 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/0.5941, allocations: 36 kB / 0.5354 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.645e-05/0.5941, allocations: 72.09 kB / 0.5354 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.5947, allocations: 244.7 kB / 0.5357 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002318/0.597, allocations: 0.8304 MB / 0.5365 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.6001, allocations: 2.634 MB / 0.539 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.6025, allocations: 191.9 kB / 0.5392 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/0.6028, allocations: 224 kB / 0.5394 GB, free: 9.199 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 21 (worldForce.arrowTorque.twoHeadedArrow,worldForce.arrowTorque.headAtOrigin,worldForce.arrowForce.twoHeadedArrow,worldForce.arrowForce.headAtOrigin,cutForce.arrowForce.twoHeadedArrow,cutForce.arrowForce.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (445): * Single equations (assignments): 440 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002677/0.6055, allocations: 1.57 MB / 0.541 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.6058, allocations: 213.2 kB / 0.5412 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.609, allocations: 1.948 MB / 0.5431 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.869e-05/0.6091, allocations: 27.98 kB / 0.5431 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6092, allocations: 4 kB / 0.5431 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.6092, allocations: 7.969 kB / 0.5431 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009313/0.6185, allocations: 5.839 MB / 0.5488 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.6185, allocations: 4 kB / 0.5488 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008361/0.6194, allocations: 220.1 kB / 0.549 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003657/0.6197, allocations: 136.7 kB / 0.5492 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.6198, allocations: 28 kB / 0.5492 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.6224, allocations: 2.286 MB / 0.5514 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6224, allocations: 8.062 kB / 0.5514 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.6269, allocations: 3.067 MB / 0.5544 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006327/0.6276, allocations: 302.2 kB / 0.5547 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.6278, allocations: 32 kB / 0.5547 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/0.6285, allocations: 83.83 kB / 0.5548 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.6287, allocations: 84.95 kB / 0.5549 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/0.6288, allocations: 44.09 kB / 0.5549 GB, free: 8.922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002459/0.6313, allocations: 1.595 MB / 0.5565 GB, free: 7.309 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6313, allocations: 0 / 0.5565 GB, free: 7.309 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003025/0.6343, allocations: 0.6484 MB / 0.5571 GB, free: 6.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (109): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003603/0.6347, allocations: 159.5 kB / 0.5573 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004703/0.6394, allocations: 3.002 MB / 0.5602 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6394, allocations: 0 / 0.5602 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.6408, allocations: 1.017 MB / 0.5612 GB, free: 2.473 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.6425, allocations: 384.5 kB / 0.5616 GB, free: 2.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.6542, allocations: 8.035 MB / 0.5694 GB, free: 9.988 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002751/0.657, allocations: 2.598 MB / 0.572 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/0.6577, allocations: 199.4 kB / 0.5722 GB, free: 7.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.296e-06/0.6577, allocations: 0 / 0.5722 GB, free: 7.16 MB / 446.1 MB Notification: Performance of Templates: time 0.3521/1.01, allocations: 55.49 MB / 0.6263 GB, free: 104.9 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.Examples.PendulumExcitedCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.PendulumExcitedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.PendulumExcitedCalcHelperMain.o] Error 1