Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 179.9 kB / 18.09 MB, free: 3.633 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 242.1 MB, free: 10.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008153/0.0008154, allocations: 92.52 kB / 293.3 MB, free: 10.59 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.3453/0.3453, allocations: 44.15 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003715, allocations: 12 kB / 461.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3381, allocations: 61.86 MB / 0.5107 GB, free: 37.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.4795, allocations: 108.3 MB / 0.6165 GB, free: 2.754 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.4797, allocations: 87.94 kB / 0.6166 GB, free: 2.672 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.516/0.9957, allocations: 106.3 MB / 0.7204 GB, free: 94.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.9958, allocations: 1.219 kB / 0.7204 GB, free: 94.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000838/0.9966, allocations: 97.91 kB / 0.7205 GB, free: 94.66 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.0226/1.019, allocations: 5.387 MB / 0.7257 GB, free: 92.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.019, allocations: 9.438 kB / 0.7257 GB, free: 92.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/1.041, allocations: 5.226 MB / 0.7309 GB, free: 91.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01332/1.054, allocations: 5.253 MB / 0.736 GB, free: 89.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/1.054, allocations: 381.3 kB / 0.7363 GB, free: 89.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002677/1.057, allocations: 0.5027 MB / 0.7368 GB, free: 88.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0269/1.084, allocations: 12.34 MB / 0.7489 GB, free: 82.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003948/1.085, allocations: 72.81 kB / 0.749 GB, free: 82.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/1.087, allocations: 254.9 kB / 0.7492 GB, free: 82.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001569/1.088, allocations: 1.133 MB / 0.7503 GB, free: 81.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/1.108, allocations: 9.699 MB / 0.7598 GB, free: 78.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05617/1.164, allocations: 56.27 MB / 0.8147 GB, free: 27.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009323/1.173, allocations: 4.346 MB / 0.819 GB, free: 23.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/1.176, allocations: 1.971 MB / 0.8209 GB, free: 21.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/1.186, allocations: 6.161 MB / 0.8269 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/1.187, allocations: 47.56 kB / 0.827 GB, free: 14.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 5.09e-06/1.187, allocations: 0 / 0.827 GB, free: 14.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.03526/1.222, allocations: 14.02 MB / 0.8407 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/1.222, allocations: 200.9 kB / 0.8408 GB, free: 404 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0118/1.234, allocations: 5.611 MB / 0.8463 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003708/1.234, allocations: 45.7 kB / 0.8464 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004134/1.238, allocations: 3.862 MB / 0.8501 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/1.239, allocations: 0.6667 MB / 0.8508 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006773/1.24, allocations: 132 kB / 0.8509 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000709/1.241, allocations: 0.587 MB / 0.8515 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003677/1.244, allocations: 1.992 MB / 0.8534 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006668/1.251, allocations: 6.305 MB / 0.8596 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.261, allocations: 9.065 MB / 0.8684 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/1.261, allocations: 44 kB / 0.8685 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01645/1.278, allocations: 8.386 MB / 0.8767 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/1.278, allocations: 77.08 kB / 0.8767 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002274/1.278, allocations: 152 kB / 0.8769 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/1.28, allocations: 0.5568 MB / 0.8774 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004718/1.284, allocations: 1.501 MB / 0.8789 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2868/1.571, allocations: 5.613 MB / 0.8844 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006203/1.577, allocations: 335.3 kB / 0.8847 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/1.579, allocations: 421.7 kB / 0.8851 GB, free: 123.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (815): * Single equations (assignments): 810 * 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.005439/1.585, allocations: 2.519 MB / 0.8876 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/1.586, allocations: 465.6 kB / 0.888 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004786/1.591, allocations: 2.464 MB / 0.8904 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/1.591, allocations: 22.41 kB / 0.8904 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.591, allocations: 5.938 kB / 0.8904 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/1.591, allocations: 8.812 kB / 0.8905 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/1.603, allocations: 7.175 MB / 0.8975 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/1.603, allocations: 2.812 kB / 0.8975 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/1.604, allocations: 231 kB / 0.8977 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008933/1.605, allocations: 343.3 kB / 0.898 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/1.606, allocations: 30.47 kB / 0.898 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004601/1.61, allocations: 4.953 MB / 0.9029 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.61, allocations: 3.906 kB / 0.9029 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006973/1.617, allocations: 4.642 MB / 0.9074 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/1.619, allocations: 0.5275 MB / 0.9079 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005069/1.62, allocations: 28.64 kB / 0.908 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.621, allocations: 73.03 kB / 0.908 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/1.621, allocations: 97.58 kB / 0.9081 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.621, allocations: 46.84 kB / 0.9082 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006611/1.628, allocations: 3.578 MB / 0.9117 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.01e-07/1.628, allocations: 0 / 0.9117 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007617/1.636, allocations: 1.116 MB / 0.9127 GB, free: 117.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * 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.0005489/1.636, allocations: 170.8 kB / 0.9129 GB, free: 117 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008911/1.645, allocations: 5.008 MB / 0.9178 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.645, allocations: 2.031 kB / 0.9178 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/1.647, allocations: 1.418 MB / 0.9192 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006155/1.653, allocations: 0.6092 MB / 0.9198 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/1.674, allocations: 12.55 MB / 0.932 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005816/1.68, allocations: 3.855 MB / 0.9358 GB, free: 107 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005463/1.686, allocations: 2.157 MB / 0.9379 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008073/1.687, allocations: 297.5 kB / 0.9382 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/1.687, allocations: 0 / 0.9382 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.07744/1.764, allocations: 39.93 MB / 0.9772 GB, free: 99.04 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches