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.001959/0.001959, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002319/0.002319, allocations: 161.6 kB / 24.27 MB, free: 172 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.504/1.504, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3415/0.3415, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.993e-06/1.993e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.765e-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.01726/0.0173, allocations: 10.53 MB / 387.8 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.02928, allocations: 4.115 MB / 391.9 MB, free: 4.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.03188, allocations: 87.56 kB / 392 MB, free: 4.184 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007499/0.03938, allocations: 2.846 MB / 394.8 MB, free: 1.328 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007381/0.04676, allocations: 2.111 MB / 397 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.04981, allocations: 1.018 MB / 398 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01134/0.06116, allocations: 6.409 MB / 404.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007307/0.06846, allocations: 3.439 MB / 407.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007633/0.0761, allocations: 2.631 MB / 410.5 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00636/0.08246, allocations: 2.833 MB / 413.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001963/0.08442, allocations: 400 kB / 413.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004291/0.08871, allocations: 1.361 MB / 415 MB, free: 13.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005932/0.09464, allocations: 2.353 MB / 417.4 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005171/0.09981, allocations: 1.445 MB / 418.8 MB, free: 9.238 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.1153, allocations: 8.112 MB / 426.9 MB, free: 1.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.1153, allocations: 0 / 426.9 MB, free: 1.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1153, allocations: 0 / 426.9 MB, free: 1.102 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003402/0.1156, allocations: 0 / 426.9 MB, free: 1.102 MB / 394.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.02136/0.137, allocations: 5.645 MB / 432.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/0.137, allocations: 12.03 kB / 432.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01604/0.1531, allocations: 3.087 MB / 435.7 MB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.1638, allocations: 3.304 MB / 439 MB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003868/0.1642, allocations: 234.5 kB / 439.2 MB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001885/0.1661, allocations: 340.3 kB / 439.6 MB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2157/0.3817, allocations: 11.02 MB / 450.6 MB, free: 93.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/0.3819, allocations: 53.62 kB / 450.6 MB, free: 93.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004674/0.3823, allocations: 154.1 kB / 450.8 MB, free: 93.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002829/0.3852, allocations: 2.007 MB / 452.8 MB, free: 92.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/0.4027, allocations: 9.506 MB / 462.3 MB, free: 89.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0425/0.4452, allocations: 38.6 MB / 0.4892 GB, free: 63.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.4552, allocations: 3.735 MB / 0.4928 GB, free: 62.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002728/0.4579, allocations: 1.845 MB / 0.4946 GB, free: 61.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.4685, allocations: 6.17 MB / 0.5006 GB, free: 57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4685, allocations: 52.86 kB / 0.5007 GB, free: 56.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 4.568e-06/0.4685, allocations: 0 / 0.5007 GB, free: 56.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.1649/0.6334, allocations: 47.92 MB / 0.5475 GB, free: 10.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.6335, allocations: 201.9 kB / 0.5477 GB, free: 10.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/0.6385, allocations: 4.182 MB / 0.5518 GB, free: 6.344 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006566/0.6392, allocations: 57.7 kB / 0.5518 GB, free: 6.281 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.6407, allocations: 3.271 MB / 0.555 GB, free: 3.023 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001165/0.6419, allocations: 0.9113 MB / 0.5559 GB, free: 2.117 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/0.6437, allocations: 1.337 MB / 0.5572 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.04e-05/0.6438, allocations: 301.1 kB / 0.5575 GB, free: 484 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006528/0.6503, allocations: 3.804 MB / 0.5612 GB, free: 12.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/0.6624, allocations: 7.474 MB / 0.5685 GB, free: 3.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02152/0.684, allocations: 11.92 MB / 0.5801 GB, free: 5.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/0.6841, allocations: 40 kB / 0.5802 GB, free: 5.664 MB / 442.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.04808/0.7322, allocations: 17.28 MB / 0.5971 GB, free: 4.367 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.7324, allocations: 65.23 kB / 0.5971 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002592/0.7327, allocations: 124 kB / 0.5972 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2022/0.9349, allocations: 8.125 MB / 0.6052 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004877/0.9398, allocations: 1.501 MB / 0.6066 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03392/0.9737, allocations: 28.85 MB / 0.6348 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006178/0.9799, allocations: 0.5049 MB / 0.6353 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.9809, allocations: 379 kB / 0.6357 GB, free: 117.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (772): * Single equations (assignments): 767 * 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.003721/0.9847, allocations: 2.212 MB / 0.6378 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/0.9859, allocations: 443.6 kB / 0.6382 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03004/1.016, allocations: 12.09 MB / 0.6501 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.675e-05/1.016, allocations: 25.75 kB / 0.6501 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.613e-05/1.016, allocations: 9.906 kB / 0.6501 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.633e-05/1.016, allocations: 11.48 kB / 0.6501 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0403/1.056, allocations: 20.29 MB / 0.6699 GB, free: 97.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/1.056, allocations: 10 kB / 0.6699 GB, free: 97.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/1.059, allocations: 403.3 kB / 0.6703 GB, free: 96.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02322/1.082, allocations: 7.2 MB / 0.6773 GB, free: 89.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005921/1.082, allocations: 54.56 kB / 0.6774 GB, free: 89.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02639/1.109, allocations: 23.87 MB / 0.7007 GB, free: 65.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.109, allocations: 7.938 kB / 0.7007 GB, free: 65.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02968/1.138, allocations: 15.78 MB / 0.7161 GB, free: 50.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.14, allocations: 386.1 kB / 0.7165 GB, free: 49.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007365/1.14, allocations: 41.12 kB / 0.7165 GB, free: 49.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.143, allocations: 267.5 kB / 0.7168 GB, free: 49.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006982/1.144, allocations: 164.9 kB / 0.7169 GB, free: 49.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.144, allocations: 63.59 kB / 0.717 GB, free: 49.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002795/1.147, allocations: 2.481 MB / 0.7194 GB, free: 46.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.147, allocations: 0 / 0.7194 GB, free: 46.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005677/1.152, allocations: 1.51 MB / 0.7209 GB, free: 45.39 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 (168): * Single equations (assignments): 163 * 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.0005252/1.153, allocations: 199.8 kB / 0.7211 GB, free: 45.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01005/1.163, allocations: 8.359 MB / 0.7292 GB, free: 36.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.163, allocations: 5.125 kB / 0.7292 GB, free: 36.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003998/1.167, allocations: 3.189 MB / 0.7324 GB, free: 33.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/1.17, allocations: 473 kB / 0.7328 GB, free: 33.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/1.186, allocations: 12.21 MB / 0.7447 GB, free: 20.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003183/1.19, allocations: 2.978 MB / 0.7476 GB, free: 17.89 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004028/1.194, allocations: 1.91 MB / 0.7495 GB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/1.195, allocations: 252.4 kB / 0.7498 GB, free: 15.72 MB / 458.7 MB Notification: Performance of SimCode: time 2.154e-06/1.195, allocations: 0 / 0.7498 GB, free: 15.72 MB / 458.7 MB Notification: Performance of Templates: time 0.2739/1.469, allocations: 69.39 MB / 0.8175 GB, free: 124.7 MB / 474.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] 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.955755982897244]