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.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.0009158/0.0009158, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.002034/0.002034, allocations: 166.1 kB / 24.84 MB, free: 9.246 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9983/0.9983, allocations: 158.6 MB / 186.7 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1498/0.1498, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.954e-05/4.215e-05, allocations: 2.312 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01359/0.01363, allocations: 11.42 MB / 360.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008364/0.02199, allocations: 4.213 MB / 364.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.02354, allocations: 91.56 kB / 364.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003117/0.02666, allocations: 2.893 MB / 367.5 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.03014, allocations: 2.158 MB / 369.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.03155, allocations: 1.029 MB / 370.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004952/0.03651, allocations: 5.927 MB / 376.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003165/0.03967, allocations: 3.474 MB / 380.1 MB, free: 9.832 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.0431, allocations: 3.302 MB / 383.4 MB, free: 6.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.04591, allocations: 2.833 MB / 386.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005952/0.0465, allocations: 396 kB / 386.6 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.04817, allocations: 1.361 MB / 388 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.04973, allocations: 2.392 MB / 390.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.05147, allocations: 1.472 MB / 391.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004843/0.05631, allocations: 5.403 MB / 397.3 MB, free: 8.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.05631, allocations: 0 / 397.3 MB, free: 8.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.05632, allocations: 0 / 397.3 MB, free: 8.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.822e-05/0.05641, allocations: 4 kB / 397.3 MB, free: 8.633 MB / 330.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.007088/0.0635, allocations: 5.626 MB / 402.9 MB, free: 2.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.06355, allocations: 12.03 kB / 402.9 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/0.06877, allocations: 2.015 MB / 404.9 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/0.07175, allocations: 2.508 MB / 407.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.07187, allocations: 246.5 kB / 407.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/0.07227, allocations: 328.3 kB / 408 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006668/0.07894, allocations: 6.007 MB / 414 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.541e-05/0.07903, allocations: 47.61 kB / 414 MB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/0.07929, allocations: 163.8 kB / 414.2 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001451/0.08074, allocations: 1.783 MB / 416 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004951/0.08569, allocations: 2.926 MB / 418.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2241/0.3098, allocations: 44.65 MB / 463.6 MB, free: 50.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005157/0.315, allocations: 1.923 MB / 465.5 MB, free: 50.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008376/0.3158, allocations: 478.1 kB / 465.9 MB, free: 50.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006452/0.3222, allocations: 4.437 MB / 470.4 MB, free: 49.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.3223, allocations: 61.98 kB / 470.4 MB, free: 49.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=163): time 3.587e-06/0.3223, allocations: 0 / 470.4 MB, free: 49.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=200): time 0.02057/0.3429, allocations: 8.932 MB / 479.4 MB, free: 48.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.3429, allocations: 204.3 kB / 479.6 MB, free: 48.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.3459, allocations: 3.774 MB / 483.3 MB, free: 48.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.3459, allocations: 54.92 kB / 483.4 MB, free: 48.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.3473, allocations: 3.571 MB / 487 MB, free: 46.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/0.3477, allocations: 0.8233 MB / 487.8 MB, free: 45.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.3488, allocations: 1.419 MB / 489.2 MB, free: 45.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.3489, allocations: 476.8 kB / 489.7 MB, free: 44.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.3499, allocations: 0.716 MB / 490.4 MB, free: 44.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/0.3525, allocations: 6.434 MB / 496.8 MB, free: 35.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/0.3569, allocations: 7.732 MB / 0.4927 GB, free: 25.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.49e-05/0.357, allocations: 36 kB / 0.4928 GB, free: 25.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.006908/0.3639, allocations: 5.715 MB / 0.4984 GB, free: 20.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.3639, allocations: 65.97 kB / 0.4984 GB, free: 20.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.364, allocations: 132 kB / 0.4985 GB, free: 20.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/0.3669, allocations: 0.9553 MB / 0.4995 GB, free: 19.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/0.3699, allocations: 1.435 MB / 0.5009 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/0.3756, allocations: 5.94 MB / 0.5067 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003413/0.379, allocations: 279.7 kB / 0.5069 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003463/0.3794, allocations: 328 kB / 0.5073 GB, free: 11.6 MB / 378.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.001265/0.3806, allocations: 0.6817 MB / 0.5079 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005434/0.3812, allocations: 421.5 kB / 0.5083 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.3847, allocations: 1.867 MB / 0.5101 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.3847, allocations: 23.94 kB / 0.5102 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.3847, allocations: 8 kB / 0.5102 GB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.3848, allocations: 11.95 kB / 0.5102 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009281/0.394, allocations: 5.511 MB / 0.5156 GB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.3941, allocations: 8 kB / 0.5156 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008812/0.3949, allocations: 267.6 kB / 0.5158 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/0.3974, allocations: 0.7496 MB / 0.5166 GB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.3975, allocations: 36 kB / 0.5166 GB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005191/0.4027, allocations: 5.298 MB / 0.5218 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.4027, allocations: 11.94 kB / 0.5218 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/0.4076, allocations: 2.993 MB / 0.5247 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009294/0.4085, allocations: 0.5502 MB / 0.5252 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/0.4089, allocations: 36 kB / 0.5253 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.41, allocations: 40 kB / 0.5253 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/0.4102, allocations: 140.5 kB / 0.5254 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.4103, allocations: 42.66 kB / 0.5255 GB, free: 8.863 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001822/0.4122, allocations: 1.559 MB / 0.527 GB, free: 7.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4122, allocations: 0 / 0.527 GB, free: 7.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004566/0.4167, allocations: 1.214 MB / 0.5282 GB, free: 6.266 MB / 394.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.0004303/0.4172, allocations: 203.9 kB / 0.5284 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004493/0.4217, allocations: 3.191 MB / 0.5315 GB, free: 2.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4217, allocations: 0.625 kB / 0.5315 GB, free: 2.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.4228, allocations: 0.9099 MB / 0.5324 GB, free: 2.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.4248, allocations: 465 kB / 0.5328 GB, free: 1.598 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4356, allocations: 8.303 MB / 0.541 GB, free: 9.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.4368, allocations: 1.34 MB / 0.5423 GB, free: 7.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001181/0.4379, allocations: 0.5204 MB / 0.5428 GB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009251/0.4389, allocations: 0.6309 MB / 0.5434 GB, free: 6.641 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4389, allocations: 0 / 0.5434 GB, free: 6.641 MB / 410.7 MB Notification: Performance of Templates: time 0.05953/0.4984, allocations: 43.96 MB / 0.5863 GB, free: 10.78 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.63197167403996]