Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.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.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") translateModel(PlanarMechanics.Examples.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008772/0.0008775, allocations: 102.4 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.0009056/0.0009057, allocations: 174.4 kB / 16.58 MB, free: 6.102 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.501/1.501, allocations: 223.2 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2502/0.2502, allocations: 9.102 MB / 300.8 MB, free: 2.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 12 kB / 363.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 52.43 MB / 416.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.3025/0.4368, allocations: 40.22 MB / 456.4 MB, free: 19.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02277/0.4596, allocations: 8.914 MB / 465.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/0.4699, allocations: 159 kB / 465.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007303/0.4773, allocations: 1.973 MB / 467.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02087/0.4982, allocations: 6.931 MB / 474.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.5008, allocations: 166.6 kB / 474.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004842/0.5056, allocations: 3.469 MB / 478 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.5073, allocations: 1.014 MB / 479 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.509, allocations: 0.9965 MB / 480 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.5113, allocations: 1.593 MB / 481.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005086/0.5118, allocations: 165.6 kB / 481.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.5136, allocations: 0.6942 MB / 482.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.5155, allocations: 1.369 MB / 483.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.5166, allocations: 0.7816 MB / 484.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007057/0.5237, allocations: 4.446 MB / 489 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5237, allocations: 0 / 489 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5237, allocations: 1.125 kB / 489 MB, free: 4.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002385/0.524, allocations: 3.938 kB / 489 MB, free: 4.359 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: 1467 * Number of variables: 1467 Notification: Performance of Generate backend data structure: time 0.01146/0.5354, allocations: 3.82 MB / 492.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.5355, allocations: 9.5 kB / 492.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007492/0.543, allocations: 1.948 MB / 494.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/0.5466, allocations: 1.564 MB / 496.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.5468, allocations: 192.2 kB / 496.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000629/0.5475, allocations: 256.8 kB / 496.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.567, allocations: 9.772 MB / 0.4947 GB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.907e-05/0.5671, allocations: 27.72 kB / 0.4947 GB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003962/0.5675, allocations: 119.8 kB / 0.4949 GB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003884/0.5714, allocations: 2.303 MB / 0.4971 GB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/0.5891, allocations: 8.446 MB / 0.5054 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05637/0.6456, allocations: 30.7 MB / 0.5353 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.6558, allocations: 2.787 MB / 0.5381 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.6586, allocations: 1.04 MB / 0.5391 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/0.672, allocations: 5.84 MB / 0.5448 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.6721, allocations: 51.88 kB / 0.5448 GB, free: 4.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=159): time 6.532e-06/0.6721, allocations: 0 / 0.5448 GB, free: 4.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=181): time 0.02267/0.6948, allocations: 8.207 MB / 0.5528 GB, free: 12.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.6949, allocations: 64.72 kB / 0.5529 GB, free: 12.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005351/0.7003, allocations: 3.163 MB / 0.556 GB, free: 8.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.7005, allocations: 49.7 kB / 0.556 GB, free: 8.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00212/0.7026, allocations: 2.597 MB / 0.5586 GB, free: 6.172 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007777/0.7034, allocations: 0.6785 MB / 0.5592 GB, free: 5.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.7036, allocations: 100 kB / 0.5593 GB, free: 5.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003472/0.704, allocations: 0.5126 MB / 0.5598 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/0.7068, allocations: 1.544 MB / 0.5613 GB, free: 3.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/0.7121, allocations: 4.345 MB / 0.5656 GB, free: 13.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004291/0.7164, allocations: 2.562 MB / 0.5681 GB, free: 11.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.875e-05/0.7164, allocations: 32 kB / 0.5681 GB, free: 11 MB / 446.1 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.01099/0.7274, allocations: 5.992 MB / 0.574 GB, free: 4.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.509e-05/0.7276, allocations: 48 kB / 0.574 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/0.7277, allocations: 100 kB / 0.5741 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/0.7285, allocations: 359.5 kB / 0.5745 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/0.7318, allocations: 1.1 MB / 0.5755 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.32/1.052, allocations: 3.39 MB / 0.5788 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006326/1.058, allocations: 248.4 kB / 0.5791 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/1.06, allocations: 295.6 kB / 0.5794 GB, free: 119.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 30 (distance.arrowColor[3],distance.arrowColor[2],distance.arrowColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (597): * Single equations (assignments): 591 * Array equations: 5 * 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 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005508/1.065, allocations: 1.882 MB / 0.5812 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006649/1.066, allocations: 274.7 kB / 0.5815 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/1.07, allocations: 2.418 MB / 0.5838 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001626/1.07, allocations: 45.08 kB / 0.5839 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.07, allocations: 3.25 kB / 0.5839 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.07, allocations: 10.98 kB / 0.5839 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/1.085, allocations: 6.885 MB / 0.5906 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/1.085, allocations: 5.859 kB / 0.5906 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009523/1.086, allocations: 263.8 kB / 0.5909 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/1.087, allocations: 216 kB / 0.5911 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.45e-05/1.087, allocations: 36.66 kB / 0.5911 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002674/1.09, allocations: 2.713 MB / 0.5937 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/1.09, allocations: 11.56 kB / 0.5938 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/1.095, allocations: 3.719 MB / 0.5974 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.096, allocations: 360.2 kB / 0.5977 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/1.097, allocations: 33.06 kB / 0.5978 GB, free: 114.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009276/1.098, allocations: 82.09 kB / 0.5978 GB, free: 114.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/1.098, allocations: 107.9 kB / 0.5979 GB, free: 114.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.098, allocations: 57.5 kB / 0.598 GB, free: 114.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003919/1.102, allocations: 2.012 MB / 0.6 GB, free: 114.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.102, allocations: 0 / 0.6 GB, free: 114.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005153/1.107, allocations: 0.8386 MB / 0.6008 GB, free: 114.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (143): * Single equations (assignments): 137 * Array equations: 5 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000499/1.108, allocations: 171.4 kB / 0.6009 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006963/1.115, allocations: 3.807 MB / 0.6047 GB, free: 112.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.115, allocations: 0 / 0.6047 GB, free: 112.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/1.116, allocations: 1.202 MB / 0.6058 GB, free: 112.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.119, allocations: 430.6 kB / 0.6063 GB, free: 112 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/1.143, allocations: 9.982 MB / 0.616 GB, free: 106.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006865/1.15, allocations: 3.007 MB / 0.6189 GB, free: 105.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/1.152, allocations: 265.7 kB / 0.6192 GB, free: 105.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.903e-06/1.152, allocations: 0 / 0.6192 GB, free: 105.4 MB / 446.1 MB Notification: Performance of Templates: time 0.1135/1.266, allocations: 67.74 MB / 0.6853 GB, free: 50.96 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.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.PowerDistanceDemoCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemoCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemoCalcHelperMain.o] Error 1