Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_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.000765/0.0007652, allocations: 91.33 kB / 16.33 MB, free: 5.938 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.0007955/0.0007956, allocations: 188.9 kB / 17.22 MB, free: 5.859 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.55/1.55, allocations: 205.4 MB / 223.4 MB, free: 5.559 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.387/0.387, allocations: 43.55 MB / 315.2 MB, free: 8.895 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.0005792/0.0005797, allocations: 12 kB / 384.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1245, allocations: 58.87 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.273/0.3976, allocations: 48.46 MB / 491.9 MB, free: 20.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02363/0.4213, allocations: 10.64 MB / 0.4907 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0109/0.4322, allocations: 232.1 kB / 0.491 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008293/0.4405, allocations: 2.507 MB / 0.4934 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02403/0.4646, allocations: 7.589 MB / 0.5008 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.4691, allocations: 0.8608 MB / 0.5017 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05036/0.5194, allocations: 36.63 MB / 0.5374 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.5296, allocations: 5.128 MB / 0.5424 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004611/0.5342, allocations: 1.891 MB / 0.5443 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00551/0.5398, allocations: 3.131 MB / 0.5473 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001657/0.5415, allocations: 247.9 kB / 0.5476 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/0.5451, allocations: 1.12 MB / 0.5487 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004446/0.5496, allocations: 2.575 MB / 0.5512 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002626/0.5523, allocations: 1.197 MB / 0.5524 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.5636, allocations: 7.965 MB / 0.5601 GB, free: 8.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.5636, allocations: 0 / 0.5601 GB, free: 8.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.5637, allocations: 0 / 0.5601 GB, free: 8.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005913/0.5643, allocations: 0 / 0.5601 GB, free: 8.59 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.01708/0.5814, allocations: 6.181 MB / 0.5662 GB, free: 2.328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.5814, allocations: 8.562 kB / 0.5662 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.5969, allocations: 4.027 MB / 0.5701 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.6088, allocations: 4.156 MB / 0.5742 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/0.6092, allocations: 316 kB / 0.5745 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/0.6114, allocations: 435.6 kB / 0.5749 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02644/0.6379, allocations: 15.73 MB / 0.5902 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/0.6381, allocations: 67.52 kB / 0.5903 GB, free: 8.602 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005649/0.6386, allocations: 203.8 kB / 0.5905 GB, free: 8.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004492/0.6431, allocations: 3.208 MB / 0.5936 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02664/0.6698, allocations: 14.13 MB / 0.6074 GB, free: 7.035 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3156/0.9855, allocations: 57.77 MB / 0.6638 GB, free: 99.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.9967, allocations: 6.584 MB / 0.6703 GB, free: 98.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003846/1.001, allocations: 3.75 MB / 0.6739 GB, free: 97.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02047/1.021, allocations: 14.79 MB / 0.6884 GB, free: 89.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.021, allocations: 61.64 kB / 0.6884 GB, free: 89.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 5.611e-06/1.021, allocations: 4.562 kB / 0.6884 GB, free: 89.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.1242/1.145, allocations: 42.78 MB / 0.7302 GB, free: 72.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/1.145, allocations: 217.9 kB / 0.7304 GB, free: 71.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006253/1.152, allocations: 5.459 MB / 0.7358 GB, free: 66.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006879/1.152, allocations: 69.7 kB / 0.7358 GB, free: 66.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001892/1.154, allocations: 4.351 MB / 0.7401 GB, free: 61.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.155, allocations: 1.262 MB / 0.7413 GB, free: 60.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004361/1.156, allocations: 180 kB / 0.7415 GB, free: 60.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003402/1.156, allocations: 0.6944 MB / 0.7422 GB, free: 59.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005535/1.162, allocations: 4.804 MB / 0.7468 GB, free: 54.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00726/1.169, allocations: 9.788 MB / 0.7564 GB, free: 42.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007056/1.176, allocations: 6.694 MB / 0.7629 GB, free: 36.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.088e-05/1.176, allocations: 51.95 kB / 0.763 GB, free: 35.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.03586/1.212, allocations: 19.56 MB / 0.7821 GB, free: 16.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/1.212, allocations: 80 kB / 0.7822 GB, free: 16.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/1.212, allocations: 172 kB / 0.7823 GB, free: 16.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01863/1.231, allocations: 5.993 MB / 0.7882 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007249/1.238, allocations: 2.129 MB / 0.7903 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03017/1.269, allocations: 24.78 MB / 0.8145 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007716/1.276, allocations: 0.5727 MB / 0.815 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/1.278, allocations: 0.5078 MB / 0.8155 GB, free: 13.85 MB / 0.5137 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.005775/1.283, allocations: 3.094 MB / 0.8185 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009931/1.284, allocations: 0.4936 MB / 0.819 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3093/1.594, allocations: 13.01 MB / 0.8317 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.641e-05/1.594, allocations: 52.56 kB / 0.8318 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/1.594, allocations: 8.797 kB / 0.8318 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.011e-05/1.594, allocations: 16.55 kB / 0.8318 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04527/1.639, allocations: 24.75 MB / 0.856 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.639, allocations: 9.562 kB / 0.856 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/1.642, allocations: 0.5818 MB / 0.8566 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01741/1.659, allocations: 4.995 MB / 0.8614 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005265/1.66, allocations: 60.89 kB / 0.8615 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02516/1.685, allocations: 19.98 MB / 0.881 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.685, allocations: 6.062 kB / 0.881 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02927/1.714, allocations: 17.57 MB / 0.8982 GB, free: 128 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/1.717, allocations: 1.262 MB / 0.8994 GB, free: 127.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000853/1.718, allocations: 57.47 kB / 0.8995 GB, free: 127.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.72, allocations: 262.1 kB / 0.8997 GB, free: 127.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006239/1.721, allocations: 195.2 kB / 0.8999 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003124/1.721, allocations: 84.83 kB / 0.9 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004429/1.726, allocations: 3.384 MB / 0.9033 GB, free: 125.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.232e-06/1.726, allocations: 0 / 0.9033 GB, free: 125.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007426/1.733, allocations: 1.767 MB / 0.905 GB, free: 124 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 (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.0006205/1.734, allocations: 212.7 kB / 0.9052 GB, free: 123.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.748, allocations: 10.96 MB / 0.9159 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.748, allocations: 4 kB / 0.9159 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005012/1.753, allocations: 4.131 MB / 0.9199 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003784/1.757, allocations: 0.5847 MB / 0.9205 GB, free: 108.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/1.781, allocations: 19.26 MB / 0.9393 GB, free: 89.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003939/1.785, allocations: 4.603 MB / 0.9438 GB, free: 84.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001936/1.787, allocations: 419.4 kB / 0.9442 GB, free: 83.97 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/1.787, allocations: 0 / 0.9442 GB, free: 83.97 MB / 0.5137 GB Notification: Performance of Templates: time 0.4416/2.229, allocations: 149.2 MB / 1.09 GB, free: 119.2 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSphericalCalcHelperMain.o] Error 1