Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.Torque,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.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.469/1.469, 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.000794/0.0007939, allocations: 90.86 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.1947/0.1947, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1028, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4585, allocations: 107.6 MB / 0.5839 GB, free: 8.449 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.4588, allocations: 78.16 kB / 0.5839 GB, free: 8.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6362/1.095, allocations: 132.5 MB / 0.7133 GB, free: 96.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.023e-06/1.095, allocations: 0 / 0.7133 GB, free: 96.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004605/1.096, allocations: 137.9 kB / 0.7135 GB, free: 96.51 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.03132/1.127, allocations: 7.194 MB / 0.7205 GB, free: 94.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/1.127, allocations: 9.719 kB / 0.7205 GB, free: 94.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03124/1.158, allocations: 7.141 MB / 0.7275 GB, free: 93.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02426/1.182, allocations: 7.484 MB / 0.7348 GB, free: 92.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005601/1.183, allocations: 0.5012 MB / 0.7353 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003422/1.187, allocations: 0.6675 MB / 0.7359 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03673/1.223, allocations: 16.2 MB / 0.7517 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003979/1.224, allocations: 98.92 kB / 0.7518 GB, free: 88.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001884/1.226, allocations: 326.6 kB / 0.7521 GB, free: 88.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001956/1.228, allocations: 1.552 MB / 0.7537 GB, free: 88.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02581/1.253, allocations: 13.14 MB / 0.7665 GB, free: 88.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08975/1.343, allocations: 73.09 MB / 0.8379 GB, free: 36.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02053/1.364, allocations: 6.515 MB / 0.8442 GB, free: 34.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01834/1.382, allocations: 9.28 MB / 0.8533 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/1.382, allocations: 60.56 kB / 0.8534 GB, free: 26.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=269): time 8.586e-06/1.382, allocations: 0 / 0.8534 GB, free: 26.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=311): time 0.06593/1.448, allocations: 30.12 MB / 0.8828 GB, free: 388 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/1.448, allocations: 243.5 kB / 0.883 GB, free: 100 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01141/1.46, allocations: 6.344 MB / 0.8892 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008613/1.461, allocations: 72.14 kB / 0.8893 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004004/1.465, allocations: 4.84 MB / 0.894 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001754/1.466, allocations: 1.183 MB / 0.8951 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000533/1.467, allocations: 184 kB / 0.8953 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005306/1.468, allocations: 0.6942 MB / 0.896 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/1.473, allocations: 3.566 MB / 0.8995 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2593/1.732, allocations: 8.862 MB / 0.9081 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.744, allocations: 5.504 MB / 0.9135 GB, free: 98.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003113/1.744, allocations: 53.19 kB / 0.9136 GB, free: 98.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.03099/1.775, allocations: 13.71 MB / 0.927 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004057/1.776, allocations: 87 kB / 0.927 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004898/1.776, allocations: 185.9 kB / 0.9272 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004474/1.781, allocations: 1.705 MB / 0.9289 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008524/1.789, allocations: 2.14 MB / 0.931 GB, free: 97.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/1.803, allocations: 11.68 MB / 0.9424 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/1.813, allocations: 0.5321 MB / 0.9429 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002942/1.816, allocations: 0.5408 MB / 0.9434 GB, free: 95.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 853 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1107): * Single equations (assignments): 1102 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01085/1.827, allocations: 3.229 MB / 0.9466 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002607/1.83, allocations: 0.5919 MB / 0.9472 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/1.845, allocations: 6.747 MB / 0.9537 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.649e-05/1.845, allocations: 36.92 kB / 0.9538 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-05/1.845, allocations: 9.516 kB / 0.9538 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-05/1.845, allocations: 16.64 kB / 0.9538 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03845/1.884, allocations: 15.19 MB / 0.9686 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.493e-05/1.884, allocations: 4.906 kB / 0.9686 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/1.887, allocations: 0.5674 MB / 0.9692 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00388/1.891, allocations: 1.417 MB / 0.9706 GB, free: 88.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/1.892, allocations: 62.45 kB / 0.9706 GB, free: 88.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/1.905, allocations: 10.8 MB / 0.9812 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.905, allocations: 6.312 kB / 0.9812 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02307/1.928, allocations: 11.85 MB / 0.9928 GB, free: 77.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00562/1.934, allocations: 1.149 MB / 0.9939 GB, free: 76.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002973/1.937, allocations: 62.73 kB / 0.9939 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005292/1.943, allocations: 210.8 kB / 0.9942 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001228/1.944, allocations: 188.2 kB / 0.9943 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007034/1.945, allocations: 81.52 kB / 0.9944 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0128/1.957, allocations: 4.435 MB / 0.9987 GB, free: 75.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.061e-06/1.957, allocations: 0 / 0.9987 GB, free: 75.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01461/1.972, allocations: 1.658 MB / 1 GB, free: 74.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (254): * Single equations (assignments): 249 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001786/1.974, allocations: 207.6 kB / 1.001 GB, free: 74.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01824/1.992, allocations: 8.818 MB / 1.009 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.992, allocations: 0 / 1.009 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006915/1.999, allocations: 3.385 MB / 1.012 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006462/2.006, allocations: 0.7118 MB / 1.013 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04206/2.048, allocations: 18.29 MB / 1.031 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01311/2.061, allocations: 5.028 MB / 1.036 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0121/2.073, allocations: 2.98 MB / 1.039 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002967/2.076, allocations: 417.5 kB / 1.039 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of SimCode: time 1.412e-06/2.076, allocations: 0 / 1.039 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.4426/2.519, allocations: 63.63 MB / 1.101 GB, free: 104.9 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches