Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 198 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008239/0.0008238, allocations: 93.91 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3362/0.3362, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 12 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2841, allocations: 63.24 MB / 0.5192 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.419, allocations: 110.4 MB / 0.627 GB, free: 8.992 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.4193, allocations: 79.97 kB / 0.6271 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4085/0.8278, allocations: 74.96 MB / 0.7003 GB, free: 103.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.8279, allocations: 0 / 0.7003 GB, free: 103.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001834/0.8281, allocations: 63 kB / 0.7004 GB, free: 103.2 MB / 490.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.01083/0.8389, allocations: 3.63 MB / 0.7039 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.839, allocations: 10.16 kB / 0.7039 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009139/0.8481, allocations: 2.089 MB / 0.706 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009827/0.858, allocations: 3.44 MB / 0.7093 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.8583, allocations: 263.9 kB / 0.7096 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.8601, allocations: 357.5 kB / 0.7099 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/0.8782, allocations: 8.989 MB / 0.7187 GB, free: 97.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003223/0.8786, allocations: 51.53 kB / 0.7187 GB, free: 97.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001289/0.8799, allocations: 183.9 kB / 0.7189 GB, free: 97.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001352/0.8813, allocations: 0.8888 MB / 0.7198 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.8932, allocations: 7.273 MB / 0.7269 GB, free: 94.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03626/0.9295, allocations: 42.95 MB / 0.7688 GB, free: 61.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006031/0.9356, allocations: 3.307 MB / 0.7721 GB, free: 59.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006031/0.9416, allocations: 4.434 MB / 0.7764 GB, free: 56.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.9417, allocations: 42.28 kB / 0.7764 GB, free: 56.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 3.567e-06/0.9417, allocations: 4 kB / 0.7764 GB, free: 56.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.02316/0.9649, allocations: 11.62 MB / 0.7878 GB, free: 49.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.965, allocations: 167.2 kB / 0.7879 GB, free: 49.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004396/0.9694, allocations: 3.322 MB / 0.7912 GB, free: 46.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.9695, allocations: 41.7 kB / 0.7912 GB, free: 46.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.9708, allocations: 2.756 MB / 0.7939 GB, free: 44.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/0.9712, allocations: 0.5242 MB / 0.7944 GB, free: 43.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.9715, allocations: 111.9 kB / 0.7945 GB, free: 43.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.9718, allocations: 0.5408 MB / 0.7951 GB, free: 42.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.9738, allocations: 1.673 MB / 0.7967 GB, free: 41.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/0.9769, allocations: 5.094 MB / 0.8017 GB, free: 34.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.98, allocations: 2.871 MB / 0.8045 GB, free: 31.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.342e-05/0.98, allocations: 36 kB / 0.8045 GB, free: 31.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.008502/0.9885, allocations: 6.663 MB / 0.811 GB, free: 24.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/0.9886, allocations: 56.94 kB / 0.8111 GB, free: 24.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/0.9888, allocations: 124 kB / 0.8112 GB, free: 24.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.9893, allocations: 340.6 kB / 0.8115 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/0.9926, allocations: 1.287 MB / 0.8128 GB, free: 23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.9945, allocations: 2.329 MB / 0.8151 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/0.9978, allocations: 295.5 kB / 0.8153 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004346/0.9982, allocations: 335.8 kB / 0.8157 GB, free: 19.92 MB / 490.7 MB 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.002496/1.001, allocations: 1.787 MB / 0.8174 GB, free: 18.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005021/1.001, allocations: 316 kB / 0.8177 GB, free: 17.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/1.005, allocations: 2.359 MB / 0.82 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/1.005, allocations: 16 kB / 0.82 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.005, allocations: 8 kB / 0.82 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/1.005, allocations: 3.984 kB / 0.82 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/1.015, allocations: 5.932 MB / 0.8258 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.015, allocations: 0 / 0.8258 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007083/1.016, allocations: 175.8 kB / 0.826 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/1.018, allocations: 0.7107 MB / 0.8267 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/1.018, allocations: 23.98 kB / 0.8267 GB, free: 8.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004473/1.023, allocations: 4.555 MB / 0.8312 GB, free: 3.848 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.023, allocations: 11.95 kB / 0.8312 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005427/1.028, allocations: 4.455 MB / 0.8355 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009614/1.029, allocations: 376.8 kB / 0.8359 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005425/1.03, allocations: 16 kB / 0.8359 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.031, allocations: 79.41 kB / 0.836 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.031, allocations: 68.52 kB / 0.836 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/1.031, allocations: 36 kB / 0.8361 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003855/1.035, allocations: 2.319 MB / 0.8383 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.035, allocations: 0 / 0.8383 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004049/1.039, allocations: 0.8281 MB / 0.8391 GB, free: 11.61 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.0003795/1.039, allocations: 162 kB / 0.8393 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00637/1.046, allocations: 4.006 MB / 0.8432 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.046, allocations: 0 / 0.8432 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/1.047, allocations: 1.099 MB / 0.8443 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/1.05, allocations: 361.3 kB / 0.8446 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.067, allocations: 8.579 MB / 0.853 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004367/1.071, allocations: 2.859 MB / 0.8558 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004699/1.076, allocations: 1.66 MB / 0.8574 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008452/1.077, allocations: 211.4 kB / 0.8576 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/1.077, allocations: 0 / 0.8576 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of Templates: time 0.2647/1.341, allocations: 29.13 MB / 0.8861 GB, free: 127.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches