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.001886/0.001886, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.001957/0.001957, allocations: 157.7 kB / 23.52 MB, free: 0.918 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 1.571/1.571, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2266/0.2266, allocations: 32.38 MB / 270 MB, free: 14.77 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 1.593e-06/1.593e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.196e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01096/0.01099, allocations: 10.6 MB / 357.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.02223, allocations: 4.117 MB / 361.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.0252, allocations: 87.56 kB / 361.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007315/0.03251, allocations: 2.854 MB / 364.6 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006996/0.03951, allocations: 2.15 MB / 366.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.04225, allocations: 1.021 MB / 367.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.05291, allocations: 5.931 MB / 373.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006026/0.05894, allocations: 3.459 MB / 377.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006555/0.06549, allocations: 2.662 MB / 379.8 MB, free: 8.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005906/0.0714, allocations: 2.845 MB / 382.6 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.07282, allocations: 400 kB / 383 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/0.07621, allocations: 1.373 MB / 384.4 MB, free: 4.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00348/0.07969, allocations: 2.377 MB / 386.8 MB, free: 1.789 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003092/0.08279, allocations: 1.484 MB / 388.3 MB, free: 308 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.09718, allocations: 8.17 MB / 396.4 MB, free: 8.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.09719, allocations: 0 / 396.4 MB, free: 8.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.09719, allocations: 0 / 396.4 MB, free: 8.105 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000322/0.09751, allocations: 0 / 396.4 MB, free: 8.105 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.01926/0.1168, allocations: 5.691 MB / 402.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1168, allocations: 12.03 kB / 402.1 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/0.1304, allocations: 3.083 MB / 405.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009687/0.1401, allocations: 3.422 MB / 408.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.1404, allocations: 238.5 kB / 408.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.1417, allocations: 332.3 kB / 409.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/0.1647, allocations: 11.03 MB / 420.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/0.1649, allocations: 59.52 kB / 420.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000514/0.1654, allocations: 151.9 kB / 420.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0038/0.1692, allocations: 2.01 MB / 422.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.1914, allocations: 9.506 MB / 432 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2004/0.3918, allocations: 38.65 MB / 470.6 MB, free: 76.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009864/0.4016, allocations: 3.741 MB / 474.3 MB, free: 75.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.4037, allocations: 1.833 MB / 476.2 MB, free: 75.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009745/0.4135, allocations: 6.183 MB / 482.4 MB, free: 72.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.4135, allocations: 57.06 kB / 482.4 MB, free: 72.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 4.759e-06/0.4135, allocations: 0 / 482.4 MB, free: 72.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=237): time 0.16/0.5735, allocations: 48 MB / 0.518 GB, free: 26.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.5735, allocations: 205.3 kB / 0.5182 GB, free: 26.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00506/0.5786, allocations: 4.278 MB / 0.5224 GB, free: 22.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006294/0.5792, allocations: 65.22 kB / 0.5224 GB, free: 22.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.5807, allocations: 3.272 MB / 0.5256 GB, free: 19.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009585/0.5816, allocations: 0.9139 MB / 0.5265 GB, free: 18.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/0.5833, allocations: 1.341 MB / 0.5278 GB, free: 17.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.5834, allocations: 301.1 kB / 0.5281 GB, free: 16.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003951/0.5873, allocations: 3.8 MB / 0.5318 GB, free: 13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005403/0.5927, allocations: 7.478 MB / 0.5391 GB, free: 3.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01632/0.609, allocations: 11.92 MB / 0.5508 GB, free: 6.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/0.6092, allocations: 36 kB / 0.5508 GB, free: 6.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.04651/0.6557, allocations: 17.27 MB / 0.5677 GB, free: 4.727 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.6559, allocations: 63.94 kB / 0.5677 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002546/0.6561, allocations: 128.2 kB / 0.5679 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03083/0.6869, allocations: 8.135 MB / 0.5758 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005919/0.6929, allocations: 1.501 MB / 0.5773 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2075/0.9004, allocations: 28.86 MB / 0.6054 GB, free: 149.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006764/0.9071, allocations: 0.5084 MB / 0.6059 GB, free: 149.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/0.9083, allocations: 384.1 kB / 0.6063 GB, free: 149.5 MB / 442.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.004294/0.9125, allocations: 2.216 MB / 0.6085 GB, free: 149.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/0.914, allocations: 442.8 kB / 0.6089 GB, free: 149.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02824/0.9422, allocations: 12.09 MB / 0.6207 GB, free: 145.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.507e-05/0.9423, allocations: 22.94 kB / 0.6207 GB, free: 145.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/0.9423, allocations: 11.88 kB / 0.6207 GB, free: 145.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.074e-05/0.9423, allocations: 11.2 kB / 0.6208 GB, free: 145.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04069/0.983, allocations: 20.31 MB / 0.6406 GB, free: 130.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.449e-05/0.9831, allocations: 4 kB / 0.6406 GB, free: 130.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/0.9852, allocations: 413.2 kB / 0.641 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02314/1.008, allocations: 7.203 MB / 0.648 GB, free: 123.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006576/1.009, allocations: 43.98 kB / 0.6481 GB, free: 123.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02609/1.035, allocations: 23.89 MB / 0.6714 GB, free: 99.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.035, allocations: 6.625 kB / 0.6714 GB, free: 99.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02968/1.065, allocations: 15.77 MB / 0.6868 GB, free: 83.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002724/1.067, allocations: 0.9687 MB / 0.6877 GB, free: 82.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008392/1.068, allocations: 54.44 kB / 0.6878 GB, free: 82.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.071, allocations: 271.5 kB / 0.688 GB, free: 82.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006961/1.072, allocations: 168.8 kB / 0.6882 GB, free: 82.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.072, allocations: 67.94 kB / 0.6883 GB, free: 82.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003314/1.075, allocations: 2.548 MB / 0.6908 GB, free: 79.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/1.075, allocations: 0.625 kB / 0.6908 GB, free: 79.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00651/1.082, allocations: 1.536 MB / 0.6923 GB, free: 78.21 MB / 442.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.0007676/1.083, allocations: 207.2 kB / 0.6925 GB, free: 78.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01139/1.094, allocations: 8.367 MB / 0.7006 GB, free: 69.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/1.094, allocations: 0 / 0.7006 GB, free: 69.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004387/1.098, allocations: 3.196 MB / 0.7038 GB, free: 66.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/1.102, allocations: 469.1 kB / 0.7042 GB, free: 66.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.121, allocations: 12.24 MB / 0.7162 GB, free: 53.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003305/1.124, allocations: 2.996 MB / 0.7191 GB, free: 50.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004396/1.129, allocations: 1.914 MB / 0.7209 GB, free: 48.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.13, allocations: 252.5 kB / 0.7212 GB, free: 48.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.823e-06/1.13, allocations: 0 / 0.7212 GB, free: 48.48 MB / 442.7 MB Notification: Performance of Templates: time 0.2398/1.37, allocations: 70.03 MB / 0.7896 GB, free: 135 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.161329685011879]