Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007713/0.0007716, allocations: 92.66 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.0007515/0.0007515, allocations: 184.3 kB / 17.22 MB, free: 5.863 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.556/1.556, allocations: 205.4 MB / 223.4 MB, free: 5.473 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.393/0.393, allocations: 43.55 MB / 315.2 MB, free: 9.266 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.0005247/0.0005247, allocations: 12 kB / 384.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 58.85 MB / 443.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2708/0.4055, allocations: 42.63 MB / 486 MB, free: 24.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02161/0.4271, allocations: 9.595 MB / 495.6 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00903/0.4362, allocations: 208.1 kB / 495.8 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007116/0.4434, allocations: 2.175 MB / 498 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01973/0.4632, allocations: 6.61 MB / 0.4928 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.467, allocations: 0.7794 MB / 0.4935 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04469/0.5117, allocations: 35.12 MB / 0.5278 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006595/0.5184, allocations: 4.264 MB / 0.532 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.5213, allocations: 1.448 MB / 0.5334 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003587/0.5249, allocations: 2.415 MB / 0.5358 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006137/0.5255, allocations: 176 kB / 0.5359 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.5278, allocations: 1.073 MB / 0.537 GB, free: 500 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.5298, allocations: 1.96 MB / 0.5389 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.5309, allocations: 0.8856 MB / 0.5398 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006355/0.5373, allocations: 6.028 MB / 0.5457 GB, free: 7.586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.5373, allocations: 0 / 0.5457 GB, free: 7.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5373, allocations: 4 kB / 0.5457 GB, free: 7.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002249/0.5375, allocations: 0 / 0.5457 GB, free: 7.582 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.009714/0.5473, allocations: 4.664 MB / 0.5502 GB, free: 2.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5473, allocations: 8.562 kB / 0.5502 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009955/0.5573, allocations: 2.521 MB / 0.5527 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007617/0.5649, allocations: 3.412 MB / 0.556 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.5652, allocations: 234.1 kB / 0.5562 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.5665, allocations: 339.6 kB / 0.5566 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.5848, allocations: 10.88 MB / 0.5672 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/0.585, allocations: 51.53 kB / 0.5672 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003818/0.5854, allocations: 151.9 kB / 0.5674 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002833/0.5882, allocations: 2.002 MB / 0.5693 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01949/0.6077, allocations: 9.432 MB / 0.5786 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0506/0.6584, allocations: 41.23 MB / 0.6188 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.6685, allocations: 4.277 MB / 0.623 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/0.6711, allocations: 1.912 MB / 0.6249 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2743/0.9455, allocations: 7.621 MB / 0.6323 GB, free: 141.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/0.9456, allocations: 54.86 kB / 0.6324 GB, free: 141.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 5.64e-06/0.9456, allocations: 2.531 kB / 0.6324 GB, free: 141.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=236): time 0.1407/1.086, allocations: 41.46 MB / 0.6728 GB, free: 133.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/1.086, allocations: 201.2 kB / 0.673 GB, free: 133.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005673/1.092, allocations: 4.307 MB / 0.6772 GB, free: 131.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005431/1.093, allocations: 57.52 kB / 0.6773 GB, free: 131.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001658/1.094, allocations: 3.176 MB / 0.6804 GB, free: 128.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009665/1.095, allocations: 0.8797 MB / 0.6813 GB, free: 127.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/1.096, allocations: 131.2 kB / 0.6814 GB, free: 127.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002602/1.096, allocations: 0.5751 MB / 0.6819 GB, free: 127 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004196/1.1, allocations: 3.603 MB / 0.6855 GB, free: 125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00577/1.106, allocations: 7.274 MB / 0.6926 GB, free: 115.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005657/1.112, allocations: 4.962 MB / 0.6974 GB, free: 111 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.672e-05/1.112, allocations: 36 kB / 0.6975 GB, free: 110.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03039/1.142, allocations: 16.17 MB / 0.7132 GB, free: 94.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.239e-05/1.142, allocations: 67.88 kB / 0.7133 GB, free: 94.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-05/1.142, allocations: 124 kB / 0.7134 GB, free: 94.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01889/1.161, allocations: 6.279 MB / 0.7196 GB, free: 88.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004699/1.166, allocations: 1.493 MB / 0.721 GB, free: 86.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02793/1.194, allocations: 26.15 MB / 0.7466 GB, free: 60.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006925/1.201, allocations: 407.4 kB / 0.7469 GB, free: 59.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.202, allocations: 388 kB / 0.7473 GB, free: 59.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (779): * Single equations (assignments): 774 * Array equations: 3 * 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 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00393/1.206, allocations: 2.23 MB / 0.7495 GB, free: 57.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000964/1.207, allocations: 398.8 kB / 0.7499 GB, free: 56.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02361/1.23, allocations: 11.3 MB / 0.7609 GB, free: 45.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-05/1.231, allocations: 24 kB / 0.7609 GB, free: 45.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/1.231, allocations: 8 kB / 0.7609 GB, free: 45.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.731e-05/1.231, allocations: 11.97 kB / 0.7609 GB, free: 45.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.036/1.267, allocations: 20.77 MB / 0.7812 GB, free: 24.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.445e-05/1.267, allocations: 4 kB / 0.7812 GB, free: 24.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/1.269, allocations: 387.4 kB / 0.7816 GB, free: 23.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01663/1.285, allocations: 5.344 MB / 0.7868 GB, free: 18.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000468/1.286, allocations: 36 kB / 0.7869 GB, free: 18.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02332/1.309, allocations: 21.21 MB / 0.8076 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.309, allocations: 4 kB / 0.8076 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3091/1.618, allocations: 14.6 MB / 0.8218 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002821/1.621, allocations: 0.99 MB / 0.8228 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009291/1.622, allocations: 41.36 kB / 0.8228 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/1.624, allocations: 180.4 kB / 0.823 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/1.625, allocations: 154.2 kB / 0.8232 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.625, allocations: 65.16 kB / 0.8232 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003906/1.629, allocations: 2.704 MB / 0.8259 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.629, allocations: 0 / 0.8259 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007033/1.636, allocations: 1.372 MB / 0.8272 GB, free: 142.6 MB / 0.4981 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005957/1.636, allocations: 182.3 kB / 0.8274 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.648, allocations: 8.291 MB / 0.8355 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.648, allocations: 3.031 kB / 0.8355 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00502/1.653, allocations: 3.208 MB / 0.8386 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/1.657, allocations: 496 kB / 0.8391 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/1.682, allocations: 14.02 MB / 0.8528 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005096/1.687, allocations: 3.486 MB / 0.8562 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/1.689, allocations: 309.6 kB / 0.8565 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.134e-06/1.689, allocations: 0 / 0.8565 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.1301/1.819, allocations: 109.2 MB / 0.9631 GB, free: 36.11 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSphericalCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSphericalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSphericalCalcHelperMain.o] Error 1