Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 88.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2622/0.2622, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1617, allocations: 63.47 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.4428/0.6046, allocations: 56.55 MB / 0.526 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03475/0.6394, allocations: 12.33 MB / 0.5381 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02258/0.662, allocations: 273.7 kB / 0.5383 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.6736, allocations: 2.948 MB / 0.5412 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03002/0.7037, allocations: 8.69 MB / 0.5497 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0052/0.7089, allocations: 0.9122 MB / 0.5506 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08483/0.7938, allocations: 62.48 MB / 0.6116 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009281/0.8031, allocations: 5.546 MB / 0.617 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.8075, allocations: 1.635 MB / 0.6186 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004278/0.8118, allocations: 2.563 MB / 0.6211 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007182/0.8126, allocations: 172 kB / 0.6213 GB, free: 9.613 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.8153, allocations: 1.065 MB / 0.6223 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002445/0.8178, allocations: 2.151 MB / 0.6244 GB, free: 6.391 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.8193, allocations: 1.022 MB / 0.6254 GB, free: 5.359 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00961/0.829, allocations: 6.769 MB / 0.632 GB, free: 14.58 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.829, allocations: 0 / 0.632 GB, free: 14.58 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.829, allocations: 4 kB / 0.6321 GB, free: 14.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002851/0.8293, allocations: 0 / 0.6321 GB, free: 14.57 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01297/0.8423, allocations: 5.248 MB / 0.6372 GB, free: 9.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.8423, allocations: 16.03 kB / 0.6372 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.8529, allocations: 2.582 MB / 0.6397 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009325/0.8622, allocations: 3.774 MB / 0.6434 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/0.8626, allocations: 283.2 kB / 0.6437 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.8638, allocations: 387.6 kB / 0.644 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/0.8869, allocations: 12 MB / 0.6558 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001726/0.8872, allocations: 55.5 kB / 0.6558 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/0.8876, allocations: 179.8 kB / 0.656 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003225/0.8909, allocations: 2.151 MB / 0.6581 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02085/0.9117, allocations: 10.35 MB / 0.6682 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4453/1.357, allocations: 47.48 MB / 0.7146 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0163/1.373, allocations: 5.816 MB / 0.7202 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005362/1.379, allocations: 2.969 MB / 0.7231 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01888/1.398, allocations: 8.869 MB / 0.7318 GB, free: 153 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/1.398, allocations: 53 kB / 0.7318 GB, free: 153 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 7.434e-06/1.398, allocations: 1.562 kB / 0.7318 GB, free: 153 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1202/1.518, allocations: 35.03 MB / 0.766 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.518, allocations: 213.9 kB / 0.7663 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.528, allocations: 4.742 MB / 0.7709 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008308/1.529, allocations: 69.69 kB / 0.771 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00277/1.532, allocations: 3.542 MB / 0.7744 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001748/1.534, allocations: 0.9728 MB / 0.7754 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009926/1.535, allocations: 142.9 kB / 0.7755 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0006072/1.535, allocations: 0.5957 MB / 0.7761 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004982/1.54, allocations: 3.156 MB / 0.7792 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007147/1.548, allocations: 7.006 MB / 0.786 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006994/1.555, allocations: 4.59 MB / 0.7905 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/1.555, allocations: 40 kB / 0.7905 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02817/1.583, allocations: 13.7 MB / 0.8039 GB, free: 88.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002326/1.583, allocations: 67.94 kB / 0.804 GB, free: 88.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002821/1.584, allocations: 136.9 kB / 0.8041 GB, free: 88.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/1.595, allocations: 4.411 MB / 0.8084 GB, free: 84.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005171/1.6, allocations: 1.478 MB / 0.8098 GB, free: 82.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03653/1.637, allocations: 26.82 MB / 0.836 GB, free: 55.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007489/1.644, allocations: 411.3 kB / 0.8364 GB, free: 55.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001773/1.646, allocations: 413.1 kB / 0.8368 GB, free: 54.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (798): * Single equations (assignments): 792 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.006605/1.653, allocations: 2.467 MB / 0.8392 GB, free: 52.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/1.654, allocations: 434.4 kB / 0.8396 GB, free: 51.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/1.671, allocations: 8.467 MB / 0.8479 GB, free: 43.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.347e-05/1.671, allocations: 33.61 kB / 0.8479 GB, free: 43.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.118e-05/1.672, allocations: 12 kB / 0.848 GB, free: 43.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.197e-05/1.672, allocations: 19.94 kB / 0.848 GB, free: 43.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03502/1.707, allocations: 17.04 MB / 0.8646 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.46e-05/1.707, allocations: 11.95 kB / 0.8646 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.708, allocations: 300.1 kB / 0.8649 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/1.719, allocations: 4.102 MB / 0.8689 GB, free: 21.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008467/1.72, allocations: 48 kB / 0.869 GB, free: 21.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03555/1.755, allocations: 25.62 MB / 0.894 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.755, allocations: 4 kB / 0.894 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02592/1.781, allocations: 12.41 MB / 0.9061 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/1.784, allocations: 0.4953 MB / 0.9066 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001942/1.786, allocations: 48 kB / 0.9066 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/1.789, allocations: 179.6 kB / 0.9068 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/1.79, allocations: 194.1 kB / 0.907 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004504/1.791, allocations: 71.98 kB / 0.9071 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007957/1.799, allocations: 2.982 MB / 0.91 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.51e-07/1.799, allocations: 0 / 0.91 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0108/1.81, allocations: 1.467 MB / 0.9114 GB, free: 9.645 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 (158): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001167/1.811, allocations: 191.4 kB / 0.9116 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01857/1.829, allocations: 8.375 MB / 0.9198 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.829, allocations: 0.9375 kB / 0.9198 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.3391/2.169, allocations: 3.552 MB / 0.9232 GB, free: 201.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005583/2.174, allocations: 0.5527 MB / 0.9238 GB, free: 201.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03599/2.21, allocations: 14.91 MB / 0.9383 GB, free: 196.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01008/2.22, allocations: 3.892 MB / 0.9421 GB, free: 195.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/2.222, allocations: 323 kB / 0.9425 GB, free: 195.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.194e-06/2.222, allocations: 2.844 kB / 0.9425 GB, free: 195.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.1782/2.401, allocations: 141.3 MB / 1.08 GB, free: 67.84 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversalCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversalCalcHelperMain.o] Error 1