Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002394/0.002394, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003313/0.003313, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3585/0.3585, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.338e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.02369/0.02372, allocations: 11.57 MB / 388.8 MB, free: 7.355 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.0406, allocations: 4.209 MB / 393 MB, free: 3.133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.04375, allocations: 95.56 kB / 393.1 MB, free: 3.039 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.05459, allocations: 2.92 MB / 396.1 MB, free: 112 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.06501, allocations: 2.115 MB / 398.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.06927, allocations: 1.017 MB / 399.2 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01615/0.08542, allocations: 6.412 MB / 405.6 MB, free: 6.543 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007077/0.0925, allocations: 3.435 MB / 409 MB, free: 3.059 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009236/0.1017, allocations: 2.662 MB / 411.7 MB, free: 400 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006383/0.1081, allocations: 2.865 MB / 414.6 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001679/0.1098, allocations: 396 kB / 415 MB, free: 13.13 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00397/0.1138, allocations: 1.357 MB / 416.3 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004387/0.1182, allocations: 2.353 MB / 418.7 MB, free: 9.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004072/0.1222, allocations: 1.457 MB / 420.1 MB, free: 7.949 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.1347, allocations: 8.077 MB / 428.2 MB, free: 15.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1347, allocations: 4 kB / 428.2 MB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1347, allocations: 0 / 428.2 MB, free: 15.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002774/0.135, allocations: 0 / 428.2 MB, free: 15.84 MB / 410.7 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.01997/0.155, allocations: 6.462 MB / 434.7 MB, free: 9.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.155, allocations: 8.031 kB / 434.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/0.1683, allocations: 3.009 MB / 437.7 MB, free: 6.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.1785, allocations: 3.01 MB / 440.7 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.1788, allocations: 242.5 kB / 440.9 MB, free: 2.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.1805, allocations: 336.3 kB / 441.3 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2418/0.4223, allocations: 7.129 MB / 448.4 MB, free: 92.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.4224, allocations: 43.53 kB / 448.4 MB, free: 92.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004041/0.4228, allocations: 159.6 kB / 448.6 MB, free: 92.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002797/0.4256, allocations: 1.999 MB / 450.6 MB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.4396, allocations: 4.226 MB / 454.8 MB, free: 91.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05427/0.4938, allocations: 48.91 MB / 0.4919 GB, free: 53.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009923/0.5038, allocations: 2.381 MB / 0.4942 GB, free: 52.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.5056, allocations: 0.7163 MB / 0.4949 GB, free: 52.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/0.5177, allocations: 4.763 MB / 0.4996 GB, free: 49.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.5177, allocations: 54.08 kB / 0.4996 GB, free: 49.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 5.34e-06/0.5177, allocations: 0 / 0.4996 GB, free: 49.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=236): time 0.09963/0.6174, allocations: 24.84 MB / 0.5239 GB, free: 33.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.6174, allocations: 209.9 kB / 0.5241 GB, free: 33.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006822/0.6243, allocations: 4.635 MB / 0.5286 GB, free: 28.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006165/0.6249, allocations: 61.7 kB / 0.5287 GB, free: 28.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001901/0.6268, allocations: 3.678 MB / 0.5323 GB, free: 25.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/0.628, allocations: 1.007 MB / 0.5333 GB, free: 24.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002239/0.6303, allocations: 1.68 MB / 0.5349 GB, free: 22.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.6303, allocations: 484.8 kB / 0.5354 GB, free: 21.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/0.6326, allocations: 1.403 MB / 0.5367 GB, free: 20.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/0.6367, allocations: 7.083 MB / 0.5437 GB, free: 10.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008257/0.645, allocations: 9.358 MB / 0.5528 GB, free: 15.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/0.6451, allocations: 40 kB / 0.5528 GB, free: 15.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.0376/0.6827, allocations: 10.63 MB / 0.5632 GB, free: 4.449 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.6828, allocations: 60 kB / 0.5633 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/0.683, allocations: 132.2 kB / 0.5634 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0274/0.7104, allocations: 5.279 MB / 0.5685 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/0.7161, allocations: 1.486 MB / 0.57 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02548/0.7415, allocations: 10.52 MB / 0.5803 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006168/0.7477, allocations: 463.3 kB / 0.5807 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/0.7488, allocations: 399.7 kB / 0.5811 GB, free: 1.879 MB / 442.7 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 (778): * Single equations (assignments): 773 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003134/0.7519, allocations: 0.759 MB / 0.5818 GB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/0.7532, allocations: 441.5 kB / 0.5823 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02924/0.7825, allocations: 6.821 MB / 0.5889 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.56e-05/0.7825, allocations: 28 kB / 0.5889 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-05/0.7826, allocations: 8 kB / 0.589 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.005e-05/0.7826, allocations: 11.95 kB / 0.589 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2547/1.037, allocations: 14.8 MB / 0.6034 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.749e-05/1.037, allocations: 10.34 kB / 0.6034 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/1.039, allocations: 384.6 kB / 0.6038 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02234/1.062, allocations: 4.719 MB / 0.6084 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006563/1.062, allocations: 41.25 kB / 0.6084 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01736/1.08, allocations: 9.19 MB / 0.6174 GB, free: 115.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.08, allocations: 7.844 kB / 0.6174 GB, free: 115.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02598/1.106, allocations: 7.858 MB / 0.6251 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.107, allocations: 381.4 kB / 0.6255 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.108, allocations: 46.12 kB / 0.6255 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003098/1.111, allocations: 228.7 kB / 0.6257 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008681/1.112, allocations: 157.2 kB / 0.6259 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/1.112, allocations: 65.64 kB / 0.6259 GB, free: 114.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003444/1.116, allocations: 1.941 MB / 0.6278 GB, free: 114.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/1.116, allocations: 0 / 0.6278 GB, free: 114.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007926/1.124, allocations: 1.488 MB / 0.6293 GB, free: 114.7 MB / 458.7 MB 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008454/1.125, allocations: 203.4 kB / 0.6295 GB, free: 114.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0103/1.135, allocations: 5.021 MB / 0.6344 GB, free: 113.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.135, allocations: 1.094 kB / 0.6344 GB, free: 113.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003369/1.138, allocations: 1.784 MB / 0.6361 GB, free: 112.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/1.142, allocations: 470.8 kB / 0.6366 GB, free: 112.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.157, allocations: 9.372 MB / 0.6457 GB, free: 108.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/1.16, allocations: 2.7 MB / 0.6484 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003887/1.164, allocations: 1.6 MB / 0.6499 GB, free: 107.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.165, allocations: 254.3 kB / 0.6502 GB, free: 107.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.305e-06/1.165, allocations: 0 / 0.6502 GB, free: 107.3 MB / 458.7 MB Notification: Performance of Templates: time 0.08796/1.253, allocations: 67.35 MB / 0.7159 GB, free: 41.68 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.866992262890562]