Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008259/0.0008258, allocations: 87.88 kB / 17.63 MB, free: 5.711 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.0009528/0.0009527, allocations: 179.3 kB / 18.52 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 242.5 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2622/0.2622, allocations: 44.22 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 8.875 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 61.93 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.4222/0.5851, allocations: 48.39 MB / 0.5084 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02795/0.6131, allocations: 10.64 MB / 0.5188 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01218/0.6253, allocations: 229.7 kB / 0.519 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.6354, allocations: 2.519 MB / 0.5214 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02577/0.6613, allocations: 7.589 MB / 0.5289 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004323/0.6656, allocations: 0.8481 MB / 0.5297 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08034/0.746, allocations: 62.85 MB / 0.5911 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008716/0.7547, allocations: 5.116 MB / 0.5961 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004447/0.7592, allocations: 1.872 MB / 0.5979 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005417/0.7647, allocations: 3.124 MB / 0.6009 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001306/0.766, allocations: 239.9 kB / 0.6012 GB, free: 424 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.7693, allocations: 1.135 MB / 0.6023 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003136/0.7725, allocations: 2.571 MB / 0.6048 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.7746, allocations: 1.193 MB / 0.6059 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009623/0.7842, allocations: 7.965 MB / 0.6137 GB, free: 3.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.7843, allocations: 0 / 0.6137 GB, free: 3.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7843, allocations: 0 / 0.6137 GB, free: 3.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003689/0.7846, allocations: 0 / 0.6137 GB, free: 3.527 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01404/0.7987, allocations: 6.169 MB / 0.6198 GB, free: 13.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7987, allocations: 12.56 kB / 0.6198 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/0.814, allocations: 4.016 MB / 0.6237 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.8244, allocations: 4.065 MB / 0.6277 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.8247, allocations: 324 kB / 0.628 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002042/0.8268, allocations: 423.7 kB / 0.6284 GB, free: 4.418 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03169/0.8585, allocations: 15.72 MB / 0.6437 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004708/0.859, allocations: 59.42 kB / 0.6438 GB, free: 3.707 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002771/0.8618, allocations: 207.8 kB / 0.644 GB, free: 3.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005729/0.8675, allocations: 3.213 MB / 0.6471 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03057/0.8981, allocations: 14.13 MB / 0.6609 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4484/1.347, allocations: 57.75 MB / 0.7173 GB, free: 155 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/1.363, allocations: 6.583 MB / 0.7237 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006302/1.37, allocations: 3.741 MB / 0.7274 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02241/1.392, allocations: 14.79 MB / 0.7418 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/1.392, allocations: 61.19 kB / 0.7419 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=292): time 8.015e-06/1.392, allocations: 3.844 kB / 0.7419 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=342): time 0.1343/1.526, allocations: 42.73 MB / 0.7836 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.527, allocations: 220.8 kB / 0.7838 GB, free: 114 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007729/1.534, allocations: 5.429 MB / 0.7891 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/1.535, allocations: 82.72 kB / 0.7892 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00258/1.538, allocations: 4.342 MB / 0.7935 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001771/1.54, allocations: 1.265 MB / 0.7947 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004955/1.54, allocations: 177.3 kB / 0.7949 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004109/1.541, allocations: 0.7022 MB / 0.7956 GB, free: 102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006274/1.547, allocations: 4.8 MB / 0.8002 GB, free: 97.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009524/1.557, allocations: 9.796 MB / 0.8098 GB, free: 85.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009657/1.566, allocations: 6.692 MB / 0.8163 GB, free: 78.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.961e-05/1.566, allocations: 48 kB / 0.8164 GB, free: 78.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04134/1.608, allocations: 19.56 MB / 0.8355 GB, free: 58.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002991/1.608, allocations: 79.98 kB / 0.8356 GB, free: 58.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004088/1.608, allocations: 176 kB / 0.8357 GB, free: 58.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01986/1.628, allocations: 5.987 MB / 0.8416 GB, free: 52.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007822/1.636, allocations: 2.129 MB / 0.8437 GB, free: 50.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03213/1.668, allocations: 24.77 MB / 0.8679 GB, free: 25.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009462/1.678, allocations: 0.5763 MB / 0.8684 GB, free: 24.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002122/1.68, allocations: 0.5078 MB / 0.8689 GB, free: 24.38 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.008214/1.688, allocations: 3.096 MB / 0.8719 GB, free: 21.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002/1.69, allocations: 0.4897 MB / 0.8724 GB, free: 20.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/1.721, allocations: 13 MB / 0.8851 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001159/1.721, allocations: 57.47 kB / 0.8852 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.823e-05/1.721, allocations: 12 kB / 0.8852 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/1.721, allocations: 19.89 kB / 0.8852 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06361/1.785, allocations: 24.73 MB / 0.9093 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.373e-05/1.785, allocations: 4 kB / 0.9093 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/1.788, allocations: 0.5821 MB / 0.9099 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01915/1.807, allocations: 5.007 MB / 0.9148 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001121/1.809, allocations: 56 kB / 0.9149 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3894/2.198, allocations: 19.98 MB / 0.9344 GB, free: 199.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.832e-05/2.198, allocations: 13.23 kB / 0.9344 GB, free: 199.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03635/2.234, allocations: 17.57 MB / 0.9515 GB, free: 193.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00281/2.237, allocations: 0.5479 MB / 0.9521 GB, free: 193.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001729/2.239, allocations: 59.25 kB / 0.9521 GB, free: 193.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003433/2.243, allocations: 265.7 kB / 0.9524 GB, free: 193.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009195/2.244, allocations: 193.3 kB / 0.9526 GB, free: 193.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003079/2.244, allocations: 81.66 kB / 0.9526 GB, free: 193.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005906/2.25, allocations: 3.371 MB / 0.9559 GB, free: 192.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/2.25, allocations: 3.781 kB / 0.9559 GB, free: 192.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01068/2.26, allocations: 1.764 MB / 0.9577 GB, free: 192.1 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.0009012/2.261, allocations: 208 kB / 0.9579 GB, free: 191.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01661/2.278, allocations: 10.95 MB / 0.9686 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/2.278, allocations: 0 / 0.9686 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006277/2.284, allocations: 4.125 MB / 0.9726 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006453/2.291, allocations: 0.5989 MB / 0.9732 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03163/2.323, allocations: 19.25 MB / 0.992 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005206/2.328, allocations: 4.607 MB / 0.9965 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002255/2.33, allocations: 411.4 kB / 0.9969 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/2.33, allocations: 0 / 0.9969 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.5319/2.862, allocations: 149 MB / 1.142 GB, free: 196.1 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.o] Error 1