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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 95.27 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 174.3 kB / 16.57 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3719/0.3719, allocations: 43.54 MB / 314.5 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005649/0.0005651, allocations: 15.98 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1366, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.3017/0.4384, allocations: 77.54 MB / 0.5081 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04905/0.4875, allocations: 17.3 MB / 0.525 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02157/0.5092, allocations: 384.5 kB / 0.5254 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01753/0.5267, allocations: 3.889 MB / 0.5292 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04316/0.5699, allocations: 11.03 MB / 0.5399 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.576, allocations: 0.8607 MB / 0.5408 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04247/0.6185, allocations: 27.22 MB / 0.5673 GB, free: 344 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01123/0.6297, allocations: 7.391 MB / 0.5746 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/0.6338, allocations: 1.639 MB / 0.5762 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003863/0.6377, allocations: 2.208 MB / 0.5783 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.6389, allocations: 236 kB / 0.5785 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.6418, allocations: 0.9871 MB / 0.5795 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002921/0.6448, allocations: 2.63 MB / 0.5821 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.6466, allocations: 1.341 MB / 0.5834 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.6571, allocations: 8.888 MB / 0.5921 GB, free: 6.922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6572, allocations: 0 / 0.5921 GB, free: 6.922 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6572, allocations: 4 kB / 0.5921 GB, free: 6.918 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003865/0.6576, allocations: 0 / 0.5921 GB, free: 6.918 MB / 462.1 MB 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.01638/0.6739, allocations: 6.993 MB / 0.5989 GB, free: 15.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.674, allocations: 8.031 kB / 0.5989 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04305/0.7171, allocations: 8.276 MB / 0.607 GB, free: 7.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/0.7298, allocations: 4.794 MB / 0.6117 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.7301, allocations: 385.9 kB / 0.612 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/0.7323, allocations: 0.5035 MB / 0.6125 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03223/0.7646, allocations: 15.69 MB / 0.6279 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000229/0.7648, allocations: 67.36 kB / 0.6279 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007549/0.7656, allocations: 239.8 kB / 0.6281 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2542/1.02, allocations: 3.058 MB / 0.6311 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02651/1.046, allocations: 13.17 MB / 0.644 GB, free: 137.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08238/1.129, allocations: 61.3 MB / 0.7038 GB, free: 96.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.144, allocations: 6.754 MB / 0.7104 GB, free: 92.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01527/1.159, allocations: 9.332 MB / 0.7196 GB, free: 83.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/1.159, allocations: 72.5 kB / 0.7196 GB, free: 83.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 6.332e-06/1.159, allocations: 1.969 kB / 0.7196 GB, free: 83.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.06794/1.227, allocations: 32.12 MB / 0.751 GB, free: 50.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/1.227, allocations: 239.9 kB / 0.7512 GB, free: 50.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00835/1.236, allocations: 7.211 MB / 0.7583 GB, free: 43.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009043/1.237, allocations: 73.7 kB / 0.7583 GB, free: 43.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/1.239, allocations: 4.817 MB / 0.763 GB, free: 38.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001418/1.24, allocations: 1.179 MB / 0.7642 GB, free: 37.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004169/1.241, allocations: 176 kB / 0.7644 GB, free: 36.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003237/1.241, allocations: 0.6943 MB / 0.765 GB, free: 36.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004276/1.245, allocations: 3.668 MB / 0.7686 GB, free: 32.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006719/1.252, allocations: 8.937 MB / 0.7773 GB, free: 20.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00779/1.26, allocations: 5.594 MB / 0.7828 GB, free: 15.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/1.26, allocations: 56 kB / 0.7829 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02827/1.288, allocations: 13.94 MB / 0.7965 GB, free: 1.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.288, allocations: 84 kB / 0.7966 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/1.289, allocations: 184 kB / 0.7967 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00421/1.293, allocations: 1.821 MB / 0.7985 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007882/1.301, allocations: 2.109 MB / 0.8006 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/1.317, allocations: 12.33 MB / 0.8126 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008198/1.325, allocations: 0.5227 MB / 0.8131 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002111/1.327, allocations: 0.5382 MB / 0.8136 GB, free: 15.46 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * 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 (1102): * Single equations (assignments): 1095 * Array equations: 5 * 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.007973/1.335, allocations: 3.234 MB / 0.8168 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/1.337, allocations: 0.5977 MB / 0.8174 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/1.35, allocations: 6.962 MB / 0.8242 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.157e-05/1.35, allocations: 32 kB / 0.8242 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/1.35, allocations: 12 kB / 0.8242 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/1.35, allocations: 15.94 kB / 0.8242 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.295/1.645, allocations: 15.53 MB / 0.8394 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/1.645, allocations: 8.344 kB / 0.8394 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/1.648, allocations: 0.5181 MB / 0.8399 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003485/1.651, allocations: 1.527 MB / 0.8414 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003563/1.652, allocations: 60.28 kB / 0.8415 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/1.664, allocations: 11.48 MB / 0.8527 GB, free: 148 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.664, allocations: 7.062 kB / 0.8527 GB, free: 148 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01987/1.684, allocations: 12.15 MB / 0.8645 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004602/1.689, allocations: 1.185 MB / 0.8657 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002667/1.691, allocations: 60.47 kB / 0.8658 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004564/1.696, allocations: 203.5 kB / 0.866 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007745/1.697, allocations: 192.4 kB / 0.8661 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/1.697, allocations: 87 kB / 0.8662 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01084/1.708, allocations: 4.651 MB / 0.8708 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.91e-07/1.708, allocations: 0 / 0.8708 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01074/1.719, allocations: 1.692 MB / 0.8724 GB, free: 140.6 MB / 0.5137 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.00125/1.72, allocations: 215.2 kB / 0.8726 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01796/1.738, allocations: 8.989 MB / 0.8814 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-05/1.738, allocations: 1.562 kB / 0.8814 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007338/1.745, allocations: 3.489 MB / 0.8848 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/1.75, allocations: 0.7093 MB / 0.8855 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/1.779, allocations: 18.37 MB / 0.9034 GB, free: 121.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007297/1.787, allocations: 5.045 MB / 0.9084 GB, free: 117.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007761/1.795, allocations: 2.976 MB / 0.9113 GB, free: 115.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/1.796, allocations: 419.3 kB / 0.9117 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.185e-06/1.796, allocations: 3.938 kB / 0.9117 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1054/1.902, allocations: 65.09 MB / 0.9752 GB, free: 49.79 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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