Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001387/0.001387, allocations: 85.39 kB / 21.44 MB, free: 296 kB / 14.72 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.00152/0.00152, allocations: 162.8 kB / 24.7 MB, free: 3.551 MB / 14.72 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.404/1.404, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.265e-05, allocations: 2.281 kB / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01477/0.01479, allocations: 11.82 MB / 310.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.02686, allocations: 4.651 MB / 315.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003195/0.03005, allocations: 107.4 kB / 315.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008962/0.03901, allocations: 4.291 MB / 319.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007871/0.04688, allocations: 2.29 MB / 322.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.04994, allocations: 1.204 MB / 323.3 MB, free: 272 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2136/0.2636, allocations: 6.301 MB / 329.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008269/0.2718, allocations: 4.594 MB / 334.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007603/0.2794, allocations: 3.297 MB / 337.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005772/0.2852, allocations: 3.116 MB / 340.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.2865, allocations: 0.5017 MB / 341.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.2895, allocations: 1.587 MB / 342.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002342/0.2918, allocations: 2.794 MB / 345.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.2944, allocations: 1.772 MB / 347.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.3058, allocations: 9.754 MB / 357 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.3058, allocations: 3.984 kB / 357 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3058, allocations: 0 / 357 MB, free: 2.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002671/0.306, allocations: 0 / 357 MB, free: 2.449 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01492/0.321, allocations: 6.177 MB / 363.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.321, allocations: 15.98 kB / 363.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.3343, allocations: 2.695 MB / 365.9 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00992/0.3442, allocations: 3.807 MB / 369.7 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.3446, allocations: 303.6 kB / 370 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002249/0.3468, allocations: 437.6 kB / 370.4 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/0.3732, allocations: 12.5 MB / 382.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.3734, allocations: 48.58 kB / 383 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005801/0.3739, allocations: 191 kB / 383.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003437/0.3774, allocations: 2.034 MB / 385.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/0.4002, allocations: 10.54 MB / 395.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05728/0.4575, allocations: 41.05 MB / 436.8 MB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/0.4712, allocations: 4.397 MB / 441.2 MB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/0.4741, allocations: 1.878 MB / 443.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.4855, allocations: 5.94 MB / 449 MB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.4856, allocations: 58.83 kB / 449.1 MB, free: 5.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=179): time 4.679e-06/0.4856, allocations: 0 / 449.1 MB, free: 5.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=223): time 0.07128/0.5569, allocations: 20.65 MB / 469.7 MB, free: 1.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.557, allocations: 201.9 kB / 469.9 MB, free: 0.9648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006463/0.5635, allocations: 4.562 MB / 474.5 MB, free: 12.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002427/0.5637, allocations: 59.48 kB / 474.5 MB, free: 12.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002728/0.5664, allocations: 3.647 MB / 478.2 MB, free: 8.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008755/0.5673, allocations: 0.8624 MB / 479.1 MB, free: 7.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/0.5691, allocations: 1.336 MB / 480.4 MB, free: 6.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5693, allocations: 308.3 kB / 480.7 MB, free: 6.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/0.5729, allocations: 2.363 MB / 483.1 MB, free: 3.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2355/0.8084, allocations: 6.211 MB / 489.3 MB, free: 134.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/0.8211, allocations: 9.162 MB / 498.4 MB, free: 128 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/0.8213, allocations: 37.59 kB / 498.5 MB, free: 128 MB / 430.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01997/0.8412, allocations: 9.525 MB / 0.4961 GB, free: 124.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.8413, allocations: 59.12 kB / 0.4961 GB, free: 124.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/0.8415, allocations: 132.7 kB / 0.4963 GB, free: 124.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003999/0.8455, allocations: 1.371 MB / 0.4976 GB, free: 124.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005031/0.8506, allocations: 1.477 MB / 0.4991 GB, free: 124.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.8616, allocations: 8.28 MB / 0.5071 GB, free: 120.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007532/0.8692, allocations: 421.6 kB / 0.5075 GB, free: 120 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/0.8708, allocations: 391.6 kB / 0.5079 GB, free: 120 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005252/0.876, allocations: 2.486 MB / 0.5103 GB, free: 118.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.8772, allocations: 388.8 kB / 0.5107 GB, free: 118.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007572/0.8847, allocations: 4.08 MB / 0.5147 GB, free: 116.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.8848, allocations: 24 kB / 0.5147 GB, free: 116.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.8848, allocations: 4 kB / 0.5147 GB, free: 116.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.8848, allocations: 12.2 kB / 0.5147 GB, free: 116.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.9003, allocations: 8.76 MB / 0.5233 GB, free: 108 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.9003, allocations: 4 kB / 0.5233 GB, free: 108 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.9017, allocations: 327.5 kB / 0.5236 GB, free: 107.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003439/0.9051, allocations: 1.144 MB / 0.5247 GB, free: 106.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/0.9053, allocations: 40 kB / 0.5248 GB, free: 106.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00824/0.9135, allocations: 6.982 MB / 0.5316 GB, free: 99.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.9136, allocations: 8 kB / 0.5316 GB, free: 99.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009625/0.9232, allocations: 6.864 MB / 0.5383 GB, free: 92.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/0.9252, allocations: 0.6825 MB / 0.539 GB, free: 92.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005516/0.9257, allocations: 49.8 kB / 0.539 GB, free: 92.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.9276, allocations: 171.6 kB / 0.5392 GB, free: 91.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/0.928, allocations: 146.1 kB / 0.5393 GB, free: 91.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.9282, allocations: 67.98 kB / 0.5394 GB, free: 91.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003404/0.9316, allocations: 2.715 MB / 0.542 GB, free: 88.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9316, allocations: 0 / 0.542 GB, free: 88.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00753/0.9391, allocations: 1.346 MB / 0.5433 GB, free: 87.6 MB / 430.1 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000994/0.9401, allocations: 267.2 kB / 0.5436 GB, free: 87.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008479/0.9486, allocations: 5.53 MB / 0.549 GB, free: 81.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/0.9486, allocations: 4 kB / 0.549 GB, free: 81.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.9509, allocations: 1.731 MB / 0.5507 GB, free: 80.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003462/0.9544, allocations: 497.3 kB / 0.5512 GB, free: 79.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/0.9726, allocations: 11.26 MB / 0.5622 GB, free: 68.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/0.976, allocations: 3.359 MB / 0.5654 GB, free: 64.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004045/0.9801, allocations: 1.9 MB / 0.5673 GB, free: 62.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009322/0.981, allocations: 268.4 kB / 0.5675 GB, free: 62.71 MB / 430.1 MB Notification: Performance of SimCode: time 2.144e-06/0.981, allocations: 0 / 0.5675 GB, free: 62.71 MB / 430.1 MB Notification: Performance of Templates: time 0.07094/1.052, allocations: 40.5 MB / 0.6071 GB, free: 22.16 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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: 6.829631097614765]