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.001496/0.001496, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001781/0.001782, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247.1 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2112/0.2112, allocations: 46.11 MB / 344.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 80.86 kB / 417.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2394, allocations: 62.44 MB / 480.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.05266/0.2922, allocations: 29.54 MB / 0.4977 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02179/0.314, allocations: 6.668 MB / 0.5043 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008301/0.3224, allocations: 123.8 kB / 0.5044 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3616/0.6841, allocations: 1.234 MB / 0.5056 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008606/0.6928, allocations: 1.616 MB / 0.5072 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.6956, allocations: 460.1 kB / 0.5076 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00919/0.7048, allocations: 3.619 MB / 0.5111 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006153/0.711, allocations: 2.096 MB / 0.5132 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004309/0.7154, allocations: 1.194 MB / 0.5143 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005957/0.7214, allocations: 1.876 MB / 0.5162 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.7234, allocations: 235.8 kB / 0.5164 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.7287, allocations: 0.9521 MB / 0.5173 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004307/0.733, allocations: 1.589 MB / 0.5189 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00661/0.7397, allocations: 1.894 MB / 0.5207 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.7516, allocations: 4.829 MB / 0.5254 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.7516, allocations: 0 / 0.5254 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.7517, allocations: 0 / 0.5254 GB, free: 7.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002758/0.752, allocations: 0 / 0.5254 GB, free: 7.73 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01775/0.7697, allocations: 4.125 MB / 0.5295 GB, free: 4.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.7698, allocations: 10.03 kB / 0.5295 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0219/0.7917, allocations: 3.068 MB / 0.5325 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006478/0.7983, allocations: 1.869 MB / 0.5343 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.7987, allocations: 184.9 kB / 0.5345 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001933/0.8006, allocations: 253.7 kB / 0.5347 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03204/0.8327, allocations: 10.48 MB / 0.545 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002238/0.833, allocations: 29.78 kB / 0.545 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001441/0.8345, allocations: 120 kB / 0.5451 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008405/0.8429, allocations: 2.551 MB / 0.5476 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0358/0.8788, allocations: 9.925 MB / 0.5573 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0931/0.9719, allocations: 34.47 MB / 0.5909 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/0.9912, allocations: 5.18 MB / 0.596 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006238/0.9975, allocations: 2.292 MB / 0.5982 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003196/1.001, allocations: 1.876 MB / 0.6001 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.312e-05/1.001, allocations: 56.55 kB / 0.6001 GB, free: 1.094 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 9.648e-06/1.001, allocations: 0 / 0.6001 GB, free: 1.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.06839/1.069, allocations: 13.98 MB / 0.6138 GB, free: 3.086 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/1.069, allocations: 75.3 kB / 0.6139 GB, free: 3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007095/1.077, allocations: 2.631 MB / 0.6164 GB, free: 356 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008044/1.077, allocations: 53.7 kB / 0.6165 GB, free: 296 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003416/1.081, allocations: 2.634 MB / 0.619 GB, free: 13.65 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002022/1.083, allocations: 0.8448 MB / 0.6199 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002917/1.086, allocations: 1.038 MB / 0.6209 GB, free: 11.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/1.086, allocations: 301.1 kB / 0.6212 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0057/1.092, allocations: 2.216 MB / 0.6233 GB, free: 9.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01055/1.102, allocations: 5.068 MB / 0.6283 GB, free: 2.824 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/1.12, allocations: 7.977 MB / 0.6361 GB, free: 9.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/1.12, allocations: 28 kB / 0.6361 GB, free: 9.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.02845/1.149, allocations: 7.894 MB / 0.6438 GB, free: 1.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/1.149, allocations: 50.5 kB / 0.6439 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/1.149, allocations: 100 kB / 0.644 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004819/1.154, allocations: 0.7931 MB / 0.6447 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008526/1.163, allocations: 1.189 MB / 0.6459 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/1.174, allocations: 4.519 MB / 0.6503 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007503/1.181, allocations: 295.7 kB / 0.6506 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/1.183, allocations: 300 kB / 0.6509 GB, free: 10.43 MB / 0.4981 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.007608/1.191, allocations: 2.011 MB / 0.6528 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000921/1.192, allocations: 260.7 kB / 0.6531 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.207, allocations: 4.732 MB / 0.6577 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/1.207, allocations: 47.98 kB / 0.6577 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.207, allocations: 96 / 0.6577 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-05/1.207, allocations: 19.84 kB / 0.6578 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0365/1.244, allocations: 10.54 MB / 0.6681 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/1.244, allocations: 8 kB / 0.6681 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003608/1.247, allocations: 363.5 kB / 0.6684 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004466/1.252, allocations: 0.6561 MB / 0.6691 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007066/1.253, allocations: 47.94 kB / 0.6691 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009373/1.262, allocations: 3.9 MB / 0.6729 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.048e-05/1.262, allocations: 11.94 kB / 0.6729 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/1.283, allocations: 7.129 MB / 0.6799 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.284, allocations: 313.6 kB / 0.6802 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/1.285, allocations: 35.98 kB / 0.6802 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00268/1.288, allocations: 143.8 kB / 0.6804 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006876/1.289, allocations: 133 kB / 0.6805 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/1.289, allocations: 66.95 kB / 0.6805 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004918/1.294, allocations: 1.619 MB / 0.6821 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.493e-06/1.294, allocations: 0 / 0.6821 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008826/1.303, allocations: 0.9062 MB / 0.683 GB, free: 9.082 MB / 0.5294 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.001116/1.304, allocations: 185.6 kB / 0.6832 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0271/1.331, allocations: 8.683 MB / 0.6917 GB, free: 228 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/1.331, allocations: 0 / 0.6917 GB, free: 228 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005893/1.337, allocations: 2.028 MB / 0.6936 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/1.341, allocations: 368 kB / 0.694 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03414/1.375, allocations: 11.88 MB / 0.7056 GB, free: 1.836 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3159/1.691, allocations: 3.164 MB / 0.7087 GB, free: 196.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1.693, allocations: 246.5 kB / 0.7089 GB, free: 196.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.833e-06/1.694, allocations: 0 / 0.7089 GB, free: 196.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1542/1.848, allocations: 70.06 MB / 0.7773 GB, free: 147.9 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches