Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009921/0.000992, allocations: 98.55 kB / 17.96 MB, free: 5.746 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.001222/0.001222, allocations: 174.8 kB / 18.86 MB, free: 4.891 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.017/2.017, allocations: 205.4 MB / 225 MB, free: 13.06 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.0005306/0.0005309, allocations: 8 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1432, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.4003/0.5436, allocations: 73.6 MB / 403.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05169/0.5954, allocations: 14.92 MB / 418.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02588/0.6213, allocations: 334.9 kB / 418.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.6248, allocations: 0.5971 MB / 419.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.6353, allocations: 2.403 MB / 421.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.6393, allocations: 1.062 MB / 422.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01862/0.6579, allocations: 10.51 MB / 433 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.6715, allocations: 7.38 MB / 440.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00585/0.6774, allocations: 1.889 MB / 442.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007547/0.685, allocations: 3.182 MB / 445.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.6866, allocations: 216 kB / 445.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.6908, allocations: 1.267 MB / 447 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004328/0.6952, allocations: 2.658 MB / 449.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007323/0.7025, allocations: 2.988 MB / 452.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.7164, allocations: 7.947 MB / 460.6 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.7165, allocations: 0 / 460.6 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.7165, allocations: 0 / 460.6 MB, free: 272 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005388/0.7171, allocations: 0 / 460.6 MB, free: 272 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.02022/0.7373, allocations: 6.324 MB / 466.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.305e-05/0.7374, allocations: 12.03 kB / 466.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01722/0.7546, allocations: 3.244 MB / 470.1 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/0.7678, allocations: 4.875 MB / 475 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/0.7682, allocations: 341.7 kB / 475.3 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002147/0.7704, allocations: 472.3 kB / 475.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03698/0.8074, allocations: 14.59 MB / 490.4 MB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006603/0.8081, allocations: 71.33 kB / 490.5 MB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003202/0.8113, allocations: 211 kB / 490.7 MB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006839/0.8182, allocations: 2.84 MB / 493.5 MB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.032/0.8502, allocations: 13.25 MB / 0.4949 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4114/1.262, allocations: 58.51 MB / 0.552 GB, free: 129.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0205/1.282, allocations: 7.738 MB / 0.5596 GB, free: 129.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006572/1.289, allocations: 5.052 MB / 0.5645 GB, free: 127.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02013/1.309, allocations: 12.81 MB / 0.577 GB, free: 122.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.542e-05/1.309, allocations: 70.42 kB / 0.5771 GB, free: 122.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 7.935e-06/1.309, allocations: 0 / 0.5771 GB, free: 122.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.29/3.599, allocations: 407.3 MB / 0.9748 GB, free: 109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/3.599, allocations: 273.6 kB / 0.9751 GB, free: 108.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007828/3.607, allocations: 5.49 MB / 0.9804 GB, free: 103.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002106/3.609, allocations: 113.7 kB / 0.9805 GB, free: 103.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002315/3.611, allocations: 3.935 MB / 0.9844 GB, free: 99.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003133/3.615, allocations: 2.015 MB / 0.9864 GB, free: 98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/3.616, allocations: 0.8242 MB / 0.9872 GB, free: 97.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/3.616, allocations: 305.1 kB / 0.9875 GB, free: 96.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01342/3.63, allocations: 11.06 MB / 0.9983 GB, free: 85.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01798/3.648, allocations: 15.24 MB / 1.013 GB, free: 68.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03326/3.681, allocations: 27.45 MB / 1.04 GB, free: 39.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/3.681, allocations: 44 kB / 1.04 GB, free: 39.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.6365/4.318, allocations: 141.1 MB / 1.178 GB, free: 66.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/4.318, allocations: 67.47 kB / 1.178 GB, free: 66.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/4.318, allocations: 140 kB / 1.178 GB, free: 66.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08605/4.404, allocations: 34.75 MB / 1.212 GB, free: 31.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005299/4.41, allocations: 1.567 MB / 1.213 GB, free: 30.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8995/5.309, allocations: 190.7 MB / 1.4 GB, free: 136.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01778/5.327, allocations: 1.723 MB / 1.401 GB, free: 136.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003134/5.33, allocations: 0.5336 MB / 1.402 GB, free: 136.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (840): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.009489/5.34, allocations: 3.101 MB / 1.405 GB, free: 136 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001963/5.342, allocations: 0.572 MB / 1.405 GB, free: 136 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.331/5.673, allocations: 136.7 MB / 1.539 GB, free: 33.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001409/5.673, allocations: 56 kB / 1.539 GB, free: 33.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002336/5.673, allocations: 60 kB / 1.539 GB, free: 33.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001607/5.673, allocations: 30.3 kB / 1.539 GB, free: 33.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.022/6.695, allocations: 206.2 MB / 1.74 GB, free: 133.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.629e-05/6.695, allocations: 9 kB / 1.74 GB, free: 133.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/6.697, allocations: 330.3 kB / 1.741 GB, free: 133.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08311/6.78, allocations: 33.92 MB / 1.774 GB, free: 132.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002364/6.783, allocations: 103.5 kB / 1.774 GB, free: 132.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5292/7.312, allocations: 173.5 MB / 1.943 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/7.312, allocations: 8.75 kB / 1.943 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6524/7.964, allocations: 152.5 MB / 2.092 GB, free: 126.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008427/7.973, allocations: 3.007 MB / 2.095 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002988/7.976, allocations: 103.4 kB / 2.095 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01057/7.986, allocations: 1.487 MB / 2.097 GB, free: 125.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004295/7.991, allocations: 0.4942 MB / 2.097 GB, free: 125.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001178/7.992, allocations: 142 kB / 2.098 GB, free: 125.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006924/7.999, allocations: 3.507 MB / 2.101 GB, free: 124.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.91e-07/7.999, allocations: 2.344 kB / 2.101 GB, free: 124.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01902/8.018, allocations: 3.859 MB / 2.105 GB, free: 123.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (j1.phi,j1.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 (165): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,157,40.5%), (16,99,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,86)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002664/8.02, allocations: 241.1 kB / 2.105 GB, free: 123.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.06568/8.086, allocations: 33.71 MB / 2.138 GB, free: 92.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/8.086, allocations: 3.062 kB / 2.138 GB, free: 92.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04427/8.13, allocations: 20.51 MB / 2.158 GB, free: 71.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01536/8.146, allocations: 0.7486 MB / 2.159 GB, free: 70.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05242/8.198, allocations: 31.05 MB / 2.189 GB, free: 39.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007068/8.205, allocations: 5.074 MB / 2.194 GB, free: 34.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/8.207, allocations: 359.4 kB / 2.194 GB, free: 34.36 MB / 462.1 MB Notification: Performance of SimCode: time 1.563e-06/8.207, allocations: 0 / 2.194 GB, free: 34.36 MB / 462.1 MB Notification: Performance of Templates: time 1.003/9.21, allocations: 254.6 MB / 2.443 GB, free: 114.1 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Loops.Fourbar1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.o] Error 1