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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 110.7 kB / 18.4 MB, free: 4.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 190 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB 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.001177/0.001178, allocations: 51.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06962/0.07081, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.1533/0.2241, allocations: 13.52 MB / 389.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008007/0.2322, allocations: 4.861 MB / 394.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.2341, allocations: 90.81 kB / 394.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006576/0.2407, allocations: 4.195 MB / 398.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004637/0.2454, allocations: 2.199 MB / 400.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.2475, allocations: 1.107 MB / 401.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006201/0.2537, allocations: 5.64 MB / 407.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005014/0.2587, allocations: 5.299 MB / 412.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.2611, allocations: 2.169 MB / 414.9 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002975/0.2641, allocations: 2.884 MB / 417.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006139/0.2647, allocations: 0.4922 MB / 418.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.267, allocations: 1.631 MB / 419.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001904/0.269, allocations: 2.623 MB / 422.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002149/0.2711, allocations: 2.898 MB / 425.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007296/0.2784, allocations: 9.544 MB / 435 MB, free: 4.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2784, allocations: 3.938 kB / 435 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2785, allocations: 4 kB / 435 MB, free: 4.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.891e-05/0.2785, allocations: 0 / 435 MB, free: 4.234 MB / 350.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.009255/0.2878, allocations: 6.033 MB / 441 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2878, allocations: 12.03 kB / 441 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.2988, allocations: 2.54 MB / 443.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006453/0.3053, allocations: 3.913 MB / 447.5 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.3055, allocations: 308.5 kB / 447.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007359/0.3063, allocations: 439.6 kB / 448.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/0.3242, allocations: 12.4 MB / 460.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.3243, allocations: 55.5 kB / 460.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000444/0.3247, allocations: 191.8 kB / 460.9 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/0.3276, allocations: 2.039 MB / 462.9 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.3458, allocations: 10.56 MB / 473.5 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04523/0.391, allocations: 44.13 MB / 0.5055 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.4037, allocations: 4.841 MB / 0.5102 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/0.4063, allocations: 2.011 MB / 0.5121 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00965/0.4159, allocations: 7.113 MB / 0.5191 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.416, allocations: 55.55 kB / 0.5191 GB, free: 1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 3.367e-06/0.416, allocations: 4 kB / 0.5192 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06335/0.4794, allocations: 19.64 MB / 0.5383 GB, free: 13.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/0.4795, allocations: 205.9 kB / 0.5385 GB, free: 13.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005213/0.4847, allocations: 4.493 MB / 0.5429 GB, free: 8.539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.4849, allocations: 65.69 kB / 0.543 GB, free: 8.469 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002143/0.487, allocations: 3.517 MB / 0.5464 GB, free: 4.902 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000644/0.4877, allocations: 0.8445 MB / 0.5472 GB, free: 4.047 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/0.4892, allocations: 1.337 MB / 0.5485 GB, free: 2.699 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.4893, allocations: 301.1 kB / 0.5488 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/0.4926, allocations: 2.363 MB / 0.5511 GB, free: 36 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1563/0.649, allocations: 6.165 MB / 0.5572 GB, free: 143.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008762/0.6577, allocations: 9.172 MB / 0.5661 GB, free: 136 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/0.6579, allocations: 41.03 kB / 0.5662 GB, free: 136 MB / 478.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01539/0.6733, allocations: 9.544 MB / 0.5755 GB, free: 132.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.929e-05/0.6734, allocations: 66.97 kB / 0.5755 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.6735, allocations: 132.2 kB / 0.5757 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/0.6776, allocations: 1.379 MB / 0.577 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/0.6814, allocations: 1.468 MB / 0.5784 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009624/0.6911, allocations: 8.48 MB / 0.5867 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/0.6946, allocations: 350.2 kB / 0.5871 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/0.695, allocations: 392.1 kB / 0.5874 GB, free: 127.8 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.002491/0.6975, allocations: 2.499 MB / 0.5899 GB, free: 126.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.6979, allocations: 397.7 kB / 0.5903 GB, free: 126.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007011/0.7049, allocations: 4.121 MB / 0.5943 GB, free: 125.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.705, allocations: 14.27 kB / 0.5943 GB, free: 125.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.705, allocations: 0 / 0.5943 GB, free: 125.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009448/0.7059, allocations: 0.7257 MB / 0.595 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/0.7063, allocations: 35.34 kB / 0.595 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.7078, allocations: 109.3 kB / 0.5951 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.7081, allocations: 148.1 kB / 0.5953 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007453/0.7156, allocations: 4.551 MB / 0.5997 GB, free: 121.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00561/0.7212, allocations: 5.765 MB / 0.6054 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001496/0.7227, allocations: 1.525 MB / 0.6068 GB, free: 114.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002979/0.7257, allocations: 2.818 MB / 0.6096 GB, free: 111.4 MB / 478.1 MB Notification: Performance of Backend: time 5.81e-07/0.7257, allocations: 0 / 0.6096 GB, free: 111.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007842/0.7335, allocations: 4.761 MB / 0.6142 GB, free: 106.7 MB / 478.1 MB Notification: Performance of SimCode: time 0.01233/0.7459, allocations: 10.96 MB / 0.6249 GB, free: 95.74 MB / 478.1 MB Notification: Performance of Templates: time 0.07484/0.8208, allocations: 54.37 MB / 0.678 GB, free: 41.39 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches