Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008406/0.0008405, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2182/0.2182, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09781, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4322, allocations: 107.6 MB / 0.5839 GB, free: 8.445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4325, allocations: 78.09 kB / 0.5839 GB, free: 8.406 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1962/0.6288, allocations: 73.27 MB / 0.6555 GB, free: 7.055 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6289, allocations: 0 / 0.6555 GB, free: 7.055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002081/0.6291, allocations: 72 kB / 0.6556 GB, free: 6.984 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01128/0.6404, allocations: 3.614 MB / 0.6591 GB, free: 3.305 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.6404, allocations: 12.03 kB / 0.6591 GB, free: 3.293 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009671/0.6501, allocations: 2.082 MB / 0.6611 GB, free: 1.203 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.6617, allocations: 4.12 MB / 0.6652 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/0.6621, allocations: 262.9 kB / 0.6654 GB, free: 12.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/0.6641, allocations: 347.8 kB / 0.6658 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01996/0.6841, allocations: 8.996 MB / 0.6745 GB, free: 2.426 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001862/0.6844, allocations: 67.41 kB / 0.6746 GB, free: 2.359 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008539/0.6852, allocations: 179.9 kB / 0.6748 GB, free: 2.184 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001196/0.6864, allocations: 0.8799 MB / 0.6756 GB, free: 1.301 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.7004, allocations: 7.273 MB / 0.6827 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2686/0.969, allocations: 42.96 MB / 0.7247 GB, free: 98.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007824/0.9769, allocations: 3.298 MB / 0.7279 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008238/0.9852, allocations: 4.438 MB / 0.7322 GB, free: 95.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.9853, allocations: 43.81 kB / 0.7323 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=121): time 4.518e-06/0.9853, allocations: 0 / 0.7323 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=129): time 0.02737/1.013, allocations: 11.68 MB / 0.7437 GB, free: 92.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/1.013, allocations: 170 kB / 0.7439 GB, free: 92.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005852/1.019, allocations: 3.334 MB / 0.7471 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000227/1.019, allocations: 46.97 kB / 0.7472 GB, free: 92.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/1.021, allocations: 2.752 MB / 0.7498 GB, free: 90.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005629/1.021, allocations: 0.528 MB / 0.7504 GB, free: 90.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/1.022, allocations: 107.7 kB / 0.7505 GB, free: 90.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003981/1.022, allocations: 0.5275 MB / 0.751 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/1.024, allocations: 1.679 MB / 0.7526 GB, free: 90.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003701/1.028, allocations: 5.095 MB / 0.7576 GB, free: 85.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/1.032, allocations: 2.869 MB / 0.7604 GB, free: 85.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.032, allocations: 36.66 kB / 0.7604 GB, free: 85.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01015/1.042, allocations: 6.672 MB / 0.7669 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/1.043, allocations: 60.12 kB / 0.767 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002103/1.043, allocations: 120.1 kB / 0.7671 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000638/1.043, allocations: 339.2 kB / 0.7674 GB, free: 84.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004/1.047, allocations: 1.279 MB / 0.7687 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.05, allocations: 2.337 MB / 0.771 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/1.054, allocations: 292.9 kB / 0.7712 GB, free: 82.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008652/1.055, allocations: 339.4 kB / 0.7716 GB, free: 82.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (666): * Single equations (assignments): 662 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004026/1.059, allocations: 1.787 MB / 0.7733 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008312/1.06, allocations: 313.6 kB / 0.7736 GB, free: 81.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/1.065, allocations: 2.362 MB / 0.7759 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.675e-05/1.065, allocations: 21.95 kB / 0.7759 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.065, allocations: 3.281 kB / 0.7759 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/1.065, allocations: 9.641 kB / 0.776 GB, free: 80.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/1.078, allocations: 5.941 MB / 0.7818 GB, free: 78.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/1.078, allocations: 2.469 kB / 0.7818 GB, free: 78.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/1.079, allocations: 172 kB / 0.7819 GB, free: 78.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/1.081, allocations: 0.7155 MB / 0.7826 GB, free: 78.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/1.081, allocations: 26.58 kB / 0.7826 GB, free: 78.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005072/1.086, allocations: 4.556 MB / 0.7871 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.086, allocations: 0 / 0.7871 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006159/1.092, allocations: 4.463 MB / 0.7915 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/1.094, allocations: 0.5377 MB / 0.792 GB, free: 73.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007971/1.095, allocations: 22.22 kB / 0.792 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/1.096, allocations: 72.47 kB / 0.7921 GB, free: 73.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/1.097, allocations: 72.45 kB / 0.7921 GB, free: 73.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.881e-05/1.097, allocations: 36.16 kB / 0.7922 GB, free: 73.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003471/1.1, allocations: 2.324 MB / 0.7944 GB, free: 73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/1.1, allocations: 0 / 0.7944 GB, free: 73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005544/1.106, allocations: 0.8225 MB / 0.7952 GB, free: 72.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000524/1.106, allocations: 157.8 kB / 0.7954 GB, free: 72.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005957/1.112, allocations: 3.996 MB / 0.7993 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.112, allocations: 4.688 kB / 0.7993 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/1.114, allocations: 1.108 MB / 0.8004 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.115, allocations: 368.4 kB / 0.8007 GB, free: 70.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.128, allocations: 8.591 MB / 0.8091 GB, free: 62.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/1.13, allocations: 2.864 MB / 0.8119 GB, free: 60.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004019/1.134, allocations: 1.663 MB / 0.8135 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/1.135, allocations: 207.2 kB / 0.8137 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of SimCode: time 1.764e-06/1.135, allocations: 0 / 0.8137 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.04833/1.183, allocations: 29.13 MB / 0.8422 GB, free: 35.35 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches