Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001023/0.001023, allocations: 183.2 kB / 15.76 MB, free: 6.363 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.616/1.616, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001355/0.001354, allocations: 82.88 kB / 270.2 MB, free: 13.36 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.2175/0.2175, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003216, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3964/0.5305, allocations: 105.6 MB / 0.5819 GB, free: 10.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5309, allocations: 83.61 kB / 0.582 GB, free: 10.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7085/1.239, allocations: 163.5 MB / 0.7417 GB, free: 93.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.366e-06/1.239, allocations: 0 / 0.7417 GB, free: 93.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008124/1.24, allocations: 162.2 kB / 0.7418 GB, free: 93.91 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.03286/1.273, allocations: 8.796 MB / 0.7504 GB, free: 90.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.273, allocations: 9.156 kB / 0.7504 GB, free: 90.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04404/1.317, allocations: 12.02 MB / 0.7621 GB, free: 89.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02731/1.345, allocations: 10.87 MB / 0.7728 GB, free: 88.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006962/1.345, allocations: 0.6118 MB / 0.7734 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004731/1.35, allocations: 0.8135 MB / 0.7741 GB, free: 88.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04592/1.396, allocations: 19.28 MB / 0.793 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007125/1.397, allocations: 113.2 kB / 0.7931 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003821/1.401, allocations: 386.2 kB / 0.7935 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002893/1.403, allocations: 1.733 MB / 0.7951 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03262/1.436, allocations: 15.72 MB / 0.8105 GB, free: 75.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0922/1.528, allocations: 79.73 MB / 0.8884 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02067/1.549, allocations: 8.257 MB / 0.8964 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008709/1.55, allocations: 0.665 MB / 0.8971 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.083e-05/1.55, allocations: 76.75 kB / 0.8971 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 6.592e-06/1.55, allocations: 0 / 0.8971 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.3435/1.894, allocations: 30.27 MB / 0.9267 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.894, allocations: 296.1 kB / 0.927 GB, free: 94.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0145/1.908, allocations: 6.739 MB / 0.9336 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009431/1.909, allocations: 77.25 kB / 0.9336 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004895/1.914, allocations: 5.619 MB / 0.9391 GB, free: 91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002048/1.916, allocations: 1.251 MB / 0.9403 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/1.917, allocations: 190.4 kB / 0.9405 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005051/1.918, allocations: 0.6995 MB / 0.9412 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006002/1.924, allocations: 3.455 MB / 0.9446 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007953/1.932, allocations: 8.966 MB / 0.9533 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007922/1.94, allocations: 5.439 MB / 0.9586 GB, free: 82.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/1.94, allocations: 57.81 kB / 0.9587 GB, free: 82.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02803/1.968, allocations: 13.04 MB / 0.9714 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004259/1.969, allocations: 87.19 kB / 0.9715 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005308/1.969, allocations: 196.2 kB / 0.9717 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002994/1.972, allocations: 1.011 MB / 0.9727 GB, free: 79.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008225/1.98, allocations: 2.164 MB / 0.9748 GB, free: 79.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.992, allocations: 11.2 MB / 0.9858 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009494/2.002, allocations: 0.5171 MB / 0.9863 GB, free: 71.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002495/2.004, allocations: 0.5479 MB / 0.9868 GB, free: 71.43 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 () * Number of clocked 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.01132/2.016, allocations: 3.743 MB / 0.9904 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002396/2.018, allocations: 0.6633 MB / 0.9911 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/2.03, allocations: 5.945 MB / 0.9969 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.157e-05/2.03, allocations: 35.22 kB / 0.9969 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-05/2.03, allocations: 9.844 kB / 0.9969 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.32e-05/2.03, allocations: 14.44 kB / 0.997 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03283/2.063, allocations: 14.73 MB / 1.011 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-05/2.063, allocations: 3.938 kB / 1.011 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/2.066, allocations: 0.5248 MB / 1.012 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/2.068, allocations: 0.6658 MB / 1.013 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006003/2.069, allocations: 59.12 kB / 1.013 GB, free: 61.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009978/2.079, allocations: 10.07 MB / 1.022 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/2.079, allocations: 1.094 kB / 1.022 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/2.094, allocations: 10.06 MB / 1.032 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00497/2.099, allocations: 1.164 MB / 1.033 GB, free: 42.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002443/2.101, allocations: 59.52 kB / 1.033 GB, free: 42.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00464/2.106, allocations: 192.1 kB / 1.034 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007209/2.106, allocations: 189.6 kB / 1.034 GB, free: 41.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004522/2.107, allocations: 87.7 kB / 1.034 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01104/2.118, allocations: 4.829 MB / 1.039 GB, free: 37.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.11e-07/2.118, allocations: 4 kB / 1.039 GB, free: 37.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01325/2.131, allocations: 1.814 MB / 1.04 GB, free: 35.99 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 () * Number of clocked 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.001146/2.132, allocations: 205.4 kB / 1.041 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01599/2.149, allocations: 8.786 MB / 1.049 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/2.149, allocations: 1.75 kB / 1.049 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004986/2.154, allocations: 3.205 MB / 1.052 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006615/2.16, allocations: 0.9177 MB / 1.053 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.039/2.199, allocations: 20.65 MB / 1.073 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.013/2.212, allocations: 5.903 MB / 1.079 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01513/2.227, allocations: 3.409 MB / 1.082 GB, free: 0 / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002955/2.23, allocations: 489.3 kB / 1.083 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.163e-06/2.23, allocations: 4 kB / 1.083 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.4112/2.642, allocations: 68.15 MB / 1.149 GB, free: 94.75 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches