Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.00111, allocations: 97.77 kB / 17.96 MB, free: 5.77 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.001193/0.001193, allocations: 176.4 kB / 18.86 MB, free: 4.906 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.883/1.883, allocations: 205.4 MB / 225 MB, free: 12.99 MB / 190.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.0004757/0.0004757, allocations: 11.94 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.05377/0.1818, allocations: 49.46 MB / 379.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3534/0.5353, allocations: 10.85 MB / 389.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01481/0.5502, allocations: 226.6 kB / 390.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.553, allocations: 494.2 kB / 390.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008238/0.5612, allocations: 1.914 MB / 392.5 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.5641, allocations: 0.7391 MB / 393.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01462/0.5787, allocations: 7.518 MB / 400.8 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008776/0.5875, allocations: 5.42 MB / 406.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.5912, allocations: 1.302 MB / 407.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004042/0.5952, allocations: 2.235 MB / 409.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006729/0.5959, allocations: 157.2 kB / 409.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.5987, allocations: 1.091 MB / 411 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002273/0.601, allocations: 1.958 MB / 413 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002884/0.6039, allocations: 2.194 MB / 415.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00798/0.6119, allocations: 6.133 MB / 421.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6119, allocations: 4 kB / 421.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6119, allocations: 0 / 421.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002478/0.6122, allocations: 0 / 421.3 MB, free: 10.13 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01143/0.6236, allocations: 4.427 MB / 425.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.6237, allocations: 12.03 kB / 425.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02764/0.6514, allocations: 3.274 MB / 429 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.6621, allocations: 3.671 MB / 432.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.6624, allocations: 247.7 kB / 432.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.6639, allocations: 335.8 kB / 433.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/0.6862, allocations: 10.38 MB / 443.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/0.6865, allocations: 51.58 kB / 443.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005226/0.687, allocations: 158.6 kB / 443.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004253/0.6913, allocations: 2.028 MB / 445.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/0.7122, allocations: 8.916 MB / 454.8 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06257/0.7748, allocations: 39.85 MB / 494.6 MB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.785, allocations: 4.06 MB / 498.7 MB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/0.7886, allocations: 2.231 MB / 0.4892 GB, free: 8.883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007994/0.7894, allocations: 0.6508 MB / 0.4898 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.7895, allocations: 55.5 kB / 0.4899 GB, free: 8.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=175): time 5.22e-06/0.7895, allocations: 0 / 0.4899 GB, free: 8.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.06826/0.8578, allocations: 22.96 MB / 0.5123 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001981/0.858, allocations: 248.8 kB / 0.5125 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007332/0.8654, allocations: 4.263 MB / 0.5167 GB, free: 12.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006899/0.8661, allocations: 61.64 kB / 0.5167 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002846/0.869, allocations: 3.201 MB / 0.5199 GB, free: 9.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/0.8703, allocations: 0.7997 MB / 0.5206 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007956/0.8711, allocations: 0.539 MB / 0.5212 GB, free: 7.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8713, allocations: 305.1 kB / 0.5215 GB, free: 7.492 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003969/0.8752, allocations: 2.554 MB / 0.524 GB, free: 4.934 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007061/0.8823, allocations: 6.126 MB / 0.5299 GB, free: 13.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/0.8952, allocations: 9.294 MB / 0.539 GB, free: 2.012 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/0.8953, allocations: 36 kB / 0.539 GB, free: 1.977 MB / 462.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.3366/1.232, allocations: 10.76 MB / 0.5496 GB, free: 172.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/1.232, allocations: 58 kB / 0.5496 GB, free: 172.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002921/1.232, allocations: 124.5 kB / 0.5497 GB, free: 172.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008688/1.241, allocations: 2.614 MB / 0.5523 GB, free: 172.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005039/1.246, allocations: 1.352 MB / 0.5536 GB, free: 172.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/1.268, allocations: 17.22 MB / 0.5704 GB, free: 163.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006162/1.274, allocations: 372.1 kB / 0.5708 GB, free: 163.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00097/1.275, allocations: 369.5 kB / 0.5711 GB, free: 163.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.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 (731): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.004135/1.279, allocations: 2.226 MB / 0.5733 GB, free: 162.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008141/1.28, allocations: 383.2 kB / 0.5737 GB, free: 162.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008862/1.289, allocations: 5.153 MB / 0.5787 GB, free: 157.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.143e-05/1.289, allocations: 26.27 kB / 0.5787 GB, free: 157.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/1.289, allocations: 8 kB / 0.5787 GB, free: 157.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/1.289, allocations: 9.047 kB / 0.5787 GB, free: 157.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.307, allocations: 11.11 MB / 0.5896 GB, free: 146.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/1.307, allocations: 9.484 kB / 0.5896 GB, free: 146.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.309, allocations: 299.5 kB / 0.5899 GB, free: 145.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004648/1.313, allocations: 1.859 MB / 0.5917 GB, free: 144 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/1.314, allocations: 32 kB / 0.5917 GB, free: 143.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/1.325, allocations: 9.7 MB / 0.6012 GB, free: 134.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.326, allocations: 7.781 kB / 0.6012 GB, free: 134.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.338, allocations: 8.344 MB / 0.6094 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002198/1.34, allocations: 0.7887 MB / 0.6101 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004388/1.34, allocations: 33.41 kB / 0.6102 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.342, allocations: 141.1 kB / 0.6103 GB, free: 124.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004293/1.342, allocations: 128.9 kB / 0.6104 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.343, allocations: 57.31 kB / 0.6105 GB, free: 124.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003729/1.346, allocations: 2.688 MB / 0.6131 GB, free: 122 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.346, allocations: 0 / 0.6131 GB, free: 122 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005585/1.352, allocations: 1.206 MB / 0.6143 GB, free: 120.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (157): * Single equations (assignments): 153 * 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 {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004698/1.352, allocations: 171.7 kB / 0.6144 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009345/1.362, allocations: 6.63 MB / 0.6209 GB, free: 113.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.362, allocations: 4 kB / 0.6209 GB, free: 113.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002792/1.365, allocations: 2.244 MB / 0.6231 GB, free: 111.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/1.369, allocations: 0.5208 MB / 0.6236 GB, free: 111.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/1.388, allocations: 13.45 MB / 0.6367 GB, free: 97.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/1.391, allocations: 3.508 MB / 0.6402 GB, free: 94.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.392, allocations: 295.4 kB / 0.6405 GB, free: 93.85 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/1.392, allocations: 0 / 0.6405 GB, free: 93.85 MB / 462.1 MB Notification: Performance of Templates: time 0.3947/1.787, allocations: 103.9 MB / 0.7419 GB, free: 159 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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 OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.o] Error 1