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.001805/0.001805, allocations: 111.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002277/0.002277, allocations: 209.8 kB / 18.92 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.552/2.552, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4384/0.4384, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003051/0.003051, allocations: 72.78 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2447, allocations: 62.45 MB / 480.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.6131/0.8579, allocations: 64.72 MB / 0.5321 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06739/0.9254, allocations: 12.91 MB / 0.5447 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02813/0.9536, allocations: 283.8 kB / 0.545 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02639/0.98, allocations: 3.587 MB / 0.5485 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01554/0.9957, allocations: 2.033 MB / 0.5505 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009225/1.005, allocations: 0.9425 MB / 0.5514 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02956/1.035, allocations: 6.453 MB / 0.5577 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01776/1.052, allocations: 4.807 MB / 0.5624 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/1.063, allocations: 1.99 MB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007852/1.071, allocations: 2.921 MB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002414/1.074, allocations: 411.9 kB / 0.5676 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00652/1.08, allocations: 1.459 MB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006137/1.086, allocations: 2.463 MB / 0.5714 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008067/1.095, allocations: 2.742 MB / 0.5741 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01486/1.109, allocations: 6.849 MB / 0.5808 GB, free: 216 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/1.11, allocations: 0 / 0.5808 GB, free: 216 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.625e-06/1.11, allocations: 3.938 kB / 0.5808 GB, free: 212 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003507/1.11, allocations: 0 / 0.5808 GB, free: 212 kB / 414.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.04216/1.152, allocations: 6.008 MB / 0.5866 GB, free: 10.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.059e-05/1.152, allocations: 12.03 kB / 0.5866 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03548/1.188, allocations: 2.536 MB / 0.5891 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02442/1.212, allocations: 3.68 MB / 0.5927 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004406/1.213, allocations: 275.7 kB / 0.593 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002261/1.215, allocations: 375.7 kB / 0.5933 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07284/1.288, allocations: 11.62 MB / 0.6047 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005021/1.288, allocations: 59.42 kB / 0.6047 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002391/1.291, allocations: 179.8 kB / 0.6049 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01173/1.303, allocations: 2.147 MB / 0.607 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06787/1.371, allocations: 9.621 MB / 0.6164 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.168/1.539, allocations: 45.96 MB / 0.6613 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03446/1.573, allocations: 3.926 MB / 0.6651 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006043/1.579, allocations: 2.131 MB / 0.6672 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04154/1.621, allocations: 5.882 MB / 0.6729 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.488e-05/1.621, allocations: 51.06 kB / 0.673 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 9.257e-06/1.621, allocations: 0 / 0.673 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.1469/1.768, allocations: 17.35 MB / 0.6899 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002383/1.768, allocations: 230.2 kB / 0.6902 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02822/1.797, allocations: 5.615 MB / 0.6956 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006135/1.797, allocations: 49.7 kB / 0.6957 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005994/1.803, allocations: 3.709 MB / 0.6993 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.805, allocations: 0.6599 MB / 0.7 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005723/1.811, allocations: 1.408 MB / 0.7013 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.811, allocations: 305.1 kB / 0.7016 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007714/1.819, allocations: 2.289 MB / 0.7039 GB, free: 15.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01847/1.837, allocations: 6.559 MB / 0.7103 GB, free: 6.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5414/2.379, allocations: 9.503 MB / 0.7195 GB, free: 186.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003419/2.379, allocations: 45.47 kB / 0.7196 GB, free: 186.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.05313/2.432, allocations: 9.585 MB / 0.7289 GB, free: 183.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003327/2.433, allocations: 70.94 kB / 0.729 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005161/2.433, allocations: 151.6 kB / 0.7292 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007707/2.441, allocations: 1.236 MB / 0.7304 GB, free: 183.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/2.452, allocations: 1.562 MB / 0.7319 GB, free: 183.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/2.471, allocations: 8.459 MB / 0.7402 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01095/2.482, allocations: 373 kB / 0.7405 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002358/2.485, allocations: 419.4 kB / 0.7409 GB, free: 178.4 MB / 0.545 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.008475/2.493, allocations: 2.459 MB / 0.7433 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/2.495, allocations: 451 kB / 0.7437 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/2.51, allocations: 3.396 MB / 0.7471 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.837e-05/2.51, allocations: 26.73 kB / 0.7471 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.382e-05/2.51, allocations: 7.562 kB / 0.7471 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.631e-05/2.51, allocations: 9.031 kB / 0.7471 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0457/2.556, allocations: 8.204 MB / 0.7551 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/2.556, allocations: 0 / 0.7551 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/2.559, allocations: 257.8 kB / 0.7554 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005481/2.564, allocations: 1.02 MB / 0.7563 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004787/2.565, allocations: 27.25 kB / 0.7564 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/2.589, allocations: 7.798 MB / 0.764 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/2.589, allocations: 4 kB / 0.764 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0244/2.613, allocations: 5.859 MB / 0.7697 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006728/2.62, allocations: 0.5123 MB / 0.7702 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002313/2.622, allocations: 35.94 kB / 0.7702 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008908/2.631, allocations: 88.66 kB / 0.7703 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/2.632, allocations: 88.88 kB / 0.7704 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00055/2.633, allocations: 54.89 kB / 0.7705 GB, free: 159 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01142/2.645, allocations: 3.6 MB / 0.774 GB, free: 155.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.393e-06/2.645, allocations: 0 / 0.774 GB, free: 155.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01247/2.657, allocations: 1.144 MB / 0.7751 GB, free: 154.3 MB / 0.545 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.0009336/2.658, allocations: 159.7 kB / 0.7753 GB, free: 154.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01542/2.674, allocations: 5.942 MB / 0.7811 GB, free: 148.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/2.674, allocations: 1.203 kB / 0.7811 GB, free: 148.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004063/2.678, allocations: 1.616 MB / 0.7826 GB, free: 146.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0175/2.695, allocations: 0.6096 MB / 0.7832 GB, free: 146 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05287/2.748, allocations: 13.51 MB / 0.7964 GB, free: 132.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01891/2.767, allocations: 3.755 MB / 0.8001 GB, free: 128.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/2.769, allocations: 339.4 kB / 0.8004 GB, free: 128.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.353e-06/2.769, allocations: 1.969 kB / 0.8004 GB, free: 128.3 MB / 0.545 GB Notification: Performance of Templates: time 0.2892/3.059, allocations: 111.6 MB / 0.9094 GB, free: 16.75 MB / 0.545 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