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.001212/0.001212, allocations: 106.4 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.348/1.348, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2078/0.2078, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 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.001486/0.001486, allocations: 65.83 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1196, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01659/0.1363, allocations: 17.09 MB / 459.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.15, allocations: 5.113 MB / 464.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/0.154, allocations: 107.8 kB / 464.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.1646, allocations: 5.066 MB / 469.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008646/0.1733, allocations: 2.715 MB / 472.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003511/0.1768, allocations: 1.072 MB / 473.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01155/0.1884, allocations: 6.847 MB / 480 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.199, allocations: 5.935 MB / 485.9 MB, free: 9.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005633/0.2047, allocations: 2.554 MB / 488.5 MB, free: 7.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006318/0.211, allocations: 3.473 MB / 491.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002563/0.2136, allocations: 0.5507 MB / 492.5 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004976/0.2186, allocations: 1.432 MB / 493.9 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005161/0.2238, allocations: 3.238 MB / 497.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00853/0.2324, allocations: 3.655 MB / 0.4891 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01814/0.2506, allocations: 11.38 MB / 0.5002 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.2506, allocations: 0 / 0.5002 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2507, allocations: 0 / 0.5002 GB, free: 15.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004996/0.2512, allocations: 3.984 kB / 0.5002 GB, free: 15.6 MB / 398.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.02844/0.2796, allocations: 7.911 MB / 0.5079 GB, free: 7.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.2797, allocations: 19.83 kB / 0.5079 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.2944, allocations: 2.83 MB / 0.5107 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.3077, allocations: 4.593 MB / 0.5152 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007377/0.3085, allocations: 386.2 kB / 0.5155 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002993/0.3115, allocations: 0.5074 MB / 0.516 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3277/0.6392, allocations: 15.63 MB / 0.5313 GB, free: 76.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002688/0.6396, allocations: 70.47 kB / 0.5314 GB, free: 76.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007226/0.6403, allocations: 243.1 kB / 0.5316 GB, free: 76.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006396/0.6467, allocations: 3.066 MB / 0.5346 GB, free: 76.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03315/0.6799, allocations: 13.24 MB / 0.5475 GB, free: 73.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08878/0.7687, allocations: 61.31 MB / 0.6074 GB, free: 16.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.7841, allocations: 6.662 MB / 0.6139 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004601/0.7887, allocations: 4.022 MB / 0.6178 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01996/0.8087, allocations: 9.475 MB / 0.6271 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.917e-05/0.8088, allocations: 76.48 kB / 0.6272 GB, free: 12.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=269): time 6.031e-06/0.8088, allocations: 0 / 0.6272 GB, free: 12.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=311): time 0.09797/0.9068, allocations: 32.56 MB / 0.659 GB, free: 11.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002905/0.9072, allocations: 239.9 kB / 0.6592 GB, free: 10.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01749/0.9247, allocations: 6.995 MB / 0.666 GB, free: 3.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001047/0.9258, allocations: 65.7 kB / 0.6661 GB, free: 3.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004806/0.9306, allocations: 4.779 MB / 0.6707 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002252/0.9329, allocations: 1.176 MB / 0.6719 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004497/0.9374, allocations: 1.919 MB / 0.6738 GB, free: 11.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.9376, allocations: 305.1 kB / 0.6741 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005899/0.9435, allocations: 3.918 MB / 0.6779 GB, free: 7.715 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/0.9536, allocations: 9.252 MB / 0.6869 GB, free: 11.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01904/0.9727, allocations: 14.11 MB / 0.7007 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002015/0.9729, allocations: 52.56 kB / 0.7008 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02925/1.002, allocations: 14.98 MB / 0.7154 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001902/1.002, allocations: 84.19 kB / 0.7155 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003212/1.003, allocations: 184 kB / 0.7156 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/1.009, allocations: 2.305 MB / 0.7179 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008114/1.017, allocations: 2.176 MB / 0.72 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3435/1.361, allocations: 14.39 MB / 0.7341 GB, free: 164.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/1.372, allocations: 0.5447 MB / 0.7346 GB, free: 164.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002587/1.374, allocations: 0.5439 MB / 0.7351 GB, free: 164.1 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 (1140): * Single equations (assignments): 1133 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009504/1.384, allocations: 3.23 MB / 0.7383 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003226/1.387, allocations: 0.5915 MB / 0.7389 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/1.407, allocations: 7.717 MB / 0.7464 GB, free: 161 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.878e-05/1.407, allocations: 31.59 kB / 0.7464 GB, free: 161 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.147e-05/1.407, allocations: 11.66 kB / 0.7464 GB, free: 161 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.208e-05/1.407, allocations: 15.88 kB / 0.7465 GB, free: 161 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03917/1.446, allocations: 16.23 MB / 0.7623 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.544e-05/1.446, allocations: 3.688 kB / 0.7623 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/1.449, allocations: 0.523 MB / 0.7628 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005586/1.455, allocations: 2.036 MB / 0.7648 GB, free: 155 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000748/1.456, allocations: 57.92 kB / 0.7649 GB, free: 155 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/1.473, allocations: 13.59 MB / 0.7781 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/1.473, allocations: 7 kB / 0.7782 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/1.492, allocations: 12.24 MB / 0.7901 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004557/1.497, allocations: 1.185 MB / 0.7913 GB, free: 133.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002418/1.499, allocations: 63.05 kB / 0.7913 GB, free: 133.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004419/1.504, allocations: 219.7 kB / 0.7915 GB, free: 133.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009152/1.505, allocations: 188.4 kB / 0.7917 GB, free: 132.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004488/1.505, allocations: 80 kB / 0.7918 GB, free: 132.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.009244/1.514, allocations: 4.482 MB / 0.7962 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.012e-06/1.514, allocations: 3.938 kB / 0.7962 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01096/1.525, allocations: 1.728 MB / 0.7979 GB, free: 126.7 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/1.527, allocations: 193.8 kB / 0.798 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01515/1.542, allocations: 9.476 MB / 0.8073 GB, free: 117.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/1.542, allocations: 0 / 0.8073 GB, free: 117.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005853/1.548, allocations: 3.719 MB / 0.8109 GB, free: 113.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006847/1.555, allocations: 0.7695 MB / 0.8117 GB, free: 112.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02908/1.584, allocations: 16.06 MB / 0.8274 GB, free: 96.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007125/1.591, allocations: 4.887 MB / 0.8321 GB, free: 91.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007806/1.599, allocations: 2.973 MB / 0.835 GB, free: 88.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002537/1.601, allocations: 415.3 kB / 0.8354 GB, free: 88.25 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/1.601, allocations: 0 / 0.8354 GB, free: 88.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.1078/1.709, allocations: 62.88 MB / 0.8968 GB, free: 25.63 MB / 0.5137 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches