Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001297, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 68.11 kB / 307 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1056, allocations: 50.53 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01524/0.1209, allocations: 13.45 MB / 371 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1884/0.3093, allocations: 4.874 MB / 375.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.3121, allocations: 87.88 kB / 375.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00733/0.3195, allocations: 4.169 MB / 380.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.3259, allocations: 2.107 MB / 382.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.3288, allocations: 1.106 MB / 383.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008845/0.3376, allocations: 6.056 MB / 389.4 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005873/0.3435, allocations: 5.309 MB / 394.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/0.3474, allocations: 2.151 MB / 396.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003471/0.3509, allocations: 2.856 MB / 399.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.352, allocations: 0.4904 MB / 400.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003417/0.3554, allocations: 1.623 MB / 401.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00282/0.3582, allocations: 2.552 MB / 404.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003795/0.362, allocations: 2.881 MB / 407.2 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.3746, allocations: 9.246 MB / 416.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3747, allocations: 0 / 416.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3747, allocations: 0 / 416.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002744/0.375, allocations: 4 kB / 416.5 MB, free: 15.09 MB / 334.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.01447/0.3895, allocations: 6.003 MB / 422.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.3895, allocations: 12.03 kB / 422.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.401, allocations: 2.539 MB / 425.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008873/0.4099, allocations: 3.685 MB / 428.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.4102, allocations: 304.8 kB / 429 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.4115, allocations: 449.1 kB / 429.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/0.4374, allocations: 12.41 MB / 441.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001947/0.4376, allocations: 59.48 kB / 441.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005524/0.4382, allocations: 183.9 kB / 442.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003457/0.4417, allocations: 2.038 MB / 444.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/0.4651, allocations: 10.56 MB / 454.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0603/0.5254, allocations: 44.36 MB / 499.1 MB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/0.5392, allocations: 4.852 MB / 0.4921 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.5423, allocations: 2.012 MB / 0.4941 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/0.5545, allocations: 7.209 MB / 0.5011 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.5546, allocations: 55.5 kB / 0.5012 GB, free: 12.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 4.168e-06/0.5546, allocations: 0 / 0.5012 GB, free: 12.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.06841/0.623, allocations: 19.47 MB / 0.5202 GB, free: 8.863 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.6231, allocations: 205.9 kB / 0.5204 GB, free: 8.617 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006415/0.6296, allocations: 4.468 MB / 0.5248 GB, free: 4.129 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004752/0.6301, allocations: 57.7 kB / 0.5248 GB, free: 4.066 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002802/0.6329, allocations: 3.503 MB / 0.5282 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1661/0.799, allocations: 0.8385 MB / 0.5291 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002631/0.8017, allocations: 1.342 MB / 0.5304 GB, free: 140.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.8018, allocations: 301.7 kB / 0.5307 GB, free: 140.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003768/0.8056, allocations: 2.368 MB / 0.533 GB, free: 140.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/0.8108, allocations: 6.17 MB / 0.539 GB, free: 134.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00964/0.8204, allocations: 9.184 MB / 0.548 GB, free: 126.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001752/0.8207, allocations: 38.81 kB / 0.548 GB, free: 126.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.0191/0.8398, allocations: 9.553 MB / 0.5573 GB, free: 123.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.666e-05/0.8399, allocations: 59.47 kB / 0.5574 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/0.8401, allocations: 142.3 kB / 0.5575 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003943/0.844, allocations: 1.365 MB / 0.5589 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/0.8484, allocations: 1.482 MB / 0.5603 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.8587, allocations: 8.499 MB / 0.5686 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/0.8634, allocations: 361.4 kB / 0.5689 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006518/0.8641, allocations: 387.4 kB / 0.5693 GB, free: 118.5 MB / 446.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.003155/0.8672, allocations: 2.49 MB / 0.5717 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005821/0.8678, allocations: 402.6 kB / 0.5721 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007181/0.875, allocations: 4.128 MB / 0.5762 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.8751, allocations: 24 kB / 0.5762 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.8751, allocations: 8 kB / 0.5762 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.8751, allocations: 10.69 kB / 0.5762 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.8907, allocations: 10.36 MB / 0.5863 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/0.8908, allocations: 4 kB / 0.5863 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.8924, allocations: 354.8 kB / 0.5867 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/0.8959, allocations: 1.148 MB / 0.5878 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.896, allocations: 43.98 kB / 0.5878 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008389/0.9044, allocations: 7.122 MB / 0.5948 GB, free: 93.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.9045, allocations: 11.88 kB / 0.5948 GB, free: 93.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009647/0.9141, allocations: 6.909 MB / 0.6015 GB, free: 86.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.9152, allocations: 455.8 kB / 0.602 GB, free: 86.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/0.9156, allocations: 43.61 kB / 0.602 GB, free: 86.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.9172, allocations: 115.9 kB / 0.6021 GB, free: 86.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/0.9175, allocations: 137 kB / 0.6023 GB, free: 85.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.9177, allocations: 64 kB / 0.6023 GB, free: 85.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003314/0.921, allocations: 2.802 MB / 0.6051 GB, free: 83.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.921, allocations: 0 / 0.6051 GB, free: 83.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006399/0.9274, allocations: 1.195 MB / 0.6062 GB, free: 81.94 MB / 446.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.0005302/0.9279, allocations: 226.7 kB / 0.6064 GB, free: 81.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009706/0.9377, allocations: 6.877 MB / 0.6132 GB, free: 74.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.9377, allocations: 0 / 0.6132 GB, free: 74.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002161/0.9399, allocations: 1.877 MB / 0.615 GB, free: 73.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.9428, allocations: 0.5375 MB / 0.6155 GB, free: 72.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.958, allocations: 11.16 MB / 0.6264 GB, free: 61.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/0.9614, allocations: 3.867 MB / 0.6302 GB, free: 57.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004305/0.9657, allocations: 1.917 MB / 0.6321 GB, free: 55.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006749/0.9664, allocations: 275.4 kB / 0.6323 GB, free: 55.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.9664, allocations: 0 / 0.6323 GB, free: 55.14 MB / 446.1 MB Notification: Performance of Templates: time 0.07179/1.038, allocations: 45.55 MB / 0.6768 GB, free: 9.816 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches