Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007739/0.0007739, allocations: 91.98 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001269, allocations: 196.8 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2521/0.2521, allocations: 45.92 MB / 344.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003271, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 63.46 MB / 482.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.3737/0.5244, allocations: 48.42 MB / 0.5181 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03001/0.5545, allocations: 10.67 MB / 0.5285 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01392/0.5685, allocations: 229.6 kB / 0.5287 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.5789, allocations: 2.505 MB / 0.5312 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02913/0.6081, allocations: 7.579 MB / 0.5386 GB, free: 5.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005057/0.6132, allocations: 0.8564 MB / 0.5394 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0816/0.6948, allocations: 62.96 MB / 0.6009 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008514/0.7033, allocations: 5.117 MB / 0.6059 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.7076, allocations: 1.884 MB / 0.6077 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005453/0.713, allocations: 3.131 MB / 0.6108 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001479/0.7145, allocations: 236 kB / 0.611 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003674/0.7182, allocations: 1.108 MB / 0.6121 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003367/0.7216, allocations: 2.579 MB / 0.6146 GB, free: 468 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002192/0.7238, allocations: 1.189 MB / 0.6158 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.7358, allocations: 7.957 MB / 0.6236 GB, free: 7.277 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.7359, allocations: 0 / 0.6236 GB, free: 7.277 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.7359, allocations: 0 / 0.6236 GB, free: 7.277 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000491/0.7364, allocations: 0 / 0.6236 GB, free: 7.277 MB / 462.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.01674/0.7532, allocations: 6.176 MB / 0.6296 GB, free: 1.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7532, allocations: 12.03 kB / 0.6296 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.7687, allocations: 4.027 MB / 0.6335 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009184/0.7779, allocations: 3.997 MB / 0.6374 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.7782, allocations: 312 kB / 0.6377 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/0.7799, allocations: 435.7 kB / 0.6382 GB, free: 8.172 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02999/0.8099, allocations: 15.72 MB / 0.6535 GB, free: 7.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.8102, allocations: 59.52 kB / 0.6536 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008336/0.811, allocations: 207.7 kB / 0.6538 GB, free: 7.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005018/0.816, allocations: 3.212 MB / 0.6569 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03192/0.848, allocations: 14.13 MB / 0.6707 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4966/1.345, allocations: 57.76 MB / 0.7271 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01707/1.362, allocations: 6.578 MB / 0.7335 GB, free: 146 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006444/1.368, allocations: 3.739 MB / 0.7372 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02509/1.393, allocations: 14.79 MB / 0.7516 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/1.394, allocations: 62.88 kB / 0.7517 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=292): time 7.444e-06/1.394, allocations: 0 / 0.7517 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=342): time 0.1351/1.529, allocations: 42.74 MB / 0.7934 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/1.529, allocations: 217.5 kB / 0.7936 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008923/1.538, allocations: 5.431 MB / 0.7989 GB, free: 98.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/1.539, allocations: 81.61 kB / 0.799 GB, free: 98.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002831/1.542, allocations: 4.342 MB / 0.8032 GB, free: 93.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002305/1.544, allocations: 1.267 MB / 0.8045 GB, free: 92.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006059/1.545, allocations: 177.3 kB / 0.8047 GB, free: 92.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005813/1.545, allocations: 0.6944 MB / 0.8053 GB, free: 91.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007169/1.552, allocations: 4.804 MB / 0.81 GB, free: 86.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009623/1.562, allocations: 9.783 MB / 0.8196 GB, free: 74.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008719/1.571, allocations: 6.701 MB / 0.8261 GB, free: 67.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-05/1.571, allocations: 48 kB / 0.8262 GB, free: 67.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.0383/1.609, allocations: 19.56 MB / 0.8453 GB, free: 48.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.609, allocations: 80 kB / 0.8453 GB, free: 48.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/1.61, allocations: 173.3 kB / 0.8455 GB, free: 48.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01955/1.629, allocations: 5.998 MB / 0.8514 GB, free: 42.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008786/1.638, allocations: 2.121 MB / 0.8534 GB, free: 39.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03129/1.669, allocations: 24.78 MB / 0.8776 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009359/1.679, allocations: 0.5665 MB / 0.8782 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/1.681, allocations: 0.5172 MB / 0.8787 GB, free: 13.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.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 (1099): * Single equations (assignments): 1091 * 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.009278/1.69, allocations: 3.105 MB / 0.8817 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002374/1.693, allocations: 0.4897 MB / 0.8822 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03223/1.725, allocations: 13.01 MB / 0.8949 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001395/1.725, allocations: 52.94 kB / 0.895 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.086e-05/1.725, allocations: 11.98 kB / 0.895 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/1.726, allocations: 15.95 kB / 0.895 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05983/1.785, allocations: 24.73 MB / 0.9191 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.545e-05/1.786, allocations: 12.05 kB / 0.9191 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00366/1.789, allocations: 0.585 MB / 0.9197 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.371/2.16, allocations: 4.991 MB / 0.9246 GB, free: 195.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001194/2.162, allocations: 57.8 kB / 0.9246 GB, free: 195.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03048/2.192, allocations: 19.97 MB / 0.9441 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/2.192, allocations: 12.33 kB / 0.9442 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03462/2.227, allocations: 17.56 MB / 0.9613 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/2.229, allocations: 0.5487 MB / 0.9618 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00177/2.231, allocations: 55.72 kB / 0.9619 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/2.234, allocations: 269.5 kB / 0.9622 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008615/2.235, allocations: 192.9 kB / 0.9623 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002672/2.235, allocations: 88.8 kB / 0.9624 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005666/2.241, allocations: 3.362 MB / 0.9657 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/2.241, allocations: 0 / 0.9657 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009988/2.251, allocations: 1.774 MB / 0.9674 GB, free: 179.9 MB / 0.5606 GB 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 (257): * Single equations (assignments): 249 * 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.00107/2.252, allocations: 208.5 kB / 0.9676 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01714/2.269, allocations: 10.96 MB / 0.9783 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/2.269, allocations: 0 / 0.9783 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005636/2.275, allocations: 4.125 MB / 0.9824 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/2.279, allocations: 0.5944 MB / 0.9829 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/2.309, allocations: 19.25 MB / 1.002 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005598/2.315, allocations: 4.601 MB / 1.006 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/2.317, allocations: 411.4 kB / 1.007 GB, free: 142 MB / 0.5606 GB Notification: Performance of SimCode: time 1.343e-06/2.318, allocations: 0 / 1.007 GB, free: 142 MB / 0.5606 GB Notification: Performance of Templates: time 0.5591/2.877, allocations: 149 MB / 1.152 GB, free: 186.4 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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 OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.o] Error 1