Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 199.8 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 75.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3373, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01388/0.3512, allocations: 12.27 MB / 0.543 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008938/0.3602, allocations: 3.94 MB / 0.5468 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.3625, allocations: 61.16 kB / 0.5469 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003125/0.3657, allocations: 1.316 MB / 0.5482 GB, free: 32 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.3702, allocations: 1.756 MB / 0.5499 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.3716, allocations: 495 kB / 0.5504 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005252/0.3769, allocations: 3.615 MB / 0.5539 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/0.3799, allocations: 2.013 MB / 0.5559 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.3819, allocations: 1.191 MB / 0.557 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.3845, allocations: 1.713 MB / 0.5587 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007738/0.3853, allocations: 239.9 kB / 0.5589 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.3875, allocations: 0.9322 MB / 0.5598 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001595/0.3891, allocations: 1.582 MB / 0.5614 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.3917, allocations: 1.875 MB / 0.5632 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006428/0.3981, allocations: 6.175 MB / 0.5692 GB, free: 10.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3981, allocations: 0 / 0.5692 GB, free: 10.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3981, allocations: 0 / 0.5692 GB, free: 10.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001808/0.3983, allocations: 3.938 kB / 0.5692 GB, free: 10.44 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008202/0.4065, allocations: 4.125 MB / 0.5733 GB, free: 6.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4066, allocations: 12.03 kB / 0.5733 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.4169, allocations: 3.068 MB / 0.5763 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004203/0.4212, allocations: 1.868 MB / 0.5781 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.4214, allocations: 197 kB / 0.5783 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009109/0.4223, allocations: 248 kB / 0.5785 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.4378, allocations: 10.48 MB / 0.5888 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.803e-05/0.438, allocations: 31.72 kB / 0.5888 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003793/0.4384, allocations: 119.8 kB / 0.5889 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004232/0.4426, allocations: 2.553 MB / 0.5914 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.462, allocations: 9.923 MB / 0.6011 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05406/0.5161, allocations: 34.26 MB / 0.6345 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009688/0.5258, allocations: 5.183 MB / 0.6396 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/0.5293, allocations: 2.305 MB / 0.6419 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001735/0.531, allocations: 1.88 MB / 0.6437 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.5311, allocations: 56.77 kB / 0.6437 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 7.243e-06/0.5311, allocations: 0 / 0.6437 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03356/0.5647, allocations: 13.99 MB / 0.6574 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.5648, allocations: 85.28 kB / 0.6575 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004417/0.5693, allocations: 2.623 MB / 0.66 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004461/0.5697, allocations: 53.7 kB / 0.6601 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001859/0.5716, allocations: 2.628 MB / 0.6627 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.5727, allocations: 0.8518 MB / 0.6635 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/0.5746, allocations: 1.044 MB / 0.6645 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.5747, allocations: 301.1 kB / 0.6648 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003218/0.5779, allocations: 2.2 MB / 0.667 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005328/0.5833, allocations: 5.079 MB / 0.6719 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009819/0.5931, allocations: 7.965 MB / 0.6797 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.5932, allocations: 28 kB / 0.6797 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.0133/0.6065, allocations: 7.887 MB / 0.6874 GB, free: 12.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.639e-05/0.6067, allocations: 52.06 kB / 0.6875 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.6068, allocations: 100 kB / 0.6876 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/0.609, allocations: 0.7772 MB / 0.6883 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/0.6128, allocations: 1.201 MB / 0.6895 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.6188, allocations: 4.516 MB / 0.6939 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/0.6221, allocations: 295.8 kB / 0.6942 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007812/0.6229, allocations: 307.9 kB / 0.6945 GB, free: 5.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003295/0.6262, allocations: 2.008 MB / 0.6964 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000496/0.6267, allocations: 260.6 kB / 0.6967 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007771/0.6345, allocations: 4.721 MB / 0.7013 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.967e-05/0.6346, allocations: 47.98 kB / 0.7013 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.6346, allocations: 3.938 kB / 0.7014 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.6346, allocations: 11.95 kB / 0.7014 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/0.6515, allocations: 10.49 MB / 0.7116 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/0.6515, allocations: 12 kB / 0.7116 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.6531, allocations: 363.4 kB / 0.712 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002084/0.6552, allocations: 0.6599 MB / 0.7126 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/0.6554, allocations: 44 kB / 0.7127 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2576/0.913, allocations: 3.896 MB / 0.7165 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.488e-05/0.9131, allocations: 12.66 kB / 0.7165 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009256/0.9223, allocations: 7.128 MB / 0.7234 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/0.9229, allocations: 314.7 kB / 0.7237 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/0.9233, allocations: 39.75 kB / 0.7238 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.9243, allocations: 147.9 kB / 0.7239 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.9247, allocations: 130.5 kB / 0.724 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.9248, allocations: 66.03 kB / 0.7241 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001951/0.9268, allocations: 1.616 MB / 0.7257 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9268, allocations: 5.984 kB / 0.7257 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003131/0.9299, allocations: 0.9112 MB / 0.7266 GB, free: 159.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003709/0.9303, allocations: 181.5 kB / 0.7267 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005955/0.9363, allocations: 5.394 MB / 0.732 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.9363, allocations: 3.469 kB / 0.732 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.9384, allocations: 2.023 MB / 0.734 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.9401, allocations: 361.5 kB / 0.7343 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.9517, allocations: 9.32 MB / 0.7434 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/0.9542, allocations: 3.166 MB / 0.7465 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003413/0.9577, allocations: 1.965 MB / 0.7484 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006607/0.9584, allocations: 195.4 kB / 0.7486 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.9584, allocations: 0 / 0.7486 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.0423/1.001, allocations: 28.63 MB / 0.7766 GB, free: 116.7 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches