Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009257/0.0009257, allocations: 91.84 kB / 17.63 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009626/0.0009628, allocations: 200.4 kB / 18.54 MB, free: 4.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.632/1.632, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.000288, allocations: 4 kB / 307.3 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 51.5 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.3753/0.5124, allocations: 73.55 MB / 432.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05327/0.5658, allocations: 15.79 MB / 448.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02298/0.5888, allocations: 371 kB / 448.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01538/0.6042, allocations: 3.623 MB / 452.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03796/0.6423, allocations: 10.75 MB / 462.9 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006925/0.6492, allocations: 1.219 MB / 464.1 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.5258/1.175, allocations: 121.1 MB / 0.5714 GB, free: 73.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01895/1.194, allocations: 10.21 MB / 0.5814 GB, free: 66.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006438/1.201, allocations: 2.396 MB / 0.5837 GB, free: 65.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006507/1.207, allocations: 3.64 MB / 0.5873 GB, free: 62.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/1.208, allocations: 248 kB / 0.5875 GB, free: 62.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/1.212, allocations: 1.293 MB / 0.5888 GB, free: 61.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003426/1.215, allocations: 3.219 MB / 0.5919 GB, free: 58.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/1.217, allocations: 1.44 MB / 0.5933 GB, free: 58.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/1.227, allocations: 10.35 MB / 0.6035 GB, free: 49.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/1.228, allocations: 0 / 0.6035 GB, free: 49.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.586e-06/1.228, allocations: 0 / 0.6035 GB, free: 49.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004454/1.228, allocations: 0 / 0.6035 GB, free: 49.36 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.01867/1.247, allocations: 7.429 MB / 0.6107 GB, free: 42.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.247, allocations: 16.02 kB / 0.6107 GB, free: 42.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03612/1.283, allocations: 4.958 MB / 0.6156 GB, free: 37.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/1.299, allocations: 6.158 MB / 0.6216 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004499/1.3, allocations: 432 kB / 0.622 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003409/1.303, allocations: 0.5815 MB / 0.6226 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04043/1.344, allocations: 17.06 MB / 0.6392 GB, free: 19.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004245/1.344, allocations: 81.77 kB / 0.6393 GB, free: 19.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002225/1.346, allocations: 269.1 kB / 0.6396 GB, free: 19.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004109/1.35, allocations: 2.654 MB / 0.6421 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03154/1.382, allocations: 14.78 MB / 0.6566 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1115/1.494, allocations: 64.49 MB / 0.7195 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5722/2.066, allocations: 8.81 MB / 0.7282 GB, free: 196.9 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008353/2.074, allocations: 5.054 MB / 0.7331 GB, free: 196.1 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04073/2.115, allocations: 18.63 MB / 0.7513 GB, free: 187.7 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.715e-05/2.115, allocations: 70.06 kB / 0.7513 GB, free: 187.7 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=281): time 8.637e-06/2.115, allocations: 3.812 kB / 0.7514 GB, free: 187.7 MB / 0.4982 GB Notification: Performance of matching and sorting (n=374): time 0.2432/2.358, allocations: 75.08 MB / 0.8247 GB, free: 124.4 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/2.359, allocations: 379.5 kB / 0.825 GB, free: 123.9 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01336/2.372, allocations: 6.33 MB / 0.8312 GB, free: 117.6 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.00127/2.373, allocations: 85.7 kB / 0.8313 GB, free: 117.5 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003759/2.377, allocations: 4.75 MB / 0.8359 GB, free: 112.8 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002608/2.38, allocations: 1.371 MB / 0.8373 GB, free: 111.4 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009617/2.381, allocations: 192 kB / 0.8375 GB, free: 111.2 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.000475/2.381, allocations: 0.7068 MB / 0.8381 GB, free: 110.5 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007591/2.389, allocations: 5.957 MB / 0.844 GB, free: 104.6 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01151/2.4, allocations: 10.98 MB / 0.8547 GB, free: 91.13 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/2.413, allocations: 7.907 MB / 0.8624 GB, free: 83.21 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002891/2.414, allocations: 51.95 kB / 0.8625 GB, free: 83.16 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.05438/2.468, allocations: 23.27 MB / 0.8852 GB, free: 59.85 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004739/2.469, allocations: 80 kB / 0.8853 GB, free: 59.77 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005862/2.469, allocations: 173.4 kB / 0.8854 GB, free: 59.6 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02182/2.491, allocations: 7.533 MB / 0.8928 GB, free: 52.05 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008764/2.5, allocations: 2.187 MB / 0.8949 GB, free: 49.86 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3753/2.875, allocations: 35.55 MB / 0.9296 GB, free: 170.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01295/2.888, allocations: 0.7482 MB / 0.9304 GB, free: 170.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003422/2.892, allocations: 0.5268 MB / 0.9309 GB, free: 170.2 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1084 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,77.8%) 67,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.01194/2.904, allocations: 3.434 MB / 0.9342 GB, free: 170.1 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002492/2.906, allocations: 0.5681 MB / 0.9348 GB, free: 170.1 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03887/2.945, allocations: 16.95 MB / 0.9513 GB, free: 166 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001557/2.945, allocations: 48.19 kB / 0.9514 GB, free: 166 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001186/2.946, allocations: 24.05 kB / 0.9514 GB, free: 166 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001688/2.946, allocations: 18.23 kB / 0.9514 GB, free: 166 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06014/3.006, allocations: 32.15 MB / 0.9828 GB, free: 152.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-05/3.006, allocations: 0 / 0.9828 GB, free: 152.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003152/3.009, allocations: 0.6064 MB / 0.9834 GB, free: 152.6 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01879/3.028, allocations: 7.14 MB / 0.9904 GB, free: 147.5 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001209/3.029, allocations: 73.5 kB / 0.9905 GB, free: 147.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0418/3.071, allocations: 33.86 MB / 1.024 GB, free: 113.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/3.071, allocations: 7.219 kB / 1.024 GB, free: 113.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03883/3.11, allocations: 24.57 MB / 1.048 GB, free: 89.17 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/3.112, allocations: 0.638 MB / 1.048 GB, free: 88.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002272/3.114, allocations: 60.78 kB / 1.048 GB, free: 88.45 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00497/3.119, allocations: 452.2 kB / 1.049 GB, free: 88 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/3.121, allocations: 250.6 kB / 1.049 GB, free: 87.76 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007288/3.122, allocations: 92.88 kB / 1.049 GB, free: 87.68 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008206/3.13, allocations: 4.013 MB / 1.053 GB, free: 83.67 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.51e-07/3.13, allocations: 0 / 1.053 GB, free: 83.67 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01197/3.142, allocations: 2.296 MB / 1.055 GB, free: 81.38 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 62,(2,100.0%) 15} * Non-linear torn systems: 1 {2 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/3.144, allocations: 281.4 kB / 1.055 GB, free: 81.13 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02412/3.168, allocations: 14.81 MB / 1.07 GB, free: 66.35 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/3.168, allocations: 0 / 1.07 GB, free: 66.35 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.01021/3.178, allocations: 6.689 MB / 1.076 GB, free: 59.62 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008101/3.186, allocations: 0.826 MB / 1.077 GB, free: 58.81 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04252/3.229, allocations: 23.39 MB / 1.1 GB, free: 35.55 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007742/3.237, allocations: 5.228 MB / 1.105 GB, free: 30.28 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002963/3.24, allocations: 443.4 kB / 1.106 GB, free: 29.85 MB / 0.4982 GB Notification: Performance of SimCode: time 1.583e-06/3.24, allocations: 0 / 1.106 GB, free: 29.85 MB / 0.4982 GB Notification: Performance of Templates: time 0.9605/4.2, allocations: 207.9 MB / 1.309 GB, free: 161.2 MB / 0.4982 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbarCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbarCalcHelperMain.o] Error 1