Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009171/0.0009171, allocations: 173.2 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.5 MB / 230.7 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 101.4 kB / 281.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1766/0.1766, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.726e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.5408, allocations: 106.2 MB / 0.5984 GB, free: 6.289 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5411, allocations: 75.97 kB / 0.5984 GB, free: 6.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6184/1.16, allocations: 152.6 MB / 0.7475 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.873e-06/1.16, allocations: 3.938 kB / 0.7475 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005247/1.16, allocations: 152.1 kB / 0.7477 GB, free: 102.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02344/1.184, allocations: 7.608 MB / 0.7551 GB, free: 99.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.184, allocations: 11.23 kB / 0.7551 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04385/1.227, allocations: 11.93 MB / 0.7668 GB, free: 98.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02478/1.252, allocations: 9.953 MB / 0.7765 GB, free: 95.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/1.253, allocations: 251.2 kB / 0.7767 GB, free: 95.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003371/1.256, allocations: 464.9 kB / 0.7772 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02065/1.277, allocations: 10.1 MB / 0.787 GB, free: 89.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03358/1.31, allocations: 15.43 MB / 0.8021 GB, free: 72.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000722/1.311, allocations: 99.08 kB / 0.8022 GB, free: 72.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003354/1.315, allocations: 48 kB / 0.8022 GB, free: 72.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002164/1.317, allocations: 1.571 MB / 0.8038 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08253/1.399, allocations: 72.63 MB / 0.8747 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007295/1.407, allocations: 5.178 MB / 0.8797 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004751/1.411, allocations: 3.47 MB / 0.8831 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/1.412, allocations: 0.6501 MB / 0.8838 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.255e-05/1.412, allocations: 60.06 kB / 0.8838 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=239): time 5.48e-06/1.412, allocations: 0 / 0.8838 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.3806/1.793, allocations: 28.88 MB / 0.912 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/1.793, allocations: 291.1 kB / 0.9123 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008821/1.802, allocations: 5.121 MB / 0.9173 GB, free: 119 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004914/1.802, allocations: 30.47 kB / 0.9173 GB, free: 119 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003844/1.806, allocations: 5.394 MB / 0.9226 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.808, allocations: 0.9921 MB / 0.9236 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004907/1.808, allocations: 0 / 0.9236 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005019/1.809, allocations: 0.6765 MB / 0.9242 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004295/1.813, allocations: 2.723 MB / 0.9269 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008374/1.821, allocations: 8.046 MB / 0.9348 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006761/1.828, allocations: 4.629 MB / 0.9393 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001705/1.828, allocations: 53.81 kB / 0.9393 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1141) (initialization): time 0.02082/1.849, allocations: 10.35 MB / 0.9494 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003113/1.85, allocations: 88.62 kB / 0.9495 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004357/1.85, allocations: 192 kB / 0.9497 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/1.853, allocations: 0.9893 MB / 0.9507 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006483/1.859, allocations: 1.972 MB / 0.9526 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/1.869, allocations: 10.58 MB / 0.9629 GB, free: 98.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008428/1.878, allocations: 292.3 kB / 0.9632 GB, free: 98.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002524/1.88, allocations: 0.5317 MB / 0.9637 GB, free: 98.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1065): * Single equations (assignments): 1058 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0045/1.885, allocations: 0.5853 MB / 0.9643 GB, free: 98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002344/1.887, allocations: 0.5447 MB / 0.9648 GB, free: 97.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008836/1.896, allocations: 4.33 MB / 0.9691 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-05/1.896, allocations: 32.81 kB / 0.9691 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-05/1.896, allocations: 10.44 kB / 0.9691 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.393e-05/1.896, allocations: 11.16 kB / 0.9691 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02876/1.925, allocations: 10.97 MB / 0.9798 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.647e-05/1.925, allocations: 0 / 0.9798 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/1.927, allocations: 394.5 kB / 0.9802 GB, free: 92.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/1.929, allocations: 0.655 MB / 0.9808 GB, free: 91.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003163/1.929, allocations: 7.469 kB / 0.9808 GB, free: 91.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008521/1.938, allocations: 9.457 MB / 0.9901 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.938, allocations: 0 / 0.9901 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.949, allocations: 7.642 MB / 0.9975 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/1.951, allocations: 0.5669 MB / 0.9981 GB, free: 81.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/1.952, allocations: 0 / 0.9981 GB, free: 81.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/1.955, allocations: 109.5 kB / 0.9982 GB, free: 81.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004369/1.956, allocations: 156.4 kB / 0.9983 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/1.956, allocations: 66.97 kB / 0.9984 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007846/1.964, allocations: 3.485 MB / 1.002 GB, free: 79.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.41e-07/1.964, allocations: 3.281 kB / 1.002 GB, free: 79.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01232/1.976, allocations: 1.419 MB / 1.003 GB, free: 79.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 201 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009062/1.977, allocations: 150.8 kB / 1.003 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.989, allocations: 7.018 MB / 1.01 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.989, allocations: 7.938 kB / 1.01 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003711/1.993, allocations: 2.486 MB / 1.013 GB, free: 72.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005477/1.999, allocations: 0.7521 MB / 1.013 GB, free: 71.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/2.032, allocations: 12.92 MB / 1.026 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01108/2.043, allocations: 5.556 MB / 1.031 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008716/2.052, allocations: 2.723 MB / 1.034 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/2.054, allocations: 374.5 kB / 1.034 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of SimCode: time 9.31e-07/2.054, allocations: 0 / 1.034 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of Templates: time 0.104/2.158, allocations: 51.84 MB / 1.085 GB, free: 10.23 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches