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.001125/0.001126, allocations: 109.1 kB / 17.04 MB, free: 5.797 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.001117/0.001117, allocations: 195 kB / 17.98 MB, free: 5.016 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.431/1.431, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2048/0.2048, allocations: 43.52 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.001625/0.001625, allocations: 69.41 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1146, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01956/0.1342, allocations: 14.22 MB / 456.2 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1466, allocations: 4.661 MB / 460.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.1498, allocations: 91.75 kB / 460.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007816/0.1576, allocations: 3.769 MB / 464.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006981/0.1647, allocations: 2.416 MB / 467.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.1676, allocations: 1.01 MB / 468.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01022/0.1778, allocations: 6.029 MB / 474.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006111/0.184, allocations: 4.738 MB / 478.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.1879, allocations: 2.118 MB / 481 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/0.1924, allocations: 2.882 MB / 483.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.1939, allocations: 464 kB / 484.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.1974, allocations: 1.479 MB / 485.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003046/0.2004, allocations: 2.681 MB / 488.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003926/0.2044, allocations: 3.025 MB / 491.5 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.2145, allocations: 9.643 MB / 0.4894 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2145, allocations: 4 kB / 0.4894 GB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2145, allocations: 0 / 0.4894 GB, free: 10.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002847/0.2148, allocations: 4 kB / 0.4894 GB, free: 10.67 MB / 382.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.01409/0.2289, allocations: 6.55 MB / 0.4958 GB, free: 4.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.229, allocations: 11.89 kB / 0.4959 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/0.2409, allocations: 2.661 MB / 0.4985 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009536/0.2504, allocations: 4.074 MB / 0.5024 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.2508, allocations: 304.2 kB / 0.5027 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/0.2521, allocations: 427.5 kB / 0.5031 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02162/0.2737, allocations: 13 MB / 0.5158 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.2739, allocations: 59.47 kB / 0.5159 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005346/0.2745, allocations: 199.8 kB / 0.5161 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003828/0.2783, allocations: 2.495 MB / 0.5185 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/0.2986, allocations: 10.84 MB / 0.5291 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2261/0.5247, allocations: 49.93 MB / 0.5779 GB, free: 44.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009256/0.534, allocations: 4.556 MB / 0.5823 GB, free: 41.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/0.5365, allocations: 2.457 MB / 0.5847 GB, free: 40.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.5471, allocations: 6.731 MB / 0.5913 GB, free: 35.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.5472, allocations: 55.59 kB / 0.5913 GB, free: 34.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=183): time 5.71e-06/0.5472, allocations: 0 / 0.5913 GB, free: 34.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=195): time 0.04315/0.5904, allocations: 19.41 MB / 0.6103 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.5905, allocations: 231.1 kB / 0.6105 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007265/0.5977, allocations: 5.925 MB / 0.6163 GB, free: 9.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/0.598, allocations: 53.61 kB / 0.6163 GB, free: 9.098 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00191/0.5999, allocations: 4.061 MB / 0.6203 GB, free: 5.043 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006676/0.6006, allocations: 0.7692 MB / 0.6211 GB, free: 4.281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00203/0.6026, allocations: 1.531 MB / 0.6225 GB, free: 2.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.6027, allocations: 301.1 kB / 0.6228 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/0.6062, allocations: 2.638 MB / 0.6254 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007806/0.614, allocations: 7.159 MB / 0.6324 GB, free: 6.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/0.6271, allocations: 10.52 MB / 0.6427 GB, free: 9.668 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001442/0.6273, allocations: 44 kB / 0.6427 GB, free: 9.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02193/0.6493, allocations: 10.58 MB / 0.653 GB, free: 15.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.6496, allocations: 72 kB / 0.6531 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002913/0.6499, allocations: 160 kB / 0.6533 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003329/0.6532, allocations: 1.24 MB / 0.6545 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/0.6589, allocations: 1.723 MB / 0.6562 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.6694, allocations: 8.49 MB / 0.6645 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005811/0.6753, allocations: 407.4 kB / 0.6648 GB, free: 2.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/0.6764, allocations: 452.1 kB / 0.6653 GB, free: 2.23 MB / 462.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.005107/0.6815, allocations: 2.709 MB / 0.6679 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/0.6827, allocations: 485.7 kB / 0.6684 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007675/0.6904, allocations: 4.037 MB / 0.6723 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.942e-05/0.6904, allocations: 24 kB / 0.6723 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/0.6905, allocations: 7.938 kB / 0.6724 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.6905, allocations: 15.91 kB / 0.6724 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/0.7107, allocations: 9.525 MB / 0.6817 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/0.7107, allocations: 4 kB / 0.6817 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00185/0.7126, allocations: 327.8 kB / 0.682 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/0.7155, allocations: 1 MB / 0.683 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004099/0.716, allocations: 36.17 kB / 0.683 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009717/0.7257, allocations: 7.829 MB / 0.6906 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7257, allocations: 7.938 kB / 0.6907 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.7371, allocations: 6.882 MB / 0.6974 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002567/0.7397, allocations: 0.8344 MB / 0.6982 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/0.7408, allocations: 32 kB / 0.6982 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/0.7431, allocations: 119.8 kB / 0.6983 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003538/0.7434, allocations: 117.6 kB / 0.6984 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.7436, allocations: 48 kB / 0.6985 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006812/0.7504, allocations: 3.786 MB / 0.7022 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7504, allocations: 0 / 0.7022 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006747/0.7572, allocations: 1.298 MB / 0.7035 GB, free: 10.72 MB / 0.4981 GB 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.0006612/0.7579, allocations: 162.5 kB / 0.7036 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01079/0.7687, allocations: 6.35 MB / 0.7098 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.7687, allocations: 0 / 0.7098 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003015/0.7717, allocations: 1.898 MB / 0.7117 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005966/0.7777, allocations: 0.6433 MB / 0.7123 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/0.8018, allocations: 12.03 MB / 0.724 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006424/0.8082, allocations: 4.127 MB / 0.7281 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.1854/0.9937, allocations: 2.313 MB / 0.7303 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/0.995, allocations: 319 kB / 0.7306 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.282e-06/0.995, allocations: 0 / 0.7306 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.07603/1.071, allocations: 42.21 MB / 0.7719 GB, free: 152.7 MB / 0.5137 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches