Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009026, allocations: 87.72 kB / 17.58 MB, free: 5.758 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.0008137/0.0008138, allocations: 183.2 kB / 18.48 MB, free: 5.207 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.752/1.752, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004547/0.0004547, allocations: 8 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1095, allocations: 47.58 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.04282/0.1524, allocations: 50.28 MB / 379.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.252/0.4045, allocations: 11.28 MB / 390.5 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01364/0.4182, allocations: 240.2 kB / 390.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01075/0.429, allocations: 2.573 MB / 393.4 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02594/0.455, allocations: 7.719 MB / 401.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005156/0.4602, allocations: 0.9126 MB / 402 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0469/0.5071, allocations: 35.7 MB / 437.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0117/0.5188, allocations: 6.588 MB / 444.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004276/0.5232, allocations: 1.648 MB / 445.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004876/0.5281, allocations: 2.542 MB / 448.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.5295, allocations: 188 kB / 448.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/0.533, allocations: 1.18 MB / 449.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003163/0.5362, allocations: 2.193 MB / 452 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.538, allocations: 1.033 MB / 453.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.5482, allocations: 7.441 MB / 460.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.5482, allocations: 0 / 460.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5482, allocations: 0 / 460.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003315/0.5486, allocations: 0 / 460.5 MB, free: 14.11 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01601/0.5646, allocations: 5.002 MB / 465.5 MB, free: 9.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.818e-05/0.5647, allocations: 12.03 kB / 465.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.5759, allocations: 2.598 MB / 468.1 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00919/0.5852, allocations: 3.773 MB / 471.9 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.5855, allocations: 313.9 kB / 472.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.5874, allocations: 438.8 kB / 472.6 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02649/0.6139, allocations: 12.41 MB / 485 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001758/0.6141, allocations: 49.22 kB / 485.1 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/0.6147, allocations: 193.5 kB / 485.3 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003106/0.6178, allocations: 2.034 MB / 487.3 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02341/0.6412, allocations: 10.54 MB / 497.8 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06275/0.7041, allocations: 44.36 MB / 0.5295 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/0.7167, allocations: 4.872 MB / 0.5342 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003158/0.7199, allocations: 2.008 MB / 0.5362 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2577/0.9776, allocations: 7.098 MB / 0.5431 GB, free: 163.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.955e-05/0.9777, allocations: 56.09 kB / 0.5432 GB, free: 163.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.14e-06/0.9777, allocations: 0 / 0.5432 GB, free: 163.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05835/1.036, allocations: 19.74 MB / 0.5625 GB, free: 159.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/1.036, allocations: 206.1 kB / 0.5627 GB, free: 159.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005642/1.042, allocations: 4.458 MB / 0.567 GB, free: 157.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002438/1.042, allocations: 61.23 kB / 0.5671 GB, free: 157.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002003/1.044, allocations: 3.522 MB / 0.5705 GB, free: 154.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006698/1.045, allocations: 0.8365 MB / 0.5713 GB, free: 153.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/1.045, allocations: 133.1 kB / 0.5714 GB, free: 153.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003084/1.045, allocations: 0.5819 MB / 0.572 GB, free: 153.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/1.048, allocations: 2.334 MB / 0.5743 GB, free: 151.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004232/1.053, allocations: 6.138 MB / 0.5803 GB, free: 143.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/1.057, allocations: 3.709 MB / 0.5839 GB, free: 139.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-05/1.057, allocations: 44 kB / 0.584 GB, free: 139.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01367/1.07, allocations: 9.495 MB / 0.5932 GB, free: 130 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.756e-05/1.07, allocations: 64.91 kB / 0.5933 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/1.071, allocations: 132 kB / 0.5934 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003429/1.074, allocations: 1.398 MB / 0.5948 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/1.078, allocations: 1.467 MB / 0.5962 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009154/1.087, allocations: 7.971 MB / 0.604 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005549/1.093, allocations: 352.8 kB / 0.6043 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.094, allocations: 384 kB / 0.6047 GB, free: 118.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * 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%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005196/1.099, allocations: 2.495 MB / 0.6071 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.1, allocations: 398.8 kB / 0.6075 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008008/1.109, allocations: 4.117 MB / 0.6115 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.213e-05/1.109, allocations: 20 kB / 0.6116 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/1.109, allocations: 8.75 kB / 0.6116 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.205e-05/1.109, allocations: 11.97 kB / 0.6116 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.131, allocations: 10.37 MB / 0.6217 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/1.131, allocations: 4 kB / 0.6217 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/1.132, allocations: 351.4 kB / 0.622 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003223/1.135, allocations: 1.148 MB / 0.6232 GB, free: 99.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000307/1.136, allocations: 44.69 kB / 0.6232 GB, free: 99.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008225/1.144, allocations: 6.658 MB / 0.6297 GB, free: 92.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.144, allocations: 8 kB / 0.6297 GB, free: 92.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.154, allocations: 6.896 MB / 0.6364 GB, free: 85.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.157, allocations: 0.734 MB / 0.6372 GB, free: 84.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.158, allocations: 40.94 kB / 0.6372 GB, free: 84.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/1.16, allocations: 115.9 kB / 0.6373 GB, free: 84.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/1.16, allocations: 145 kB / 0.6375 GB, free: 84.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.161, allocations: 63.45 kB / 0.6375 GB, free: 84.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005317/1.166, allocations: 2.799 MB / 0.6402 GB, free: 81.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/1.166, allocations: 4 kB / 0.6402 GB, free: 81.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006595/1.173, allocations: 1.211 MB / 0.6414 GB, free: 80.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005876/1.173, allocations: 207.6 kB / 0.6416 GB, free: 79.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008414/1.182, allocations: 5.721 MB / 0.6472 GB, free: 74.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.182, allocations: 4.062 kB / 0.6472 GB, free: 74.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002273/1.184, allocations: 1.869 MB / 0.649 GB, free: 72.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/1.188, allocations: 0.5105 MB / 0.6495 GB, free: 71.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/1.209, allocations: 13.57 MB / 0.6628 GB, free: 58.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003437/1.212, allocations: 3.855 MB / 0.6666 GB, free: 54.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.214, allocations: 315.4 kB / 0.6669 GB, free: 53.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/1.214, allocations: 0 / 0.6669 GB, free: 53.95 MB / 446.1 MB Notification: Performance of Templates: time 0.3396/1.553, allocations: 89.74 MB / 0.7545 GB, free: 113.7 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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 OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.o] Error 1