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.00114/0.00114, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001265/0.001265, allocations: 171.9 kB / 24.82 MB, free: 9.328 MB / 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.184/1.184, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.4065/0.4065, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.723e-06/1.723e-06, allocations: 0 / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.093e-05, allocations: 2.312 kB / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.009328/0.009359, allocations: 11.36 MB / 389.8 MB, free: 6.992 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007762/0.01712, allocations: 4.201 MB / 394 MB, free: 2.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.01921, allocations: 91.5 kB / 394.1 MB, free: 2.688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004392/0.0236, allocations: 2.885 MB / 397 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005972/0.02958, allocations: 2.131 MB / 399.1 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.03175, allocations: 1.018 MB / 400.2 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006476/0.03823, allocations: 6.401 MB / 406.6 MB, free: 6.223 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003721/0.04195, allocations: 3.447 MB / 410 MB, free: 2.727 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004954/0.0469, allocations: 3.63 MB / 413.6 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003492/0.0504, allocations: 2.818 MB / 416.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008507/0.05125, allocations: 396 kB / 416.8 MB, free: 11.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.05332, allocations: 1.35 MB / 418.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001812/0.05513, allocations: 2.357 MB / 420.5 MB, free: 8.164 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.05744, allocations: 1.453 MB / 422 MB, free: 6.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007095/0.06453, allocations: 5.341 MB / 427.3 MB, free: 1.348 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.06454, allocations: 3.938 kB / 427.3 MB, free: 1.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.217e-06/0.06455, allocations: 0 / 427.3 MB, free: 1.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003091/0.06485, allocations: 0 / 427.3 MB, free: 1.344 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.009814/0.07467, allocations: 5.592 MB / 432.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.07472, allocations: 16.03 kB / 433 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005444/0.08016, allocations: 2.015 MB / 435 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004432/0.08459, allocations: 2.475 MB / 437.4 MB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.08475, allocations: 234.5 kB / 437.7 MB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007139/0.08547, allocations: 336.3 kB / 438 MB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2186/0.3041, allocations: 6.004 MB / 444 MB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002218/0.3043, allocations: 49.03 kB / 444.1 MB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004889/0.3048, allocations: 153.8 kB / 444.2 MB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001811/0.3066, allocations: 1.794 MB / 446 MB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00791/0.3145, allocations: 2.914 MB / 448.9 MB, free: 89.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03203/0.3465, allocations: 44.63 MB / 493.5 MB, free: 54.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/0.3509, allocations: 1.921 MB / 495.5 MB, free: 53.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.3515, allocations: 483.8 kB / 495.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006073/0.3576, allocations: 4.428 MB / 0.4886 GB, free: 51.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.3576, allocations: 55.47 kB / 0.4887 GB, free: 51.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=163): time 5.35e-06/0.3576, allocations: 0 / 0.4887 GB, free: 51.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=200): time 0.02479/0.3824, allocations: 8.894 MB / 0.4974 GB, free: 50.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.3825, allocations: 204.9 kB / 0.4976 GB, free: 50.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005091/0.3876, allocations: 3.752 MB / 0.5012 GB, free: 48.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.3879, allocations: 58.55 kB / 0.5013 GB, free: 48.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00226/0.3902, allocations: 3.559 MB / 0.5048 GB, free: 45.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009385/0.3911, allocations: 0.8206 MB / 0.5056 GB, free: 45.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/0.3926, allocations: 1.409 MB / 0.5069 GB, free: 44.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.3927, allocations: 481.4 kB / 0.5074 GB, free: 44.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.3941, allocations: 0.7228 MB / 0.5081 GB, free: 43.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/0.3979, allocations: 6.432 MB / 0.5144 GB, free: 36.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006297/0.4041, allocations: 7.738 MB / 0.5219 GB, free: 26.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/0.4043, allocations: 36 kB / 0.522 GB, free: 26.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.009946/0.4142, allocations: 5.705 MB / 0.5276 GB, free: 21.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.4143, allocations: 64.22 kB / 0.5276 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/0.4144, allocations: 139.1 kB / 0.5277 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/0.4168, allocations: 0.9606 MB / 0.5287 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.4194, allocations: 1.43 MB / 0.5301 GB, free: 19.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004849/0.4242, allocations: 5.935 MB / 0.5359 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00454/0.4288, allocations: 279.7 kB / 0.5361 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007016/0.4295, allocations: 331.1 kB / 0.5365 GB, free: 13.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * 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 (791): * Single equations (assignments): 786 * 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,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001989/0.4315, allocations: 0.688 MB / 0.5371 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009305/0.4324, allocations: 417.6 kB / 0.5375 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.4355, allocations: 1.866 MB / 0.5394 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/0.4356, allocations: 20 kB / 0.5394 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.4356, allocations: 11.44 kB / 0.5394 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.4356, allocations: 7.969 kB / 0.5394 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009795/0.4454, allocations: 5.476 MB / 0.5447 GB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.4454, allocations: 4 kB / 0.5447 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/0.4461, allocations: 275.6 kB / 0.545 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.4481, allocations: 0.7509 MB / 0.5457 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.4482, allocations: 40 kB / 0.5458 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004298/0.4525, allocations: 5.289 MB / 0.5509 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.4525, allocations: 11.94 kB / 0.551 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005021/0.4575, allocations: 2.993 MB / 0.5539 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.4588, allocations: 373.3 kB / 0.5542 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005489/0.4594, allocations: 35.97 kB / 0.5543 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/0.4603, allocations: 44 kB / 0.5543 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/0.4605, allocations: 136.6 kB / 0.5544 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.402e-05/0.4606, allocations: 48 kB / 0.5545 GB, free: 10.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001932/0.4626, allocations: 1.527 MB / 0.556 GB, free: 9.227 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.4626, allocations: 4 kB / 0.556 GB, free: 9.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005284/0.4678, allocations: 1.187 MB / 0.5571 GB, free: 8.035 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (153): * Single equations (assignments): 148 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005493/0.4684, allocations: 186.8 kB / 0.5573 GB, free: 7.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005248/0.4736, allocations: 3.198 MB / 0.5604 GB, free: 4.645 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.4737, allocations: 0 / 0.5604 GB, free: 4.645 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.4748, allocations: 0.9044 MB / 0.5613 GB, free: 3.715 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.4774, allocations: 461.7 kB / 0.5618 GB, free: 3.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.4922, allocations: 8.277 MB / 0.5698 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.4938, allocations: 1.33 MB / 0.5711 GB, free: 9.457 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001743/0.4955, allocations: 0.5292 MB / 0.5717 GB, free: 8.922 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.4966, allocations: 0.6192 MB / 0.5723 GB, free: 8.301 MB / 442.7 MB Notification: Performance of SimCode: time 3.357e-06/0.4966, allocations: 0 / 0.5723 GB, free: 8.301 MB / 442.7 MB Notification: Performance of Templates: time 0.2382/0.7347, allocations: 42.38 MB / 0.6137 GB, free: 138.5 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=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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0451343222521245]