Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007851/0.0007852, allocations: 94.02 kB / 16.33 MB, free: 5.941 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.0007785/0.0007786, allocations: 186 kB / 17.22 MB, free: 5.883 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.528/1.528, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3662/0.3662, allocations: 43.55 MB / 315.2 MB, free: 8.844 MB / 254.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.000536/0.0005361, allocations: 12 kB / 384.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.136, allocations: 58.86 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2959/0.4319, allocations: 56.61 MB / 0.4883 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03252/0.4645, allocations: 12.31 MB / 0.5003 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01321/0.4777, allocations: 274.8 kB / 0.5006 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.488, allocations: 2.939 MB / 0.5034 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0296/0.5177, allocations: 8.712 MB / 0.512 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005279/0.523, allocations: 0.9171 MB / 0.5129 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04972/0.5727, allocations: 36.11 MB / 0.5481 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.583, allocations: 5.56 MB / 0.5535 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/0.5876, allocations: 1.658 MB / 0.5552 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005125/0.5928, allocations: 2.563 MB / 0.5577 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.5943, allocations: 180 kB / 0.5578 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003684/0.598, allocations: 1.077 MB / 0.5589 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003988/0.602, allocations: 2.162 MB / 0.561 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.6048, allocations: 1.022 MB / 0.562 GB, free: 6.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.6148, allocations: 6.78 MB / 0.5686 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6149, allocations: 0 / 0.5686 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.6149, allocations: 3.984 kB / 0.5686 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003553/0.6152, allocations: 0 / 0.5686 GB, free: 15.88 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.0141/0.6294, allocations: 5.234 MB / 0.5737 GB, free: 10.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6294, allocations: 12.55 kB / 0.5737 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.6402, allocations: 2.578 MB / 0.5763 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.6512, allocations: 3.963 MB / 0.5801 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004411/0.6516, allocations: 283.3 kB / 0.5804 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/0.6535, allocations: 383.6 kB / 0.5808 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/0.6792, allocations: 12 MB / 0.5925 GB, free: 6.523 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.6794, allocations: 59.48 kB / 0.5925 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006136/0.68, allocations: 179.8 kB / 0.5927 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003072/0.6831, allocations: 2.155 MB / 0.5948 GB, free: 4.133 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01928/0.7024, allocations: 10.34 MB / 0.6049 GB, free: 9.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3054/1.008, allocations: 47.5 MB / 0.6513 GB, free: 112.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/1.02, allocations: 5.83 MB / 0.657 GB, free: 111.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/1.023, allocations: 2.956 MB / 0.6599 GB, free: 111.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01305/1.036, allocations: 8.873 MB / 0.6685 GB, free: 107.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.036, allocations: 63.02 kB / 0.6686 GB, free: 107.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.009e-06/1.036, allocations: 0 / 0.6686 GB, free: 107.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1145/1.151, allocations: 35.09 MB / 0.7029 GB, free: 96.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/1.151, allocations: 211.2 kB / 0.7031 GB, free: 96.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008445/1.159, allocations: 4.771 MB / 0.7077 GB, free: 93.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006356/1.16, allocations: 65.7 kB / 0.7078 GB, free: 93.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002389/1.162, allocations: 3.552 MB / 0.7113 GB, free: 90.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.164, allocations: 0.9733 MB / 0.7122 GB, free: 89.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008539/1.164, allocations: 136 kB / 0.7123 GB, free: 89.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005133/1.165, allocations: 0.5996 MB / 0.7129 GB, free: 88.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004776/1.17, allocations: 3.145 MB / 0.716 GB, free: 85.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006527/1.176, allocations: 7.01 MB / 0.7228 GB, free: 76.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006/1.182, allocations: 4.6 MB / 0.7273 GB, free: 71.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001268/1.182, allocations: 40.56 kB / 0.7274 GB, free: 71.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02448/1.207, allocations: 13.69 MB / 0.7408 GB, free: 58.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/1.207, allocations: 63.98 kB / 0.7408 GB, free: 58.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002128/1.207, allocations: 136 kB / 0.7409 GB, free: 57.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/1.218, allocations: 4.414 MB / 0.7453 GB, free: 53.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00462/1.222, allocations: 1.479 MB / 0.7467 GB, free: 51.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03134/1.254, allocations: 26.83 MB / 0.7729 GB, free: 24.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005861/1.26, allocations: 422.1 kB / 0.7733 GB, free: 24.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.261, allocations: 408.4 kB / 0.7737 GB, free: 23.96 MB / 494.1 MB 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.005403/1.266, allocations: 2.474 MB / 0.7761 GB, free: 21.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.268, allocations: 434.4 kB / 0.7765 GB, free: 21.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/1.283, allocations: 8.471 MB / 0.7848 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.574e-05/1.283, allocations: 26.66 kB / 0.7848 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-05/1.283, allocations: 19.94 kB / 0.7848 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.205e-05/1.283, allocations: 11.95 kB / 0.7849 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03046/1.313, allocations: 17.05 MB / 0.8015 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-05/1.313, allocations: 4 kB / 0.8015 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/1.315, allocations: 303.5 kB / 0.8018 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0107/1.326, allocations: 4.101 MB / 0.8058 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000299/1.326, allocations: 48 kB / 0.8058 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3069/1.633, allocations: 25.6 MB / 0.8308 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.633, allocations: 11.69 kB / 0.8309 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/1.651, allocations: 12.4 MB / 0.843 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002367/1.654, allocations: 0.9738 MB / 0.8439 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005662/1.654, allocations: 44.91 kB / 0.844 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.656, allocations: 178.9 kB / 0.8441 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005945/1.657, allocations: 196.1 kB / 0.8443 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/1.657, allocations: 71.47 kB / 0.8444 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004079/1.661, allocations: 2.999 MB / 0.8473 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/1.661, allocations: 0 / 0.8473 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005833/1.667, allocations: 1.474 MB / 0.8488 GB, free: 152.2 MB / 0.5137 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.0004642/1.667, allocations: 187 kB / 0.8489 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.68, allocations: 8.38 MB / 0.8571 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.68, allocations: 1.062 kB / 0.8571 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0055/1.686, allocations: 3.546 MB / 0.8606 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004801/1.691, allocations: 0.5582 MB / 0.8611 GB, free: 147 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02712/1.718, allocations: 14.95 MB / 0.8757 GB, free: 139.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004869/1.723, allocations: 3.895 MB / 0.8795 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.724, allocations: 325.3 kB / 0.8798 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of SimCode: time 2.083e-06/1.724, allocations: 0 / 0.8798 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.3651/2.089, allocations: 141.5 MB / 1.018 GB, free: 154.9 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversalCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversalCalcHelperMain.o] Error 1