Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001903/0.001903, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002138/0.002138, allocations: 165.6 kB / 24.28 MB, free: 152 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.693/1.693, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3522/0.3522, allocations: 32.79 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.61e-05, allocations: 5.828 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01675/0.01678, allocations: 11.56 MB / 386.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.0272, allocations: 4.22 MB / 391 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.0294, allocations: 91.5 kB / 391.1 MB, free: 5.066 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006817/0.03622, allocations: 2.916 MB / 394 MB, free: 2.141 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006802/0.04302, allocations: 2.123 MB / 396.2 MB, free: 8 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.04576, allocations: 1.014 MB / 397.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.05652, allocations: 6.409 MB / 403.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00588/0.0624, allocations: 3.439 MB / 407 MB, free: 5.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005754/0.06816, allocations: 2.658 MB / 409.7 MB, free: 2.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005259/0.07341, allocations: 2.861 MB / 412.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.07463, allocations: 396 kB / 412.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.07751, allocations: 1.357 MB / 414.3 MB, free: 13.81 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002922/0.08043, allocations: 2.353 MB / 416.6 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00256/0.08299, allocations: 1.46 MB / 418.1 MB, free: 9.988 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.09434, allocations: 8.08 MB / 426.2 MB, free: 1.883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.09434, allocations: 0 / 426.2 MB, free: 1.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09434, allocations: 0 / 426.2 MB, free: 1.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001917/0.09453, allocations: 4 kB / 426.2 MB, free: 1.879 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.01557/0.1101, allocations: 6.46 MB / 432.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1101, allocations: 8.031 kB / 432.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.1235, allocations: 3.001 MB / 435.6 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009659/0.1331, allocations: 3.018 MB / 438.7 MB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.1334, allocations: 242.5 kB / 438.9 MB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.1348, allocations: 328.4 kB / 439.2 MB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1938/0.3286, allocations: 7.133 MB / 446.4 MB, free: 94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002921/0.3289, allocations: 53.77 kB / 446.4 MB, free: 93.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001445/0.3303, allocations: 151.5 kB / 446.6 MB, free: 93.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003222/0.3335, allocations: 1.999 MB / 448.6 MB, free: 93.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.3478, allocations: 4.227 MB / 452.8 MB, free: 93.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04616/0.394, allocations: 48.92 MB / 0.4899 GB, free: 55.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009165/0.4032, allocations: 2.375 MB / 0.4923 GB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.4047, allocations: 0.714 MB / 0.493 GB, free: 54.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.4154, allocations: 4.757 MB / 0.4976 GB, free: 51.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.4155, allocations: 54.27 kB / 0.4977 GB, free: 51.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 5.14e-06/0.4155, allocations: 0 / 0.4977 GB, free: 51.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=236): time 0.09591/0.5114, allocations: 24.85 MB / 0.5219 GB, free: 36.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.5115, allocations: 205.9 kB / 0.5221 GB, free: 36.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005217/0.5167, allocations: 4.64 MB / 0.5267 GB, free: 31.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005955/0.5173, allocations: 69.31 kB / 0.5267 GB, free: 31.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.519, allocations: 3.673 MB / 0.5303 GB, free: 27.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/0.5204, allocations: 1.004 MB / 0.5313 GB, free: 26.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002161/0.5225, allocations: 1.682 MB / 0.5329 GB, free: 25.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.5226, allocations: 484.7 kB / 0.5334 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002351/0.5249, allocations: 1.407 MB / 0.5348 GB, free: 23.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004298/0.5292, allocations: 7.08 MB / 0.5417 GB, free: 13.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008681/0.5379, allocations: 9.364 MB / 0.5508 GB, free: 1.832 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/0.538, allocations: 40 kB / 0.5509 GB, free: 1.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.03861/0.5766, allocations: 10.63 MB / 0.5612 GB, free: 7.148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.5768, allocations: 65.5 kB / 0.5613 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001895/0.577, allocations: 128 kB / 0.5614 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02844/0.6054, allocations: 5.278 MB / 0.5666 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006083/0.6115, allocations: 1.486 MB / 0.568 GB, free: 184 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02558/0.6371, allocations: 10.53 MB / 0.5783 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00666/0.6437, allocations: 471.3 kB / 0.5788 GB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/0.6451, allocations: 384 kB / 0.5791 GB, free: 4.57 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.002763/0.6478, allocations: 0.7689 MB / 0.5799 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/0.6493, allocations: 441.5 kB / 0.5803 GB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02878/0.678, allocations: 6.817 MB / 0.587 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7e-05/0.6781, allocations: 24 kB / 0.587 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/0.6781, allocations: 16 kB / 0.587 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.944e-05/0.6782, allocations: 15.89 kB / 0.587 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2814/0.9596, allocations: 14.8 MB / 0.6015 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-05/0.9597, allocations: 8.375 kB / 0.6015 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/0.9617, allocations: 387.2 kB / 0.6018 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02164/0.9833, allocations: 4.713 MB / 0.6064 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000596/0.9839, allocations: 42.25 kB / 0.6065 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/1.001, allocations: 9.194 MB / 0.6155 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.001, allocations: 6.094 kB / 0.6155 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/1.026, allocations: 7.858 MB / 0.6231 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.027, allocations: 378.5 kB / 0.6235 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007226/1.028, allocations: 43.94 kB / 0.6235 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.03, allocations: 228.5 kB / 0.6238 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000716/1.031, allocations: 162.4 kB / 0.6239 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/1.031, allocations: 65.09 kB / 0.624 GB, free: 117.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003027/1.034, allocations: 1.942 MB / 0.6259 GB, free: 117.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.034, allocations: 0 / 0.6259 GB, free: 117.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006023/1.04, allocations: 1.485 MB / 0.6273 GB, free: 117.3 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.0006615/1.041, allocations: 200.1 kB / 0.6275 GB, free: 117.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009928/1.051, allocations: 5.03 MB / 0.6324 GB, free: 116.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.051, allocations: 3.094 kB / 0.6324 GB, free: 116.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003545/1.054, allocations: 1.779 MB / 0.6342 GB, free: 115.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/1.058, allocations: 473.6 kB / 0.6346 GB, free: 115.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/1.072, allocations: 9.36 MB / 0.6438 GB, free: 110.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003042/1.075, allocations: 2.703 MB / 0.6464 GB, free: 110.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004036/1.079, allocations: 1.595 MB / 0.648 GB, free: 110 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009526/1.08, allocations: 251.6 kB / 0.6482 GB, free: 110 MB / 458.7 MB Notification: Performance of SimCode: time 1.894e-06/1.08, allocations: 0 / 0.6482 GB, free: 110 MB / 458.7 MB Notification: Performance of Templates: time 0.08413/1.164, allocations: 67.37 MB / 0.714 GB, free: 46.61 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.909396297996864]