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.0008952/0.0008952, allocations: 91.61 kB / 22.19 MB, free: 2.375 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.0009455/0.0009455, allocations: 157.4 kB / 25.45 MB, free: 9.352 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.8791/0.8791, allocations: 158.6 MB / 187.2 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.553e-06/1.553e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.559e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.008569/0.008595, allocations: 11.8 MB / 311.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007341/0.01594, allocations: 4.655 MB / 316.2 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.01721, allocations: 103.5 kB / 316.3 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.02113, allocations: 4.295 MB / 320.6 MB, free: 1.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.02442, allocations: 2.29 MB / 322.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.02596, allocations: 1.204 MB / 324.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004466/0.03043, allocations: 6.32 MB / 330.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003451/0.03388, allocations: 4.583 MB / 335 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.03679, allocations: 3.31 MB / 338.3 MB, free: 156 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.03956, allocations: 3.118 MB / 341.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004445/0.04001, allocations: 0.5039 MB / 341.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.04176, allocations: 1.58 MB / 343.5 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001476/0.04324, allocations: 2.794 MB / 346.3 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.04466, allocations: 1.757 MB / 348 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1853/0.2299, allocations: 9.765 MB / 357.8 MB, free: 30.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2299, allocations: 1.312 kB / 357.8 MB, free: 30.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2299, allocations: 0 / 357.8 MB, free: 30.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003337/0.2303, allocations: 0.625 kB / 357.8 MB, free: 30.87 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01139/0.2417, allocations: 6.173 MB / 364 MB, free: 28.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.895e-05/0.2417, allocations: 12.95 kB / 364 MB, free: 28.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007044/0.2488, allocations: 2.661 MB / 366.6 MB, free: 28.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007352/0.2561, allocations: 3.793 MB / 370.4 MB, free: 27.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.2563, allocations: 307 kB / 370.7 MB, free: 27.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006254/0.2569, allocations: 441.6 kB / 371.2 MB, free: 27.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.2703, allocations: 12.5 MB / 383.7 MB, free: 22.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.2704, allocations: 51.94 kB / 383.7 MB, free: 22.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003771/0.2708, allocations: 196.8 kB / 383.9 MB, free: 22.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001664/0.2724, allocations: 2.03 MB / 385.9 MB, free: 21.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.2835, allocations: 10.55 MB / 396.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03104/0.3146, allocations: 41.04 MB / 437.5 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006959/0.3215, allocations: 4.397 MB / 441.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.3232, allocations: 1.886 MB / 443.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007049/0.3302, allocations: 5.934 MB / 449.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.3303, allocations: 58.28 kB / 449.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of pre-optimization done (n=179): time 3.947e-06/0.3303, allocations: 0 / 449.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.03932/0.3696, allocations: 20.65 MB / 470.4 MB, free: 1.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.3697, allocations: 202.9 kB / 470.6 MB, free: 1.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004974/0.3747, allocations: 4.566 MB / 475.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.3748, allocations: 57.7 kB / 475.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.3765, allocations: 3.646 MB / 478.9 MB, free: 9.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006153/0.3771, allocations: 0.863 MB / 479.8 MB, free: 8.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.3784, allocations: 1.332 MB / 481.1 MB, free: 7.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.3784, allocations: 305.1 kB / 481.4 MB, free: 6.961 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/0.381, allocations: 2.363 MB / 483.8 MB, free: 4.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004246/0.3853, allocations: 6.218 MB / 490 MB, free: 12.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007525/0.3928, allocations: 9.171 MB / 499.2 MB, free: 2.031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.143e-05/0.3928, allocations: 40 kB / 499.2 MB, free: 1.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01093/0.4038, allocations: 9.514 MB / 0.4968 GB, free: 8.465 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/0.4038, allocations: 65 kB / 0.4968 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.496e-05/0.4039, allocations: 134.2 kB / 0.497 GB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.4063, allocations: 1.37 MB / 0.4983 GB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/0.4086, allocations: 1.474 MB / 0.4998 GB, free: 5.422 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007746/0.4163, allocations: 8.266 MB / 0.5078 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/0.4198, allocations: 425.6 kB / 0.5082 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004005/0.4202, allocations: 384 kB / 0.5086 GB, free: 12.27 MB / 458.7 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.00322/0.4234, allocations: 2.501 MB / 0.511 GB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007289/0.4242, allocations: 385.4 kB / 0.5114 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/0.429, allocations: 4.079 MB / 0.5154 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.429, allocations: 27.94 kB / 0.5154 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.429, allocations: 8 kB / 0.5154 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.429, allocations: 7.969 kB / 0.5154 GB, free: 5.242 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1874/0.6164, allocations: 8.757 MB / 0.524 GB, free: 165.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/0.6165, allocations: 5.094 kB / 0.524 GB, free: 165.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009106/0.6174, allocations: 329.8 kB / 0.5243 GB, free: 165.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/0.6195, allocations: 1.15 MB / 0.5254 GB, free: 165.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/0.6196, allocations: 43 kB / 0.5255 GB, free: 165.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00638/0.626, allocations: 6.974 MB / 0.5323 GB, free: 162.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.626, allocations: 9.688 kB / 0.5323 GB, free: 162.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006661/0.6327, allocations: 6.864 MB / 0.539 GB, free: 159.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.634, allocations: 0.6823 MB / 0.5397 GB, free: 159.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.6343, allocations: 49.34 kB / 0.5397 GB, free: 159.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000986/0.6352, allocations: 165.7 kB / 0.5399 GB, free: 159.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.6354, allocations: 155.3 kB / 0.54 GB, free: 159.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9e-05/0.6355, allocations: 62.12 kB / 0.5401 GB, free: 159.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002706/0.6382, allocations: 2.717 MB / 0.5427 GB, free: 158.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6382, allocations: 2.969 kB / 0.5427 GB, free: 158.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003481/0.6417, allocations: 1.352 MB / 0.544 GB, free: 158.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 (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.0004819/0.6422, allocations: 263.3 kB / 0.5443 GB, free: 158.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005019/0.6472, allocations: 5.528 MB / 0.5497 GB, free: 153.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.6472, allocations: 0 / 0.5497 GB, free: 153.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.6487, allocations: 1.738 MB / 0.5514 GB, free: 152.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.6505, allocations: 490.9 kB / 0.5519 GB, free: 151.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.662, allocations: 11.75 MB / 0.5633 GB, free: 140.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002717/0.6647, allocations: 3.321 MB / 0.5666 GB, free: 136.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00084/0.6656, allocations: 316.3 kB / 0.5669 GB, free: 136.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6656, allocations: 0 / 0.5669 GB, free: 136.5 MB / 458.7 MB Notification: Performance of Templates: time 0.06884/0.7344, allocations: 92.86 MB / 0.6576 GB, free: 43.47 MB / 458.7 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: 8.772651303559542]