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/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.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/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 197.7 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.203/1.203, allocations: 227.2 MB / 245 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008383/0.0008385, allocations: 98.17 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3031/0.3031, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000234/0.0002339, allocations: 12 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3002, allocations: 63.24 MB / 0.5192 GB, free: 37.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4354, allocations: 104.7 MB / 0.6215 GB, free: 14.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.4357, allocations: 79.95 kB / 0.6215 GB, free: 14.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4368/0.8725, allocations: 86.73 MB / 0.7062 GB, free: 101.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.8725, allocations: 0.9062 kB / 0.7062 GB, free: 101.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002311/0.8728, allocations: 66.03 kB / 0.7063 GB, free: 101.7 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01285/0.8857, allocations: 3.743 MB / 0.7099 GB, free: 100 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.8857, allocations: 9.281 kB / 0.71 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/0.9001, allocations: 3.488 MB / 0.7134 GB, free: 99.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.9106, allocations: 3.502 MB / 0.7168 GB, free: 99.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/0.911, allocations: 288.6 kB / 0.7171 GB, free: 99.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002159/0.9132, allocations: 376.4 kB / 0.7174 GB, free: 99.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/0.9322, allocations: 10.12 MB / 0.7273 GB, free: 95.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.9324, allocations: 28.72 kB / 0.7273 GB, free: 95.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005679/0.9329, allocations: 172.4 kB / 0.7275 GB, free: 95.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001548/0.9345, allocations: 1.177 MB / 0.7286 GB, free: 95.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01658/0.9511, allocations: 9.921 MB / 0.7383 GB, free: 92.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/0.9956, allocations: 34.71 MB / 0.7722 GB, free: 68.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007729/1.003, allocations: 4.955 MB / 0.7771 GB, free: 63.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/1.005, allocations: 1.885 MB / 0.7789 GB, free: 60.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/1.005, allocations: 52.56 kB / 0.779 GB, free: 60.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 5.421e-06/1.005, allocations: 0 / 0.779 GB, free: 60.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.02573/1.03, allocations: 14.29 MB / 0.7929 GB, free: 46.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/1.03, allocations: 69.41 kB / 0.793 GB, free: 46.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/1.033, allocations: 2.354 MB / 0.7953 GB, free: 43.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/1.033, allocations: 57.14 kB / 0.7953 GB, free: 43.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009487/1.034, allocations: 2.638 MB / 0.7979 GB, free: 41.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005692/1.035, allocations: 0.8402 MB / 0.7987 GB, free: 40.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/1.035, allocations: 104 kB / 0.7988 GB, free: 40.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/1.035, allocations: 0.5291 MB / 0.7994 GB, free: 39.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/1.038, allocations: 2.173 MB / 0.8015 GB, free: 37.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/1.041, allocations: 5.021 MB / 0.8064 GB, free: 31.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/1.044, allocations: 3.299 MB / 0.8096 GB, free: 27.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.604e-05/1.044, allocations: 28 kB / 0.8096 GB, free: 27.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01055/1.055, allocations: 7.808 MB / 0.8173 GB, free: 19.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/1.055, allocations: 48 kB / 0.8173 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.018e-05/1.055, allocations: 100 kB / 0.8174 GB, free: 19.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/1.057, allocations: 0.8089 MB / 0.8182 GB, free: 19.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/1.061, allocations: 1.181 MB / 0.8193 GB, free: 17.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004452/1.065, allocations: 4.223 MB / 0.8235 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/1.069, allocations: 295.5 kB / 0.8237 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007104/1.069, allocations: 300 kB / 0.824 GB, free: 12.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (630): * Single equations (assignments): 623 * Array equations: 6 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003266/1.073, allocations: 2.012 MB / 0.826 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/1.073, allocations: 260.5 kB / 0.8262 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006438/1.08, allocations: 4.709 MB / 0.8308 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.026e-05/1.08, allocations: 44.36 kB / 0.8309 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/1.08, allocations: 4 kB / 0.8309 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/1.08, allocations: 7.969 kB / 0.8309 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/1.095, allocations: 10.54 MB / 0.8412 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.095, allocations: 16.12 kB / 0.8412 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.097, allocations: 363.4 kB / 0.8416 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001885/1.099, allocations: 0.6522 MB / 0.8422 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/1.099, allocations: 43.98 kB / 0.8422 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004597/1.103, allocations: 3.681 MB / 0.8458 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.103, allocations: 11.94 kB / 0.8458 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/1.115, allocations: 7.658 MB / 0.8533 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.116, allocations: 309.7 kB / 0.8536 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/1.116, allocations: 42.8 kB / 0.8536 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.117, allocations: 131.8 kB / 0.8538 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/1.118, allocations: 137 kB / 0.8539 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.118, allocations: 66.89 kB / 0.854 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002861/1.121, allocations: 1.599 MB / 0.8555 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/1.121, allocations: 0.5625 kB / 0.8555 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007029/1.128, allocations: 0.9336 MB / 0.8564 GB, free: 11.1 MB / 0.5105 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 (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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007019/1.128, allocations: 198.1 kB / 0.8566 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008441/1.137, allocations: 5.304 MB / 0.8618 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.137, allocations: 3.938 kB / 0.8618 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002657/1.14, allocations: 2.023 MB / 0.8638 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/1.141, allocations: 325.2 kB / 0.8641 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.158, allocations: 11.09 MB / 0.8749 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003373/1.161, allocations: 3.245 MB / 0.8781 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004327/1.166, allocations: 1.953 MB / 0.88 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006351/1.166, allocations: 203.4 kB / 0.8802 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/1.166, allocations: 0 / 0.8802 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of Templates: time 0.2739/1.44, allocations: 28.81 MB / 0.9083 GB, free: 132.7 MB / 0.5261 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches