Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 181.3 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 1.963/1.963, 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.001079/0.001079, allocations: 90.64 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.2787/0.2787, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.402e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5086/0.6258, allocations: 105.5 MB / 0.5758 GB, free: 14.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.6261, allocations: 79 kB / 0.5759 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066/1.692, allocations: 163.7 MB / 0.7357 GB, free: 91.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.685e-06/1.692, allocations: 3.094 kB / 0.7357 GB, free: 91.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006201/1.693, allocations: 163.2 kB / 0.7359 GB, free: 91.38 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.03499/1.728, allocations: 8.014 MB / 0.7437 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/1.728, allocations: 7.375 kB / 0.7437 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08882/1.817, allocations: 12.03 MB / 0.7555 GB, free: 87.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03829/1.855, allocations: 10.82 MB / 0.766 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008531/1.856, allocations: 0.607 MB / 0.7666 GB, free: 86.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004602/1.861, allocations: 0.8198 MB / 0.7674 GB, free: 86.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06342/1.924, allocations: 19.13 MB / 0.7861 GB, free: 82.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006184/1.925, allocations: 109.2 kB / 0.7862 GB, free: 82.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003685/1.928, allocations: 384.2 kB / 0.7866 GB, free: 82.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003732/1.932, allocations: 1.73 MB / 0.7883 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05064/1.983, allocations: 15.48 MB / 0.8034 GB, free: 77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/2.111, allocations: 79.74 MB / 0.8813 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03634/2.147, allocations: 8.184 MB / 0.8893 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00979/2.157, allocations: 4.083 MB / 0.8932 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/2.158, allocations: 0.6679 MB / 0.8939 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.385e-05/2.158, allocations: 68.81 kB / 0.894 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 7.774e-06/2.158, allocations: 0 / 0.894 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.4995/2.658, allocations: 25.92 MB / 0.9193 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/2.658, allocations: 297.4 kB / 0.9196 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01887/2.677, allocations: 6.677 MB / 0.9261 GB, free: 92.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009055/2.678, allocations: 78.34 kB / 0.9262 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005529/2.683, allocations: 5.311 MB / 0.9313 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002277/2.686, allocations: 1.248 MB / 0.9326 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/2.687, allocations: 187.6 kB / 0.9327 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009998/2.688, allocations: 0.709 MB / 0.9334 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0095/2.698, allocations: 3.371 MB / 0.9367 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01347/2.711, allocations: 8.883 MB / 0.9454 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01297/2.725, allocations: 5.404 MB / 0.9507 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002414/2.725, allocations: 57.66 kB / 0.9507 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.03603/2.761, allocations: 12.57 MB / 0.963 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/2.761, allocations: 95.14 kB / 0.9631 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003086/2.761, allocations: 193.4 kB / 0.9633 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004099/2.766, allocations: 1.004 MB / 0.9643 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01432/2.78, allocations: 2.17 MB / 0.9664 GB, free: 80.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/2.797, allocations: 10.99 MB / 0.9771 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01204/2.809, allocations: 0.5143 MB / 0.9776 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/2.811, allocations: 0.5521 MB / 0.9782 GB, free: 73.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 66 (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.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.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 (1152): * Single equations (assignments): 1145 * 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.002021/2.814, allocations: 0.8404 MB / 0.979 GB, free: 72.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002058/2.816, allocations: 0.6643 MB / 0.9796 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/2.831, allocations: 5.855 MB / 0.9853 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.467e-05/2.831, allocations: 37.23 kB / 0.9854 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/2.831, allocations: 9.719 kB / 0.9854 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-05/2.831, allocations: 16.72 kB / 0.9854 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05515/2.886, allocations: 14.63 MB / 0.9997 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/2.886, allocations: 0 / 0.9997 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005433/2.892, allocations: 0.5309 MB / 1 GB, free: 64.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003293/2.895, allocations: 0.6643 MB / 1.001 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006396/2.896, allocations: 63.7 kB / 1.001 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/2.911, allocations: 9.868 MB / 1.011 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.911, allocations: 3.906 kB / 1.011 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02358/2.935, allocations: 9.911 MB / 1.02 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005231/2.94, allocations: 1.176 MB / 1.021 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002986/2.943, allocations: 52.89 kB / 1.021 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006723/2.95, allocations: 200.3 kB / 1.022 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/2.951, allocations: 197.3 kB / 1.022 GB, free: 50.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003595/2.951, allocations: 84.48 kB / 1.022 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01242/2.964, allocations: 4.757 MB / 1.027 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.12e-07/2.964, allocations: 0 / 1.027 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01308/2.977, allocations: 1.81 MB / 1.028 GB, free: 44 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (276): * Single equations (assignments): 269 * 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.001262/2.978, allocations: 217.2 kB / 1.029 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01976/2.998, allocations: 8.65 MB / 1.037 GB, free: 35.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.998, allocations: 4 kB / 1.037 GB, free: 35.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007218/3.005, allocations: 3.137 MB / 1.04 GB, free: 33.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008258/3.014, allocations: 0.9232 MB / 1.041 GB, free: 32.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0444/3.058, allocations: 15.44 MB / 1.056 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01477/3.073, allocations: 5.911 MB / 1.062 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003481/3.076, allocations: 0.5087 MB / 1.062 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/3.077, allocations: 0 / 1.062 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.837/3.914, allocations: 235.9 MB / 1.293 GB, free: 13.32 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches