Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.0009459, allocations: 94.31 kB / 17.58 MB, free: 5.797 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.0011/0.0011, allocations: 182.7 kB / 18.48 MB, free: 5.254 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.753/1.753, allocations: 205.4 MB / 224.6 MB, free: 13.05 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.0004511/0.0004513, allocations: 16 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 47.58 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.3057/0.4067, allocations: 73.88 MB / 402.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04501/0.4518, allocations: 15.86 MB / 418.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02172/0.4735, allocations: 370.3 kB / 419.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01411/0.4877, allocations: 3.621 MB / 422.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03759/0.5253, allocations: 10.78 MB / 433.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006703/0.532, allocations: 1.23 MB / 434.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.089/0.6211, allocations: 66.44 MB / 0.4894 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01575/0.6369, allocations: 10.23 MB / 0.4994 GB, free: 44 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005866/0.6428, allocations: 2.413 MB / 0.5018 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006494/0.6493, allocations: 3.661 MB / 0.5053 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.6505, allocations: 248 kB / 0.5056 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.6538, allocations: 1.303 MB / 0.5069 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003495/0.6574, allocations: 3.23 MB / 0.51 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.6594, allocations: 1.446 MB / 0.5114 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.6724, allocations: 10.37 MB / 0.5215 GB, free: 9.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.6725, allocations: 0 / 0.5215 GB, free: 9.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.6725, allocations: 0 / 0.5215 GB, free: 9.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005469/0.6731, allocations: 0 / 0.5215 GB, free: 9.316 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.01905/0.6921, allocations: 7.414 MB / 0.5288 GB, free: 1.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6922, allocations: 11.97 kB / 0.5288 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5316/1.224, allocations: 4.959 MB / 0.5336 GB, free: 90.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01829/1.242, allocations: 6.476 MB / 0.54 GB, free: 90.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005556/1.243, allocations: 436.5 kB / 0.5404 GB, free: 90.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002935/1.246, allocations: 0.579 MB / 0.5409 GB, free: 90.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03976/1.285, allocations: 17.07 MB / 0.5576 GB, free: 87.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003321/1.286, allocations: 76.39 kB / 0.5577 GB, free: 87.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001059/1.287, allocations: 271.7 kB / 0.5579 GB, free: 87.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003889/1.291, allocations: 2.656 MB / 0.5605 GB, free: 85.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0309/1.322, allocations: 14.77 MB / 0.575 GB, free: 75.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07923/1.401, allocations: 64.59 MB / 0.638 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01999/1.421, allocations: 8.822 MB / 0.6467 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006365/1.427, allocations: 5.052 MB / 0.6516 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03018/1.458, allocations: 18.64 MB / 0.6698 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/1.458, allocations: 67.19 kB / 0.6699 GB, free: 10.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 6.802e-06/1.458, allocations: 0 / 0.6699 GB, free: 10.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.4599/1.918, allocations: 75.17 MB / 0.7433 GB, free: 195.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.918, allocations: 376 kB / 0.7436 GB, free: 194.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008114/1.926, allocations: 6.377 MB / 0.7499 GB, free: 189.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001154/1.927, allocations: 85.61 kB / 0.7499 GB, free: 189.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002593/1.93, allocations: 4.761 MB / 0.7546 GB, free: 184.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001873/1.932, allocations: 1.376 MB / 0.7559 GB, free: 183 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/1.932, allocations: 192 kB / 0.7561 GB, free: 182.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003549/1.933, allocations: 0.7029 MB / 0.7568 GB, free: 182.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006623/1.939, allocations: 5.953 MB / 0.7626 GB, free: 176.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009096/1.948, allocations: 10.99 MB / 0.7733 GB, free: 162.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.959, allocations: 7.893 MB / 0.781 GB, free: 154.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/1.959, allocations: 50.3 kB / 0.7811 GB, free: 154.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04205/2.001, allocations: 23.28 MB / 0.8038 GB, free: 131.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000247/2.001, allocations: 81 kB / 0.8039 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003299/2.001, allocations: 172 kB / 0.8041 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01998/2.021, allocations: 7.535 MB / 0.8114 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007389/2.029, allocations: 2.187 MB / 0.8136 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0438/2.073, allocations: 35.57 MB / 0.8483 GB, free: 85.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009613/2.082, allocations: 0.7424 MB / 0.849 GB, free: 84.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002466/2.085, allocations: 0.5234 MB / 0.8495 GB, free: 84.29 MB / 494.1 MB 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.00933/2.094, allocations: 3.443 MB / 0.8529 GB, free: 80.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002237/2.096, allocations: 0.5746 MB / 0.8535 GB, free: 80.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03346/2.13, allocations: 16.95 MB / 0.87 GB, free: 63.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/2.13, allocations: 44 kB / 0.87 GB, free: 63.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.926e-05/2.13, allocations: 16 kB / 0.8701 GB, free: 63.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/2.13, allocations: 23.92 kB / 0.8701 GB, free: 63.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06481/2.195, allocations: 32.16 MB / 0.9015 GB, free: 30.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.559e-05/2.195, allocations: 4 kB / 0.9015 GB, free: 30.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003309/2.199, allocations: 0.6045 MB / 0.9021 GB, free: 29.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01952/2.218, allocations: 7.141 MB / 0.9091 GB, free: 22.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001463/2.22, allocations: 64 kB / 0.9091 GB, free: 22.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3744/2.594, allocations: 33.86 MB / 0.9422 GB, free: 176 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/2.594, allocations: 3.438 kB / 0.9422 GB, free: 176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04088/2.635, allocations: 24.58 MB / 0.9662 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005957/2.641, allocations: 1.671 MB / 0.9678 GB, free: 159.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003263/2.644, allocations: 65.64 kB / 0.9679 GB, free: 159.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006384/2.651, allocations: 448.8 kB / 0.9683 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001822/2.653, allocations: 242.6 kB / 0.9686 GB, free: 158.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000837/2.653, allocations: 93.41 kB / 0.9686 GB, free: 158.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00913/2.663, allocations: 4.053 MB / 0.9726 GB, free: 154.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.12e-07/2.663, allocations: 0 / 0.9726 GB, free: 154.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01166/2.674, allocations: 2.295 MB / 0.9748 GB, free: 152.2 MB / 494.1 MB 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.001428/2.676, allocations: 268.8 kB / 0.9751 GB, free: 151.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02125/2.697, allocations: 14.81 MB / 0.9896 GB, free: 137.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/2.697, allocations: 4 kB / 0.9896 GB, free: 137.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009701/2.707, allocations: 6.682 MB / 0.9961 GB, free: 130.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008247/2.715, allocations: 0.8486 MB / 0.9969 GB, free: 129.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04268/2.758, allocations: 23.42 MB / 1.02 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009104/2.767, allocations: 5.233 MB / 1.025 GB, free: 101.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002671/2.77, allocations: 447.3 kB / 1.025 GB, free: 100.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/2.77, allocations: 2.953 kB / 1.025 GB, free: 100.7 MB / 494.1 MB Notification: Performance of Templates: time 0.4705/3.24, allocations: 208.2 MB / 1.229 GB, free: 80.95 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbarCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbarCalcHelperMain.o] Error 1