Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 89.08 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 197.5 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.663/1.663, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 8 kB / 307.3 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1473, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.3867/0.534, allocations: 48.41 MB / 407.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03712/0.5712, allocations: 10.66 MB / 417.9 MB, free: 276 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01609/0.5874, allocations: 229.7 kB / 418.1 MB, free: 240 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.5979, allocations: 2.514 MB / 420.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02704/0.625, allocations: 7.581 MB / 428.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004598/0.6296, allocations: 0.8588 MB / 429 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0893/0.7189, allocations: 62.96 MB / 492 MB, free: 6.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009104/0.7281, allocations: 5.022 MB / 497 MB, free: 1.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005145/0.7333, allocations: 1.88 MB / 498.9 MB, free: 15.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00624/0.7395, allocations: 3.12 MB / 0.4903 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001614/0.7412, allocations: 232 kB / 0.4905 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.7447, allocations: 1.112 MB / 0.4916 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003763/0.7485, allocations: 2.571 MB / 0.4941 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002706/0.7512, allocations: 1.193 MB / 0.4952 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.7631, allocations: 7.946 MB / 0.503 GB, free: 15.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.7632, allocations: 0 / 0.503 GB, free: 15.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.7632, allocations: 4 kB / 0.503 GB, free: 15.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003727/0.7636, allocations: 0 / 0.503 GB, free: 15.38 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.016/0.7796, allocations: 6.133 MB / 0.509 GB, free: 9.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.7796, allocations: 12.03 kB / 0.509 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/0.7952, allocations: 4.035 MB / 0.5129 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009428/0.8047, allocations: 3.978 MB / 0.5168 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.805, allocations: 324 kB / 0.5171 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/0.807, allocations: 435.6 kB / 0.5176 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3247/1.132, allocations: 15.69 MB / 0.5329 GB, free: 146.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003986/1.132, allocations: 59.45 kB / 0.5329 GB, free: 146.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001414/1.134, allocations: 203.5 kB / 0.5331 GB, free: 146.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007492/1.141, allocations: 3.217 MB / 0.5363 GB, free: 146.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03676/1.178, allocations: 14.08 MB / 0.55 GB, free: 142.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0724/1.25, allocations: 57.77 MB / 0.6064 GB, free: 87.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/1.263, allocations: 6.563 MB / 0.6129 GB, free: 80.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004341/1.267, allocations: 3.67 MB / 0.6164 GB, free: 77.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02039/1.288, allocations: 14.64 MB / 0.6307 GB, free: 62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/1.288, allocations: 72.39 kB / 0.6308 GB, free: 61.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 7.053e-06/1.288, allocations: 0 / 0.6308 GB, free: 61.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.1241/1.412, allocations: 42.58 MB / 0.6724 GB, free: 19.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/1.412, allocations: 213.9 kB / 0.6726 GB, free: 19.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007539/1.42, allocations: 5.443 MB / 0.6779 GB, free: 13.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009758/1.421, allocations: 69.7 kB / 0.678 GB, free: 13.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002598/1.423, allocations: 4.359 MB / 0.6822 GB, free: 9.188 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.425, allocations: 1.258 MB / 0.6835 GB, free: 7.941 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004855/1.425, allocations: 176 kB / 0.6836 GB, free: 7.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004243/1.426, allocations: 0.6944 MB / 0.6843 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006217/1.432, allocations: 4.773 MB / 0.689 GB, free: 2.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01155/1.444, allocations: 9.773 MB / 0.6985 GB, free: 6.062 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.352/1.796, allocations: 6.665 MB / 0.705 GB, free: 142.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002475/1.796, allocations: 53.69 kB / 0.7051 GB, free: 142.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.05533/1.851, allocations: 19.5 MB / 0.7241 GB, free: 137.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.851, allocations: 78.38 kB / 0.7242 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002765/1.852, allocations: 172.9 kB / 0.7243 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02006/1.872, allocations: 5.999 MB / 0.7302 GB, free: 137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008279/1.88, allocations: 2.116 MB / 0.7323 GB, free: 136.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03035/1.911, allocations: 24.75 MB / 0.7564 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009129/1.92, allocations: 0.5662 MB / 0.757 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002362/1.922, allocations: 0.5091 MB / 0.7575 GB, free: 117.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1098): * Single equations (assignments): 1090 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009438/1.932, allocations: 3.1 MB / 0.7605 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002127/1.934, allocations: 0.4913 MB / 0.761 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0294/1.963, allocations: 12.93 MB / 0.7736 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/1.963, allocations: 61.38 kB / 0.7737 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.1e-05/1.963, allocations: 8 kB / 0.7737 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-05/1.963, allocations: 23.72 kB / 0.7737 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05386/2.017, allocations: 24.61 MB / 0.7977 GB, free: 76.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-05/2.018, allocations: 4.594 kB / 0.7978 GB, free: 76.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003785/2.021, allocations: 0.5811 MB / 0.7983 GB, free: 75.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01745/2.039, allocations: 4.997 MB / 0.8032 GB, free: 70.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/2.04, allocations: 52.94 kB / 0.8032 GB, free: 70.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02405/2.064, allocations: 20 MB / 0.8228 GB, free: 50.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/2.064, allocations: 7.938 kB / 0.8228 GB, free: 50.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03404/2.098, allocations: 17.44 MB / 0.8398 GB, free: 32.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/2.1, allocations: 0.5424 MB / 0.8403 GB, free: 32.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002313/2.103, allocations: 59.92 kB / 0.8404 GB, free: 31.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004182/2.107, allocations: 263.6 kB / 0.8407 GB, free: 31.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001209/2.108, allocations: 197.5 kB / 0.8408 GB, free: 31.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007203/2.109, allocations: 89.47 kB / 0.8409 GB, free: 31.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007532/2.116, allocations: 3.367 MB / 0.8442 GB, free: 28.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.12e-07/2.116, allocations: 0 / 0.8442 GB, free: 28.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01321/2.13, allocations: 1.762 MB / 0.8459 GB, free: 26.32 MB / 462.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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001777/2.131, allocations: 210.5 kB / 0.8461 GB, free: 26.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01885/2.15, allocations: 10.88 MB / 0.8568 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.15, allocations: 0 / 0.8568 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006481/2.157, allocations: 4.097 MB / 0.8608 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006985/2.164, allocations: 0.5976 MB / 0.8613 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3211/2.485, allocations: 19.19 MB / 0.8801 GB, free: 155.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01038/2.495, allocations: 4.591 MB / 0.8846 GB, free: 154.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/2.498, allocations: 415.2 kB / 0.885 GB, free: 154.8 MB / 478.1 MB Notification: Performance of SimCode: time 2.745e-06/2.498, allocations: 5.062 kB / 0.885 GB, free: 154.8 MB / 478.1 MB Notification: Performance of Templates: time 0.2128/2.711, allocations: 148.7 MB / 1.03 GB, free: 24.12 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.Fourbar2CalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2CalcHelperMain.o] Error 1