Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 116.4 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 211.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 75.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3354, allocations: 62.43 MB / 0.5317 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01376/0.3492, allocations: 12.66 MB / 0.544 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.3593, allocations: 4.5 MB / 0.5484 GB, free: 344 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.362, allocations: 85.47 kB / 0.5485 GB, free: 328 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00706/0.3691, allocations: 3.711 MB / 0.5521 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006698/0.3759, allocations: 2.182 MB / 0.5543 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.3786, allocations: 0.9982 MB / 0.5552 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009589/0.3882, allocations: 6.046 MB / 0.5611 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00661/0.3949, allocations: 4.557 MB / 0.5656 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/0.3986, allocations: 1.959 MB / 0.5675 GB, free: 13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004227/0.4029, allocations: 2.613 MB / 0.5701 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.4043, allocations: 408 kB / 0.5704 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003579/0.4079, allocations: 1.439 MB / 0.5719 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003154/0.4111, allocations: 2.443 MB / 0.5742 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005133/0.4163, allocations: 2.707 MB / 0.5769 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.4306, allocations: 8.623 MB / 0.5853 GB, free: 10.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.4307, allocations: 4 kB / 0.5853 GB, free: 10.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4307, allocations: 4 kB / 0.5853 GB, free: 10.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003488/0.431, allocations: 0 / 0.5853 GB, free: 10.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01658/0.4477, allocations: 6.008 MB / 0.5912 GB, free: 4.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4477, allocations: 12.03 kB / 0.5912 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/0.4601, allocations: 2.54 MB / 0.5937 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008864/0.469, allocations: 3.742 MB / 0.5973 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.4693, allocations: 279.5 kB / 0.5976 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/0.4708, allocations: 379.7 kB / 0.598 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02325/0.494, allocations: 11.61 MB / 0.6093 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002665/0.4943, allocations: 59.42 kB / 0.6093 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/0.4957, allocations: 179.8 kB / 0.6095 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003821/0.4995, allocations: 2.154 MB / 0.6116 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01992/0.5195, allocations: 9.625 MB / 0.621 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06031/0.5798, allocations: 45.77 MB / 0.6657 GB, free: 6.07 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.5904, allocations: 3.912 MB / 0.6695 GB, free: 2.008 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/0.5934, allocations: 2.135 MB / 0.6716 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.6047, allocations: 5.866 MB / 0.6774 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.6048, allocations: 48.11 kB / 0.6774 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.028e-06/0.6048, allocations: 3.938 kB / 0.6774 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04946/0.6542, allocations: 17.37 MB / 0.6944 GB, free: 8.246 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.6544, allocations: 234.1 kB / 0.6946 GB, free: 7.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009535/0.6639, allocations: 5.619 MB / 0.7001 GB, free: 2.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003824/0.6644, allocations: 49.7 kB / 0.7001 GB, free: 2.309 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003277/0.6677, allocations: 3.709 MB / 0.7037 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.6687, allocations: 0.656 MB / 0.7044 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003201/0.6719, allocations: 1.415 MB / 0.7058 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.6721, allocations: 305.1 kB / 0.7061 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/0.6757, allocations: 2.285 MB / 0.7083 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006727/0.6824, allocations: 6.551 MB / 0.7147 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2575/0.9399, allocations: 9.511 MB / 0.724 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.9401, allocations: 42.66 kB / 0.724 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01511/0.9552, allocations: 9.573 MB / 0.7334 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.465e-05/0.9553, allocations: 72 kB / 0.7334 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/0.9555, allocations: 147.8 kB / 0.7336 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/0.9582, allocations: 1.234 MB / 0.7348 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004299/0.9625, allocations: 1.555 MB / 0.7363 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008284/0.9708, allocations: 8.457 MB / 0.7446 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004785/0.9756, allocations: 374.3 kB / 0.7449 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000841/0.9765, allocations: 420 kB / 0.7453 GB, free: 142.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 (836): * Single equations (assignments): 829 * 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%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003209/0.9797, allocations: 2.464 MB / 0.7477 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007297/0.9805, allocations: 459.5 kB / 0.7482 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005286/0.9857, allocations: 3.389 MB / 0.7515 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.9858, allocations: 22.81 kB / 0.7515 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.9858, allocations: 4 kB / 0.7515 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.9858, allocations: 10.81 kB / 0.7515 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.9977, allocations: 8.189 MB / 0.7595 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.9978, allocations: 4 kB / 0.7595 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.999, allocations: 251.6 kB / 0.7597 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/1.001, allocations: 1.009 MB / 0.7607 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/1.002, allocations: 32 kB / 0.7608 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006985/1.009, allocations: 7.794 MB / 0.7684 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.009, allocations: 4 kB / 0.7684 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007089/1.016, allocations: 5.867 MB / 0.7741 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.017, allocations: 0.5146 MB / 0.7746 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006047/1.017, allocations: 31.92 kB / 0.7746 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/1.019, allocations: 99.88 kB / 0.7747 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/1.019, allocations: 92.81 kB / 0.7748 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.019, allocations: 43.94 kB / 0.7749 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004279/1.024, allocations: 3.596 MB / 0.7784 GB, free: 109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/1.024, allocations: 0 / 0.7784 GB, free: 109 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005224/1.029, allocations: 1.151 MB / 0.7795 GB, free: 107.9 MB / 0.5606 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 (120): * Single equations (assignments): 115 * 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.0004119/1.029, allocations: 155.9 kB / 0.7797 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006849/1.036, allocations: 5.557 MB / 0.7851 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.036, allocations: 4 kB / 0.7851 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/1.038, allocations: 1.623 MB / 0.7867 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/1.042, allocations: 0.5912 MB / 0.7872 GB, free: 99.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.056, allocations: 11.23 MB / 0.7982 GB, free: 88.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/1.059, allocations: 3.748 MB / 0.8019 GB, free: 84.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.06, allocations: 339.4 kB / 0.8022 GB, free: 84.57 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/1.06, allocations: 0 / 0.8022 GB, free: 84.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.1188/1.179, allocations: 112.4 MB / 0.912 GB, free: 4.184 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches