Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002503/0.002508, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2765/0.2765, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.418e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5248/0.6735, allocations: 106.7 MB / 0.577 GB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000417/0.674, allocations: 79.75 kB / 0.5771 GB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.506/1.18, allocations: 111.4 MB / 0.6859 GB, free: 5.453 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.18, allocations: 0 / 0.6859 GB, free: 5.453 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003926/1.181, allocations: 108 kB / 0.686 GB, free: 5.348 MB / 490.7 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.02136/1.202, allocations: 5.345 MB / 0.6912 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.202, allocations: 8.031 kB / 0.6912 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05167/1.254, allocations: 6.931 MB / 0.698 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02586/1.28, allocations: 6.802 MB / 0.7046 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005613/1.28, allocations: 394.5 kB / 0.705 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002805/1.283, allocations: 0.5232 MB / 0.7055 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4068/1.69, allocations: 12.91 MB / 0.7181 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007925/1.691, allocations: 84.78 kB / 0.7182 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003406/1.694, allocations: 256.4 kB / 0.7184 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004412/1.699, allocations: 1.209 MB / 0.7196 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03607/1.735, allocations: 10.23 MB / 0.7296 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1103/1.845, allocations: 58.47 MB / 0.7867 GB, free: 65.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02716/1.872, allocations: 4.649 MB / 0.7912 GB, free: 63.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004718/1.877, allocations: 2.213 MB / 0.7934 GB, free: 62.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01876/1.896, allocations: 6.86 MB / 0.8001 GB, free: 59.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/1.896, allocations: 54.34 kB / 0.8002 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 6.172e-06/1.896, allocations: 0 / 0.8002 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.0743/1.97, allocations: 13.35 MB / 0.8132 GB, free: 54.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.971, allocations: 208.2 kB / 0.8134 GB, free: 54.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01679/1.987, allocations: 5.111 MB / 0.8184 GB, free: 52.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004454/1.988, allocations: 49.36 kB / 0.8184 GB, free: 52.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003493/1.991, allocations: 3.841 MB / 0.8222 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.993, allocations: 0.7567 MB / 0.8229 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008453/1.994, allocations: 142 kB / 0.8231 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004877/1.994, allocations: 0.606 MB / 0.8237 GB, free: 48.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005654/2, allocations: 2.216 MB / 0.8258 GB, free: 47.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008505/2.008, allocations: 6.634 MB / 0.8323 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008244/2.017, allocations: 3.819 MB / 0.836 GB, free: 38.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/2.017, allocations: 44 kB / 0.8361 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02261/2.039, allocations: 8.796 MB / 0.8447 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/2.04, allocations: 72 kB / 0.8447 GB, free: 30.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002214/2.04, allocations: 164.8 kB / 0.8449 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/2.042, allocations: 0.5813 MB / 0.8454 GB, free: 29.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009554/2.052, allocations: 1.624 MB / 0.847 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008482/2.06, allocations: 5.598 MB / 0.8525 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008577/2.069, allocations: 382 kB / 0.8529 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/2.07, allocations: 435.3 kB / 0.8533 GB, free: 22.13 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (871): * Single equations (assignments): 866 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001795/2.072, allocations: 0.6506 MB / 0.8539 GB, free: 21.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/2.073, allocations: 493.6 kB / 0.8544 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008314/2.082, allocations: 2.966 MB / 0.8573 GB, free: 18.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.297e-05/2.082, allocations: 23.61 kB / 0.8573 GB, free: 18.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/2.082, allocations: 11.23 kB / 0.8573 GB, free: 18.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.076e-05/2.082, allocations: 14.61 kB / 0.8573 GB, free: 18.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/2.105, allocations: 8.139 MB / 0.8653 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/2.106, allocations: 7.703 kB / 0.8653 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/2.108, allocations: 281 kB / 0.8656 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001677/2.11, allocations: 352 kB / 0.8659 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/2.11, allocations: 32 kB / 0.8659 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/2.118, allocations: 4.938 MB / 0.8707 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/2.118, allocations: 11.88 kB / 0.8708 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/2.13, allocations: 5.918 MB / 0.8765 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003121/2.133, allocations: 0.7992 MB / 0.8773 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/2.134, allocations: 28 kB / 0.8773 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003735/2.138, allocations: 96.34 kB / 0.8774 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000563/2.139, allocations: 112.8 kB / 0.8775 GB, free: 88 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/2.139, allocations: 55.95 kB / 0.8776 GB, free: 32 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01133/2.15, allocations: 3.68 MB / 0.8812 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.577e-06/2.15, allocations: 112 / 0.8812 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008762/2.159, allocations: 1.206 MB / 0.8824 GB, free: 11.76 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0008698/2.16, allocations: 172.9 kB / 0.8825 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01447/2.175, allocations: 5.541 MB / 0.8879 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/2.175, allocations: 192 / 0.8879 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003866/2.179, allocations: 1.659 MB / 0.8896 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004986/2.184, allocations: 0.5891 MB / 0.8901 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4078/2.591, allocations: 10.64 MB / 0.9005 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01166/2.603, allocations: 4.137 MB / 0.9046 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/2.605, allocations: 370.5 kB / 0.9049 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/2.605, allocations: 0 / 0.9049 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.219/2.824, allocations: 115.4 MB / 1.018 GB, free: 54.02 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches