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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.766/1.766, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 51.92 kB / 347.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3209, allocations: 49.16 MB / 396.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01327/0.3342, allocations: 13.62 MB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01501/0.3492, allocations: 4.908 MB / 415.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003828/0.353, allocations: 102.4 kB / 415.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008924/0.3619, allocations: 4.261 MB / 419.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007358/0.3693, allocations: 2.21 MB / 421.9 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.3722, allocations: 1.111 MB / 423 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009684/0.3819, allocations: 5.645 MB / 428.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006302/0.3882, allocations: 3.797 MB / 432.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.3932, allocations: 2.201 MB / 434.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00603/0.3992, allocations: 3.1 MB / 437.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.4011, allocations: 0.4922 MB / 438.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.4058, allocations: 1.678 MB / 439.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004865/0.4107, allocations: 2.665 MB / 442.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006671/0.4174, allocations: 2.906 MB / 445.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.015/0.4324, allocations: 9.574 MB / 455.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4324, allocations: 0 / 455.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4324, allocations: 0 / 455.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003024/0.4327, allocations: 0 / 455.1 MB, free: 8.941 MB / 366.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.01554/0.4482, allocations: 6.12 MB / 461.2 MB, free: 2.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4483, allocations: 11.98 kB / 461.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.4607, allocations: 2.575 MB / 463.8 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.4717, allocations: 3.847 MB / 467.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003879/0.4721, allocations: 304.3 kB / 467.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/0.4741, allocations: 447.6 kB / 468.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02888/0.503, allocations: 12.4 MB / 480.8 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002365/0.5032, allocations: 55.58 kB / 480.8 MB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001438/0.5047, allocations: 187.9 kB / 481 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003865/0.5085, allocations: 2.031 MB / 483 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02517/0.5337, allocations: 10.57 MB / 493.6 MB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07049/0.6042, allocations: 44.07 MB / 0.5251 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/0.6181, allocations: 4.246 MB / 0.5292 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.6212, allocations: 1.882 MB / 0.5311 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01358/0.6348, allocations: 6.188 MB / 0.5371 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.533e-05/0.6349, allocations: 51.5 kB / 0.5372 GB, free: 7.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 4.718e-06/0.6349, allocations: 0 / 0.5372 GB, free: 7.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.07459/0.7095, allocations: 19.84 MB / 0.5565 GB, free: 3.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.7096, allocations: 205.9 kB / 0.5567 GB, free: 3.617 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2968/1.006, allocations: 4.492 MB / 0.5611 GB, free: 145.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007072/1.007, allocations: 58.55 kB / 0.5612 GB, free: 145.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003956/1.011, allocations: 3.665 MB / 0.5648 GB, free: 143.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.012, allocations: 0.877 MB / 0.5656 GB, free: 142.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002503/1.015, allocations: 1.347 MB / 0.5669 GB, free: 142.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/1.015, allocations: 301.1 kB / 0.5672 GB, free: 141.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/1.02, allocations: 2.36 MB / 0.5695 GB, free: 141.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006643/1.026, allocations: 6.17 MB / 0.5755 GB, free: 135.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/1.038, allocations: 9.178 MB / 0.5845 GB, free: 127.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002343/1.038, allocations: 37.75 kB / 0.5845 GB, free: 127.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02162/1.059, allocations: 9.548 MB / 0.5939 GB, free: 124.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/1.06, allocations: 66.88 kB / 0.5939 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002406/1.06, allocations: 131.2 kB / 0.5941 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004149/1.064, allocations: 1.373 MB / 0.5954 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005228/1.069, allocations: 1.471 MB / 0.5968 GB, free: 123.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/1.08, allocations: 8.368 MB / 0.605 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007128/1.087, allocations: 350.3 kB / 0.6053 GB, free: 117.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/1.088, allocations: 392 kB / 0.6057 GB, free: 117 MB / 478.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.004214/1.092, allocations: 2.495 MB / 0.6081 GB, free: 114.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.094, allocations: 421.9 kB / 0.6086 GB, free: 114.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007313/1.101, allocations: 4.11 MB / 0.6126 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/1.101, allocations: 27.67 kB / 0.6126 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/1.101, allocations: 8 kB / 0.6126 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/1.101, allocations: 11.95 kB / 0.6126 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02142/1.122, allocations: 10.09 MB / 0.6225 GB, free: 99.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/1.122, allocations: 11.48 kB / 0.6225 GB, free: 99.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.124, allocations: 332.1 kB / 0.6228 GB, free: 99.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/1.127, allocations: 1.144 MB / 0.6239 GB, free: 98.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003109/1.128, allocations: 40 kB / 0.6239 GB, free: 98.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008769/1.136, allocations: 7.052 MB / 0.6308 GB, free: 91.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.136, allocations: 11.88 kB / 0.6308 GB, free: 91.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.148, allocations: 6.909 MB / 0.6376 GB, free: 84.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/1.151, allocations: 0.6766 MB / 0.6383 GB, free: 83.46 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/1.152, allocations: 39.94 kB / 0.6383 GB, free: 83.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/1.155, allocations: 115.9 kB / 0.6384 GB, free: 83.31 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005352/1.156, allocations: 152.7 kB / 0.6385 GB, free: 83.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.156, allocations: 63.98 kB / 0.6386 GB, free: 83.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006239/1.162, allocations: 2.818 MB / 0.6414 GB, free: 80.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.162, allocations: 4 kB / 0.6414 GB, free: 80.28 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008841/1.171, allocations: 1.219 MB / 0.6426 GB, free: 79.06 MB / 478.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.001001/1.172, allocations: 230.3 kB / 0.6428 GB, free: 78.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009864/1.182, allocations: 5.528 MB / 0.6482 GB, free: 73.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/1.182, allocations: 0 / 0.6482 GB, free: 73.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002721/1.185, allocations: 1.738 MB / 0.6499 GB, free: 71.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005314/1.19, allocations: 0.5327 MB / 0.6504 GB, free: 71.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/1.211, allocations: 11.34 MB / 0.6615 GB, free: 59.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005807/1.217, allocations: 3.875 MB / 0.6652 GB, free: 55.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005152/1.222, allocations: 1.944 MB / 0.6671 GB, free: 53.72 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.223, allocations: 271.4 kB / 0.6674 GB, free: 53.46 MB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/1.223, allocations: 0 / 0.6674 GB, free: 53.46 MB / 478.1 MB Notification: Performance of Templates: time 0.07844/1.302, allocations: 47.05 MB / 0.7134 GB, free: 6.512 MB / 478.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: 7.72166726924479]