Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 117.4 kB / 17.09 MB, free: 6.016 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.001175/0.001175, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.365/1.365, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2131/0.2131, allocations: 43.52 MB / 314.8 MB, free: 476 kB / 254.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.00162/0.00162, allocations: 71.89 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.118, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01563/0.1337, allocations: 13.74 MB / 0.502 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.1444, allocations: 4.606 MB / 0.5065 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003329/0.1478, allocations: 87.75 kB / 0.5066 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008091/0.1559, allocations: 3.761 MB / 0.5102 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007368/0.1634, allocations: 2.362 MB / 0.5126 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.1663, allocations: 0.9943 MB / 0.5135 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009654/0.176, allocations: 5.917 MB / 0.5193 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007307/0.1833, allocations: 4.69 MB / 0.5239 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004872/0.1883, allocations: 2.079 MB / 0.5259 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005295/0.1936, allocations: 2.827 MB / 0.5287 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002007/0.1957, allocations: 448 kB / 0.5291 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00417/0.1999, allocations: 1.467 MB / 0.5305 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2448/0.4447, allocations: 2.635 MB / 0.5331 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005627/0.4503, allocations: 2.937 MB / 0.536 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.4641, allocations: 9.367 MB / 0.5451 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4642, allocations: 0 / 0.5451 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4642, allocations: 4.938 kB / 0.5451 GB, free: 10.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000359/0.4645, allocations: 0 / 0.5451 GB, free: 10.92 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02195/0.4865, allocations: 6.39 MB / 0.5514 GB, free: 8.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.1e-05/0.4866, allocations: 13.52 kB / 0.5514 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.5011, allocations: 2.635 MB / 0.554 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00971/0.5109, allocations: 4.022 MB / 0.5579 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.5113, allocations: 297.6 kB / 0.5582 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.5133, allocations: 403.6 kB / 0.5585 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/0.5384, allocations: 12.62 MB / 0.5709 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.5386, allocations: 59.45 kB / 0.5709 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007688/0.5393, allocations: 193 kB / 0.5711 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004141/0.5435, allocations: 2.402 MB / 0.5735 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02252/0.566, allocations: 10.54 MB / 0.5838 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06832/0.6344, allocations: 48.6 MB / 0.6312 GB, free: 5.703 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/0.6469, allocations: 4.795 MB / 0.6359 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004229/0.6512, allocations: 2.438 MB / 0.6383 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01675/0.6679, allocations: 7.169 MB / 0.6453 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/0.668, allocations: 57.03 kB / 0.6453 GB, free: 7.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.921e-06/0.6681, allocations: 5.125 kB / 0.6453 GB, free: 7.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05585/0.7239, allocations: 18 MB / 0.6629 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.7241, allocations: 202.6 kB / 0.6631 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/0.7351, allocations: 5.835 MB / 0.6688 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005635/0.7357, allocations: 49.7 kB / 0.6688 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003305/0.739, allocations: 3.943 MB / 0.6727 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.7402, allocations: 0.7705 MB / 0.6735 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002596/0.7428, allocations: 1.517 MB / 0.6749 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.7429, allocations: 301.1 kB / 0.6752 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003897/0.7468, allocations: 2.603 MB / 0.6778 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007268/0.7541, allocations: 7.043 MB / 0.6846 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/0.7668, allocations: 10.32 MB / 0.6947 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/0.767, allocations: 48 kB / 0.6948 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02188/0.7889, allocations: 10.41 MB / 0.7049 GB, free: 6.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.7892, allocations: 72 kB / 0.705 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002439/0.7894, allocations: 156 kB / 0.7051 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003733/0.7932, allocations: 1.216 MB / 0.7063 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006088/0.7993, allocations: 1.704 MB / 0.708 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.8098, allocations: 8.349 MB / 0.7162 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006665/0.8165, allocations: 413.9 kB / 0.7165 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/0.8182, allocations: 448 kB / 0.717 GB, free: 9.816 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (904): * Single equations (assignments): 897 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006896/0.8251, allocations: 2.631 MB / 0.7195 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/0.8264, allocations: 477.7 kB / 0.72 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008636/0.8351, allocations: 3.978 MB / 0.7239 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.266e-05/0.8352, allocations: 26.58 kB / 0.7239 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.8352, allocations: 4 kB / 0.7239 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/0.8352, allocations: 7.969 kB / 0.7239 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/0.8571, allocations: 9.26 MB / 0.733 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.8572, allocations: 4 kB / 0.733 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.8591, allocations: 363.7 kB / 0.7333 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/0.862, allocations: 0.9886 MB / 0.7343 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003268/0.8624, allocations: 39.69 kB / 0.7343 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008862/0.8713, allocations: 7.675 MB / 0.7418 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/0.8713, allocations: 8.062 kB / 0.7418 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.8821, allocations: 6.75 MB / 0.7484 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002599/0.8848, allocations: 0.8306 MB / 0.7492 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/0.8861, allocations: 28 kB / 0.7493 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/0.8886, allocations: 115.8 kB / 0.7494 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003887/0.889, allocations: 121 kB / 0.7495 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/0.8891, allocations: 59.58 kB / 0.7495 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008221/0.8974, allocations: 3.729 MB / 0.7532 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.02e-07/0.8974, allocations: 0 / 0.7532 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00819/0.9056, allocations: 1.266 MB / 0.7544 GB, free: 3.043 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006153/0.9063, allocations: 174.1 kB / 0.7546 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2551/1.161, allocations: 6.227 MB / 0.7607 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.161, allocations: 1.812 kB / 0.7607 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003469/1.165, allocations: 1.884 MB / 0.7625 GB, free: 211 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005393/1.17, allocations: 0.6249 MB / 0.7631 GB, free: 211 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/1.198, allocations: 12.27 MB / 0.7751 GB, free: 207 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007067/1.205, allocations: 3.99 MB / 0.779 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/1.206, allocations: 366.9 kB / 0.7793 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/1.206, allocations: 0 / 0.7793 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1441/1.35, allocations: 122.1 MB / 0.8986 GB, free: 90.3 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches