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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000961/0.000961, allocations: 92.94 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1794/0.1794, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.394e-05/2.397e-05, allocations: 7.984 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.0967, allocations: 63.24 MB / 0.5114 GB, free: 6.777 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3864/0.4831, allocations: 109.1 MB / 0.6179 GB, free: 1.113 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4834, allocations: 78.64 kB / 0.6179 GB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2654/0.7488, allocations: 110.7 MB / 0.726 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7489, allocations: 4 kB / 0.726 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002571/0.7491, allocations: 104 kB / 0.7261 GB, free: 10.14 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01731/0.7664, allocations: 5.203 MB / 0.7312 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.7665, allocations: 8.031 kB / 0.7312 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02596/0.7925, allocations: 6.873 MB / 0.7379 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/0.809, allocations: 5.755 MB / 0.7436 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004495/0.8095, allocations: 386.1 kB / 0.7439 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002531/0.812, allocations: 0.4998 MB / 0.7444 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3031/1.115, allocations: 12.33 MB / 0.7564 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002363/1.115, allocations: 76.88 kB / 0.7565 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007109/1.116, allocations: 246.8 kB / 0.7568 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0016/1.118, allocations: 1.132 MB / 0.7579 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/1.139, allocations: 9.678 MB / 0.7673 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04815/1.187, allocations: 56.39 MB / 0.8224 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008869/1.196, allocations: 4.241 MB / 0.8265 GB, free: 78.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/1.198, allocations: 1.908 MB / 0.8284 GB, free: 77.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008129/1.206, allocations: 5.646 MB / 0.8339 GB, free: 74.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/1.206, allocations: 55.69 kB / 0.834 GB, free: 74.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=150): time 4.258e-06/1.206, allocations: 0 / 0.834 GB, free: 74.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=162): time 0.02839/1.234, allocations: 12.94 MB / 0.8466 GB, free: 69.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.234, allocations: 226.5 kB / 0.8468 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006733/1.241, allocations: 4.967 MB / 0.8517 GB, free: 67.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001798/1.241, allocations: 45.44 kB / 0.8517 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001754/1.243, allocations: 3.87 MB / 0.8555 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004897/1.244, allocations: 0.6557 MB / 0.8561 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/1.244, allocations: 130.8 kB / 0.8562 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000284/1.244, allocations: 0.58 MB / 0.8568 GB, free: 63.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/1.246, allocations: 1.93 MB / 0.8587 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003496/1.25, allocations: 6.21 MB / 0.8648 GB, free: 56.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003552/1.253, allocations: 3.452 MB / 0.8681 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.613e-05/1.254, allocations: 44.28 kB / 0.8682 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.0111/1.265, allocations: 8.273 MB / 0.8763 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/1.265, allocations: 70.97 kB / 0.8763 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/1.265, allocations: 157.5 kB / 0.8765 GB, free: 52.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/1.266, allocations: 0.5966 MB / 0.8771 GB, free: 51.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/1.27, allocations: 1.502 MB / 0.8785 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004866/1.275, allocations: 5.705 MB / 0.8841 GB, free: 46.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/1.279, allocations: 339.9 kB / 0.8844 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004756/1.28, allocations: 423.2 kB / 0.8848 GB, free: 46.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 804 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006825/1.28, allocations: 0.6317 MB / 0.8854 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/1.281, allocations: 469.9 kB / 0.8859 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/1.284, allocations: 2.406 MB / 0.8882 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/1.284, allocations: 23.95 kB / 0.8883 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.284, allocations: 4 kB / 0.8883 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.284, allocations: 10.98 kB / 0.8883 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009528/1.294, allocations: 7.213 MB / 0.8953 GB, free: 37.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/1.294, allocations: 10.44 kB / 0.8953 GB, free: 37.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.295, allocations: 257.4 kB / 0.8956 GB, free: 37.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008531/1.296, allocations: 356.2 kB / 0.8959 GB, free: 36.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/1.296, allocations: 35.91 kB / 0.8959 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004254/1.3, allocations: 5.057 MB / 0.9009 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.3, allocations: 4 kB / 0.9009 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/1.306, allocations: 5.082 MB / 0.9058 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/1.307, allocations: 0.5269 MB / 0.9064 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004017/1.308, allocations: 28 kB / 0.9064 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.309, allocations: 65.72 kB / 0.9065 GB, free: 26.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/1.309, allocations: 104.2 kB / 0.9066 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-05/1.309, allocations: 44 kB / 0.9066 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005176/1.314, allocations: 3.536 MB / 0.91 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/1.314, allocations: 7.938 kB / 0.9101 GB, free: 23.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005862/1.32, allocations: 1.117 MB / 0.9111 GB, free: 22.24 MB / 0.5261 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 () * 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 (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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004344/1.321, allocations: 168.9 kB / 0.9113 GB, free: 22.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006474/1.327, allocations: 4.898 MB / 0.9161 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.327, allocations: 0.75 kB / 0.9161 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/1.329, allocations: 1.398 MB / 0.9175 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/1.332, allocations: 0.6006 MB / 0.918 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/1.35, allocations: 8.692 MB / 0.9265 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005234/1.356, allocations: 3.98 MB / 0.9304 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004865/1.36, allocations: 2.132 MB / 0.9325 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007017/1.361, allocations: 297.6 kB / 0.9328 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of SimCode: time 7.52e-07/1.361, allocations: 0 / 0.9328 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of Templates: time 0.3761/1.737, allocations: 40.03 MB / 0.9719 GB, free: 109.6 MB / 0.5417 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches