Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008364/0.0008366, allocations: 102.6 kB / 16.02 MB, free: 76 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.0009783/0.0009786, allocations: 185.4 kB / 16.92 MB, free: 6.918 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.723/1.723, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.4071/0.4071, allocations: 43.57 MB / 315 MB, free: 9.09 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.0006026/0.0006033, allocations: 24 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1611, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3703/0.5315, allocations: 71.91 MB / 0.5033 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04413/0.5757, allocations: 14.5 MB / 0.5174 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02347/0.5992, allocations: 314.5 kB / 0.5177 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.6025, allocations: 0.5258 MB / 0.5182 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.6128, allocations: 2.283 MB / 0.5205 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.6157, allocations: 0.8142 MB / 0.5213 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01734/0.633, allocations: 8.721 MB / 0.5298 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01163/0.6447, allocations: 6.482 MB / 0.5361 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004332/0.6491, allocations: 1.575 MB / 0.5377 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005405/0.6545, allocations: 2.705 MB / 0.5403 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.6557, allocations: 192 kB / 0.5405 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.6594, allocations: 1.31 MB / 0.5418 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003187/0.6626, allocations: 2.419 MB / 0.5441 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0048/0.6674, allocations: 2.699 MB / 0.5468 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.6807, allocations: 8.969 MB / 0.5555 GB, free: 13.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6808, allocations: 0 / 0.5555 GB, free: 13.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6808, allocations: 0 / 0.5555 GB, free: 13.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004168/0.6812, allocations: 0 / 0.5555 GB, free: 13.04 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01539/0.6966, allocations: 5.377 MB / 0.5608 GB, free: 7.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.6967, allocations: 15.97 kB / 0.5608 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.71, allocations: 2.715 MB / 0.5634 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.7207, allocations: 4.004 MB / 0.5673 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/0.7211, allocations: 308.2 kB / 0.5676 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/0.7228, allocations: 415.7 kB / 0.568 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02657/0.7494, allocations: 13.03 MB / 0.5808 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002167/0.7496, allocations: 67.36 kB / 0.5808 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006166/0.7502, allocations: 195.8 kB / 0.581 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004847/0.7551, allocations: 2.499 MB / 0.5835 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02474/0.7799, allocations: 10.85 MB / 0.5941 GB, free: 4.508 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4089/1.189, allocations: 50.18 MB / 0.6431 GB, free: 106.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/1.2, allocations: 4.55 MB / 0.6475 GB, free: 106.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003346/1.203, allocations: 2.447 MB / 0.6499 GB, free: 106 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/1.215, allocations: 6.74 MB / 0.6565 GB, free: 104.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/1.215, allocations: 54.22 kB / 0.6565 GB, free: 104.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 4.298e-06/1.215, allocations: 0 / 0.6565 GB, free: 104.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.05674/1.272, allocations: 19.39 MB / 0.6755 GB, free: 96.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/1.272, allocations: 229.2 kB / 0.6757 GB, free: 96.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01415/1.286, allocations: 5.912 MB / 0.6814 GB, free: 94.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007779/1.287, allocations: 59.05 kB / 0.6815 GB, free: 94.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004269/1.291, allocations: 4.064 MB / 0.6855 GB, free: 91.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001811/1.293, allocations: 0.7774 MB / 0.6862 GB, free: 90.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/1.295, allocations: 0.6465 MB / 0.6869 GB, free: 90.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.024e-05/1.295, allocations: 303 kB / 0.6872 GB, free: 90.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004655/1.299, allocations: 2.633 MB / 0.6897 GB, free: 89.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006968/1.306, allocations: 7.167 MB / 0.6967 GB, free: 82.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/1.318, allocations: 10.51 MB / 0.707 GB, free: 73.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/1.318, allocations: 47.62 kB / 0.707 GB, free: 73.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02209/1.341, allocations: 10.57 MB / 0.7173 GB, free: 68.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.341, allocations: 72 kB / 0.7174 GB, free: 68.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/1.341, allocations: 160 kB / 0.7176 GB, free: 68.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00287/1.344, allocations: 1.25 MB / 0.7188 GB, free: 67.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006308/1.35, allocations: 1.719 MB / 0.7205 GB, free: 65.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008279/1.358, allocations: 7.913 MB / 0.7282 GB, free: 57.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008579/1.367, allocations: 411.3 kB / 0.7286 GB, free: 57.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002018/1.369, allocations: 463.3 kB / 0.729 GB, free: 56.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (918): * Single equations (assignments): 911 * 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 {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005969/1.375, allocations: 2.693 MB / 0.7317 GB, free: 53.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/1.377, allocations: 493.6 kB / 0.7321 GB, free: 53.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006469/1.383, allocations: 4.037 MB / 0.7361 GB, free: 49.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/1.383, allocations: 20 kB / 0.7361 GB, free: 49.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.383, allocations: 4 kB / 0.7361 GB, free: 49.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/1.383, allocations: 11.97 kB / 0.7361 GB, free: 49.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/1.4, allocations: 9.569 MB / 0.7455 GB, free: 39.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.4, allocations: 4 kB / 0.7455 GB, free: 39.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.401, allocations: 327.8 kB / 0.7458 GB, free: 39.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002548/1.404, allocations: 1 MB / 0.7467 GB, free: 38.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/1.404, allocations: 36 kB / 0.7468 GB, free: 38.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007304/1.411, allocations: 7.238 MB / 0.7539 GB, free: 30.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.411, allocations: 7.938 kB / 0.7539 GB, free: 30.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00963/1.421, allocations: 6.889 MB / 0.7606 GB, free: 23.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002918/1.424, allocations: 0.85 MB / 0.7614 GB, free: 22.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008183/1.425, allocations: 32.88 kB / 0.7614 GB, free: 22.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.427, allocations: 123.2 kB / 0.7616 GB, free: 22.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/1.427, allocations: 120.9 kB / 0.7617 GB, free: 22.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.427, allocations: 55.98 kB / 0.7617 GB, free: 22.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00561/1.433, allocations: 3.778 MB / 0.7654 GB, free: 18.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.433, allocations: 0 / 0.7654 GB, free: 18.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007789/1.441, allocations: 1.296 MB / 0.7667 GB, free: 17.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006245/1.441, allocations: 177.1 kB / 0.7669 GB, free: 17.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009214/1.45, allocations: 6.301 MB / 0.773 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.45, allocations: 4 kB / 0.773 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/1.453, allocations: 1.914 MB / 0.7749 GB, free: 9.219 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008106/1.461, allocations: 0.5976 MB / 0.7755 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0275/1.488, allocations: 14.78 MB / 0.7899 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008154/1.497, allocations: 4.134 MB / 0.7939 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006741/1.503, allocations: 2.316 MB / 0.7962 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.505, allocations: 323.4 kB / 0.7965 GB, free: 3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/1.505, allocations: 0 / 0.7965 GB, free: 3 MB / 0.4981 GB Notification: Performance of Templates: time 0.3944/1.899, allocations: 46.71 MB / 0.8421 GB, free: 161.2 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches