Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.56/1.56, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007757/0.0007756, allocations: 100 kB / 271.3 MB, free: 8.258 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.3185/0.3185, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003437, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1045, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.4571, allocations: 105.9 MB / 0.5834 GB, free: 12.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.4573, allocations: 83.95 kB / 0.5835 GB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.665/1.122, allocations: 168 MB / 0.7476 GB, free: 79.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.126e-06/1.122, allocations: 3.656 kB / 0.7476 GB, free: 79.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007722/1.123, allocations: 166 kB / 0.7477 GB, free: 79.91 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: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.03081/1.154, allocations: 8.742 MB / 0.7563 GB, free: 75.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.154, allocations: 10.25 kB / 0.7563 GB, free: 75.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05519/1.209, allocations: 8.793 MB / 0.7649 GB, free: 73.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03741/1.247, allocations: 9.677 MB / 0.7743 GB, free: 68.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001284/1.248, allocations: 0.6338 MB / 0.7749 GB, free: 67.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005662/1.254, allocations: 0.8525 MB / 0.7758 GB, free: 67.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04676/1.301, allocations: 19.87 MB / 0.7952 GB, free: 51.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006556/1.301, allocations: 115.1 kB / 0.7953 GB, free: 51.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003601/1.305, allocations: 404.6 kB / 0.7957 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002567/1.307, allocations: 1.82 MB / 0.7974 GB, free: 49.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0336/1.341, allocations: 16.08 MB / 0.8131 GB, free: 33.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4264/1.768, allocations: 82.09 MB / 0.8933 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/1.787, allocations: 8.133 MB / 0.9013 GB, free: 49.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005396/1.792, allocations: 4.131 MB / 0.9053 GB, free: 49.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007301/1.793, allocations: 0.6654 MB / 0.9059 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/1.793, allocations: 73.44 kB / 0.906 GB, free: 49.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 6.993e-06/1.793, allocations: 0 / 0.906 GB, free: 49.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.08973/1.883, allocations: 30.71 MB / 0.936 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/1.883, allocations: 300.3 kB / 0.9363 GB, free: 42.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01778/1.901, allocations: 7.742 MB / 0.9438 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008512/1.902, allocations: 78.2 kB / 0.9439 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004293/1.906, allocations: 5.868 MB / 0.9496 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001881/1.908, allocations: 1.267 MB / 0.9509 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00088/1.909, allocations: 191.5 kB / 0.9511 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005429/1.909, allocations: 0.7143 MB / 0.9518 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005177/1.914, allocations: 3.528 MB / 0.9552 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008042/1.922, allocations: 9.251 MB / 0.9642 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/1.938, allocations: 13.9 MB / 0.9778 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002076/1.938, allocations: 65.5 kB / 0.9779 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1262) (initialization): time 0.02547/1.963, allocations: 13.37 MB / 0.9909 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/1.964, allocations: 92.19 kB / 0.991 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003125/1.964, allocations: 202 kB / 0.9912 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/1.966, allocations: 1.038 MB / 0.9922 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007868/1.974, allocations: 2.259 MB / 0.9944 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01296/1.987, allocations: 11.3 MB / 1.005 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009831/1.997, allocations: 0.5254 MB / 1.006 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002342/1.999, allocations: 0.5689 MB / 1.007 GB, free: 1.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1182): * Single equations (assignments): 1175 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01021/2.01, allocations: 3.888 MB / 1.01 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/2.012, allocations: 0.6743 MB / 1.011 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/2.023, allocations: 6.047 MB / 1.017 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/2.023, allocations: 40 kB / 1.017 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/2.023, allocations: 11.72 kB / 1.017 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.494e-05/2.024, allocations: 18.3 kB / 1.017 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03678/2.06, allocations: 15.17 MB / 1.032 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/2.06, allocations: 0 / 1.032 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/2.063, allocations: 0.5589 MB / 1.032 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/2.065, allocations: 0.7017 MB / 1.033 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003843/2.066, allocations: 63.83 kB / 1.033 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/2.077, allocations: 10.15 MB / 1.043 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/2.077, allocations: 0 / 1.043 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02514/2.102, allocations: 10.42 MB / 1.053 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005697/2.108, allocations: 1.198 MB / 1.054 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002776/2.11, allocations: 52 kB / 1.054 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004845/2.115, allocations: 196.5 kB / 1.055 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/2.116, allocations: 200.7 kB / 1.055 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006672/2.117, allocations: 90.88 kB / 1.055 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01321/2.13, allocations: 4.933 MB / 1.06 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.11e-07/2.13, allocations: 7.281 kB / 1.06 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01404/2.144, allocations: 1.862 MB / 1.061 GB, free: 4.98 MB / 0.5573 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%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/2.146, allocations: 217.5 kB / 1.062 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01847/2.164, allocations: 9.053 MB / 1.071 GB, free: 12.73 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.164, allocations: 0 / 1.071 GB, free: 12.73 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006047/2.17, allocations: 3.244 MB / 1.074 GB, free: 9.434 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/2.184, allocations: 0.9664 MB / 1.075 GB, free: 8.504 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3435/2.528, allocations: 21.48 MB / 1.096 GB, free: 149.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01519/2.543, allocations: 5.943 MB / 1.101 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0098/2.553, allocations: 3.102 MB / 1.104 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/2.555, allocations: 462.5 kB / 1.105 GB, free: 148.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.372e-06/2.555, allocations: 2.625 kB / 1.105 GB, free: 148.9 MB / 0.573 GB Notification: Performance of Templates: time 0.1524/2.707, allocations: 69.77 MB / 1.173 GB, free: 138.4 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches