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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009016/0.0009016, allocations: 82.62 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3952/0.3952, allocations: 43.46 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.966e-05, allocations: 7.984 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1355, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5591, allocations: 106.7 MB / 0.577 GB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.5595, allocations: 81.91 kB / 0.5771 GB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2865/0.846, allocations: 111.4 MB / 0.6859 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8461, allocations: 4 kB / 0.6859 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003853/0.8465, allocations: 104 kB / 0.686 GB, free: 8.289 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01844/0.8649, allocations: 5.349 MB / 0.6912 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.865, allocations: 12.03 kB / 0.6912 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3126/1.178, allocations: 6.923 MB / 0.698 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/1.196, allocations: 6.804 MB / 0.7046 GB, free: 86.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004186/1.196, allocations: 405.2 kB / 0.705 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002536/1.199, allocations: 0.5264 MB / 0.7055 GB, free: 86.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02766/1.226, allocations: 12.9 MB / 0.7181 GB, free: 83.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003029/1.227, allocations: 82.27 kB / 0.7182 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001624/1.228, allocations: 257.3 kB / 0.7185 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/1.23, allocations: 1.208 MB / 0.7196 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02409/1.254, allocations: 10.22 MB / 0.7296 GB, free: 83.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06865/1.323, allocations: 58.48 MB / 0.7867 GB, free: 43.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/1.333, allocations: 4.64 MB / 0.7913 GB, free: 42.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/1.336, allocations: 2.218 MB / 0.7934 GB, free: 41.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01461/1.351, allocations: 6.861 MB / 0.8001 GB, free: 53.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/1.351, allocations: 51.06 kB / 0.8002 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=181): time 6.492e-06/1.351, allocations: 0 / 0.8002 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193): time 0.04024/1.391, allocations: 13.36 MB / 0.8132 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/1.392, allocations: 204.8 kB / 0.8134 GB, free: 48.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/1.404, allocations: 5.11 MB / 0.8184 GB, free: 46.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005404/1.404, allocations: 54.7 kB / 0.8185 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003826/1.408, allocations: 4.026 MB / 0.8224 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001437/1.41, allocations: 0.7601 MB / 0.8231 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/1.411, allocations: 141.9 kB / 0.8233 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001172/1.412, allocations: 0.6019 MB / 0.8239 GB, free: 42.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/1.417, allocations: 2.216 MB / 0.826 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007162/1.424, allocations: 6.638 MB / 0.8325 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006101/1.43, allocations: 3.812 MB / 0.8362 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002283/1.431, allocations: 47.38 kB / 0.8363 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.01917/1.45, allocations: 9.003 MB / 0.8451 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/1.45, allocations: 73.95 kB / 0.8451 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003855/1.451, allocations: 156.6 kB / 0.8453 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/1.453, allocations: 0.5961 MB / 0.8459 GB, free: 29.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005805/1.458, allocations: 1.611 MB / 0.8474 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/1.465, allocations: 5.599 MB / 0.8529 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00722/1.472, allocations: 375.9 kB / 0.8533 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/1.474, allocations: 446 kB / 0.8537 GB, free: 22.54 MB / 0.5105 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.002601/1.477, allocations: 0.6581 MB / 0.8543 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.478, allocations: 493.5 kB / 0.8548 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006524/1.485, allocations: 2.973 MB / 0.8577 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/1.485, allocations: 20 kB / 0.8577 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.851e-05/1.485, allocations: 5.312 kB / 0.8577 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/1.485, allocations: 10.61 kB / 0.8577 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.506, allocations: 8.139 MB / 0.8657 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/1.506, allocations: 0 / 0.8657 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.508, allocations: 290.6 kB / 0.866 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/1.509, allocations: 339.2 kB / 0.8663 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003427/1.509, allocations: 35.8 kB / 0.8663 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006204/1.516, allocations: 4.939 MB / 0.8712 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.516, allocations: 8.062 kB / 0.8712 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/1.526, allocations: 5.926 MB / 0.877 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002873/1.529, allocations: 0.7917 MB / 0.8777 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001801/1.531, allocations: 32 kB / 0.8778 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/1.534, allocations: 93.06 kB / 0.8778 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/1.534, allocations: 119 kB / 0.878 GB, free: 496 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/1.534, allocations: 52 kB / 0.878 GB, free: 444 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02022/1.555, allocations: 4.482 MB / 0.8824 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.82e-07/1.555, allocations: 3.469 kB / 0.8824 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009633/1.564, allocations: 1.204 MB / 0.8836 GB, free: 14.07 MB / 0.5261 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.000815/1.565, allocations: 173.9 kB / 0.8837 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.577, allocations: 5.539 MB / 0.8891 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.577, allocations: 4 kB / 0.8891 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00295/1.58, allocations: 1.657 MB / 0.8908 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/1.584, allocations: 0.5926 MB / 0.8913 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3025/1.887, allocations: 9.369 MB / 0.9005 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008156/1.895, allocations: 4.138 MB / 0.9045 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008718/1.904, allocations: 2.303 MB / 0.9068 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/1.905, allocations: 314.2 kB / 0.9071 GB, free: 102 MB / 0.5261 GB Notification: Performance of SimCode: time 1.613e-06/1.905, allocations: 0 / 0.9071 GB, free: 102 MB / 0.5261 GB Notification: Performance of Templates: time 0.08672/1.992, allocations: 42.33 MB / 0.9484 GB, free: 100.3 MB / 0.5261 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/jenkins/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_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches