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.001674/0.001675, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009794/0.0009793, allocations: 90.28 kB / 261.7 MB, free: 1.676 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.2533/0.2533, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.888e-05, allocations: 4 kB / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1397, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4679/0.6076, allocations: 106.9 MB / 0.5703 GB, free: 4.879 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.6079, allocations: 76.88 kB / 0.5704 GB, free: 4.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3215/0.9295, allocations: 129.6 MB / 0.6969 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9295, allocations: 0 / 0.6969 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004326/0.93, allocations: 135.9 kB / 0.6971 GB, free: 10.86 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.02212/0.9521, allocations: 6.663 MB / 0.7036 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.9522, allocations: 15.97 kB / 0.7036 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3588/1.311, allocations: 7.135 MB / 0.7106 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02213/1.333, allocations: 7.428 MB / 0.7178 GB, free: 97.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006511/1.334, allocations: 221.2 kB / 0.718 GB, free: 97.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/1.338, allocations: 404.7 kB / 0.7184 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01869/1.356, allocations: 9.263 MB / 0.7274 GB, free: 97.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03156/1.388, allocations: 14.35 MB / 0.7415 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007279/1.389, allocations: 87.81 kB / 0.7415 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00419/1.393, allocations: 46.47 kB / 0.7416 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002575/1.395, allocations: 1.552 MB / 0.7431 GB, free: 93.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08072/1.476, allocations: 69.81 MB / 0.8113 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005991/1.482, allocations: 5.19 MB / 0.8163 GB, free: 44.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004209/1.487, allocations: 3.517 MB / 0.8198 GB, free: 43.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/1.487, allocations: 386.3 kB / 0.8201 GB, free: 42.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/1.487, allocations: 68.34 kB / 0.8202 GB, free: 42.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=268): time 6.583e-06/1.487, allocations: 0 / 0.8202 GB, free: 42.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=312): time 0.04987/1.537, allocations: 27.54 MB / 0.8471 GB, free: 27.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/1.537, allocations: 238.2 kB / 0.8473 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006475/1.544, allocations: 4.793 MB / 0.852 GB, free: 23.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007728/1.545, allocations: 29.7 kB / 0.852 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002305/1.547, allocations: 4.931 MB / 0.8569 GB, free: 18.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.548, allocations: 1.152 MB / 0.858 GB, free: 17.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/1.549, allocations: 0 / 0.858 GB, free: 17.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003815/1.549, allocations: 0.706 MB / 0.8587 GB, free: 17.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/1.553, allocations: 3.418 MB / 0.862 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006326/1.559, allocations: 8.873 MB / 0.8707 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008346/1.568, allocations: 5.442 MB / 0.876 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/1.568, allocations: 56 kB / 0.876 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1223) (initialization): time 0.02697/1.595, allocations: 12.56 MB / 0.8883 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/1.595, allocations: 88 kB / 0.8884 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002624/1.595, allocations: 196 kB / 0.8886 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/1.599, allocations: 1.722 MB / 0.8903 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008537/1.608, allocations: 2.214 MB / 0.8924 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/1.623, allocations: 10.77 MB / 0.903 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008515/1.631, allocations: 371.4 kB / 0.9033 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002424/1.634, allocations: 0.5525 MB / 0.9038 GB, free: 6.016 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 889 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1151): * Single equations (assignments): 1146 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002233/1.636, allocations: 0.5957 MB / 0.9044 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/1.637, allocations: 0.5165 MB / 0.9049 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5785/2.216, allocations: 6.553 MB / 0.9113 GB, free: 112.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.49e-05/2.216, allocations: 35.22 kB / 0.9114 GB, free: 112.9 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.551e-05/2.216, allocations: 8.625 kB / 0.9114 GB, free: 112.9 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/2.216, allocations: 15.28 kB / 0.9114 GB, free: 112.9 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03401/2.25, allocations: 13.74 MB / 0.9248 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/2.25, allocations: 8.375 kB / 0.9248 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002985/2.253, allocations: 0.5329 MB / 0.9253 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003719/2.257, allocations: 1.408 MB / 0.9267 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005295/2.258, allocations: 7.281 kB / 0.9267 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/2.269, allocations: 9.896 MB / 0.9364 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/2.269, allocations: 7.438 kB / 0.9364 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/2.283, allocations: 10.94 MB / 0.9471 GB, free: 108.5 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002812/2.286, allocations: 1.033 MB / 0.9481 GB, free: 108.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009176/2.287, allocations: 7.906 kB / 0.9481 GB, free: 108.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/2.289, allocations: 173.8 kB / 0.9482 GB, free: 108.5 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004291/2.29, allocations: 177.5 kB / 0.9484 GB, free: 108.4 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/2.29, allocations: 78.59 kB / 0.9485 GB, free: 108.4 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.005936/2.296, allocations: 3.229 MB / 0.9516 GB, free: 108.3 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.9e-07/2.296, allocations: 6.781 kB / 0.9517 GB, free: 108.3 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.00982/2.306, allocations: 1.425 MB / 0.953 GB, free: 108.3 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 248 * 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.0007074/2.306, allocations: 156.5 kB / 0.9532 GB, free: 108.2 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01309/2.32, allocations: 8.603 MB / 0.9616 GB, free: 107.9 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/2.32, allocations: 0 / 0.9616 GB, free: 107.9 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005329/2.325, allocations: 3.323 MB / 0.9648 GB, free: 107.4 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/2.329, allocations: 0.5228 MB / 0.9654 GB, free: 107.1 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/2.361, allocations: 12.97 MB / 0.978 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008396/2.37, allocations: 5.045 MB / 0.9829 GB, free: 101 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.00793/2.378, allocations: 3.007 MB / 0.9859 GB, free: 100.9 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/2.379, allocations: 375.4 kB / 0.9862 GB, free: 100.9 MB / 0.5262 GB Notification: Performance of SimCode: time 1.212e-06/2.379, allocations: 0 / 0.9862 GB, free: 100.9 MB / 0.5262 GB Notification: Performance of Templates: time 0.1039/2.483, allocations: 53 MB / 1.038 GB, free: 73.79 MB / 0.5262 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