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.0009507/0.0009506, allocations: 97.97 kB / 16.93 MB, free: 5.984 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.0009101/0.0009101, allocations: 179.1 kB / 17.82 MB, free: 5.652 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.524/1.524, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004586/0.0004589, allocations: 12 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1057, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.04387/0.1496, allocations: 47.46 MB / 375.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2206/0.3702, allocations: 11.76 MB / 387.5 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/0.3821, allocations: 239.4 kB / 387.8 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008622/0.3907, allocations: 2.349 MB / 390.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02444/0.4152, allocations: 6.791 MB / 396.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004234/0.4194, allocations: 0.8945 MB / 397.8 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03808/0.4575, allocations: 27.48 MB / 425.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.4686, allocations: 6.541 MB / 431.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.4722, allocations: 1.34 MB / 433.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.4755, allocations: 1.762 MB / 434.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.4768, allocations: 188 kB / 435.1 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.4799, allocations: 1.148 MB / 436.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00256/0.4825, allocations: 2.034 MB / 438.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.4843, allocations: 1.045 MB / 439.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009276/0.4935, allocations: 7.571 MB / 446.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4936, allocations: 0 / 446.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4936, allocations: 0 / 446.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004638/0.4941, allocations: 0 / 446.9 MB, free: 11.26 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.01653/0.5106, allocations: 5.215 MB / 452.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.5107, allocations: 12.03 kB / 452.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04321/0.5539, allocations: 7.954 MB / 460.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/0.5659, allocations: 4.237 MB / 464.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/0.5663, allocations: 304.6 kB / 464.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003004/0.5693, allocations: 439.4 kB / 465.1 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03546/0.6048, allocations: 12.47 MB / 477.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003081/0.6052, allocations: 43.59 kB / 477.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002079/0.6073, allocations: 188.6 kB / 477.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003779/0.6111, allocations: 2.031 MB / 479.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02663/0.6377, allocations: 10.53 MB / 490.3 MB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07008/0.7079, allocations: 44.29 MB / 0.5221 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.7207, allocations: 4.859 MB / 0.5268 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01404/0.7348, allocations: 7.11 MB / 0.5338 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.982e-05/0.735, allocations: 55.56 kB / 0.5338 GB, free: 7.461 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 9.818e-06/0.735, allocations: 0 / 0.5338 GB, free: 7.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.3209/1.056, allocations: 19.58 MB / 0.5529 GB, free: 161.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/1.056, allocations: 210.2 kB / 0.5531 GB, free: 161 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008174/1.064, allocations: 4.742 MB / 0.5578 GB, free: 159.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000449/1.065, allocations: 59.38 kB / 0.5578 GB, free: 159.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002209/1.067, allocations: 3.566 MB / 0.5613 GB, free: 156.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009473/1.068, allocations: 0.8337 MB / 0.5621 GB, free: 155.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/1.068, allocations: 123.2 kB / 0.5622 GB, free: 155.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003689/1.069, allocations: 0.572 MB / 0.5628 GB, free: 155.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/1.072, allocations: 2.204 MB / 0.5649 GB, free: 154.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004421/1.076, allocations: 5.926 MB / 0.5707 GB, free: 148.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/1.081, allocations: 3.552 MB / 0.5742 GB, free: 147.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/1.081, allocations: 38.41 kB / 0.5742 GB, free: 147.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01419/1.095, allocations: 8.994 MB / 0.583 GB, free: 140.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/1.095, allocations: 60 kB / 0.5831 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001486/1.095, allocations: 132 kB / 0.5832 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003308/1.099, allocations: 1.226 MB / 0.5844 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004039/1.103, allocations: 1.411 MB / 0.5858 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009801/1.112, allocations: 7.745 MB / 0.5933 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005429/1.118, allocations: 342.2 kB / 0.5937 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/1.119, allocations: 384 kB / 0.594 GB, free: 128.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (766): * Single equations (assignments): 762 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004764/1.124, allocations: 2.485 MB / 0.5965 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.125, allocations: 410.7 kB / 0.5969 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007891/1.133, allocations: 3.871 MB / 0.6006 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.282e-05/1.133, allocations: 26.19 kB / 0.6007 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-05/1.133, allocations: 11.95 kB / 0.6007 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-05/1.133, allocations: 14.14 kB / 0.6007 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/1.154, allocations: 10.2 MB / 0.6106 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/1.154, allocations: 4 kB / 0.6107 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.155, allocations: 351.4 kB / 0.611 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003022/1.158, allocations: 0.9896 MB / 0.612 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000209/1.158, allocations: 42.62 kB / 0.612 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00786/1.166, allocations: 6.426 MB / 0.6183 GB, free: 103.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.166, allocations: 4 kB / 0.6183 GB, free: 103.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009758/1.176, allocations: 7.237 MB / 0.6253 GB, free: 96.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/1.178, allocations: 0.7338 MB / 0.6261 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/1.179, allocations: 47.3 kB / 0.6261 GB, free: 95.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/1.182, allocations: 103.9 kB / 0.6262 GB, free: 95.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/1.182, allocations: 149.9 kB / 0.6263 GB, free: 95.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.182, allocations: 60.45 kB / 0.6264 GB, free: 95.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005108/1.187, allocations: 3.02 MB / 0.6294 GB, free: 92.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.187, allocations: 0 / 0.6294 GB, free: 92.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00587/1.193, allocations: 1.203 MB / 0.6305 GB, free: 90.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006818/1.194, allocations: 226.6 kB / 0.6307 GB, free: 90.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007801/1.202, allocations: 5.479 MB / 0.6361 GB, free: 85.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.202, allocations: 2.297 kB / 0.6361 GB, free: 85.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002274/1.204, allocations: 1.833 MB / 0.6379 GB, free: 83.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.207, allocations: 0.5095 MB / 0.6384 GB, free: 82.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/1.229, allocations: 12.94 MB / 0.651 GB, free: 69.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00632/1.235, allocations: 3.984 MB / 0.6549 GB, free: 65.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005207/1.24, allocations: 1.942 MB / 0.6568 GB, free: 63.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/1.241, allocations: 275.4 kB / 0.6571 GB, free: 63.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/1.241, allocations: 0 / 0.6571 GB, free: 63.6 MB / 446.1 MB Notification: Performance of Templates: time 0.07694/1.318, allocations: 43.16 MB / 0.6992 GB, free: 20.46 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../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