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.0009745/0.0009746, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007424/0.0007424, allocations: 90.83 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1814/0.1814, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.545e-05, allocations: 4 kB / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 63.24 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.5, allocations: 104 MB / 0.6059 GB, free: 14.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.5003, allocations: 79.02 kB / 0.606 GB, free: 14.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2078/0.7081, allocations: 85.33 MB / 0.6893 GB, free: 1.531 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7082, allocations: 0 / 0.6893 GB, free: 1.531 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001673/0.7083, allocations: 72 kB / 0.6894 GB, free: 1.461 MB / 474.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.01118/0.7195, allocations: 3.615 MB / 0.6929 GB, free: 13.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.7196, allocations: 12.03 kB / 0.6929 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/0.7348, allocations: 3.481 MB / 0.6963 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.7457, allocations: 3.472 MB / 0.6997 GB, free: 6.758 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.7461, allocations: 120 kB / 0.6998 GB, free: 6.641 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/0.7491, allocations: 223.9 kB / 0.7 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01424/0.7633, allocations: 7.145 MB / 0.707 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/0.7864, allocations: 9.324 MB / 0.7161 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002063/0.7867, allocations: 23.81 kB / 0.7161 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001973/0.7887, allocations: 12 kB / 0.7161 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001923/0.7906, allocations: 1.184 MB / 0.7173 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05222/0.8429, allocations: 32.33 MB / 0.7489 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2861/1.129, allocations: 4.179 MB / 0.753 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003368/1.132, allocations: 2.235 MB / 0.7551 GB, free: 141 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/1.134, allocations: 1.877 MB / 0.757 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/1.134, allocations: 55 kB / 0.757 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=231): time 5.37e-06/1.134, allocations: 0 / 0.757 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=238): time 0.02617/1.16, allocations: 13.95 MB / 0.7707 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/1.16, allocations: 69.67 kB / 0.7707 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/1.164, allocations: 2.216 MB / 0.7729 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/1.164, allocations: 25.7 kB / 0.7729 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/1.165, allocations: 2.724 MB / 0.7756 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000576/1.166, allocations: 0.8408 MB / 0.7764 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/1.166, allocations: 0 / 0.7764 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002708/1.166, allocations: 0.5992 MB / 0.777 GB, free: 136 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/1.169, allocations: 2.12 MB / 0.779 GB, free: 136 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003487/1.172, allocations: 5.189 MB / 0.7841 GB, free: 132 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/1.176, allocations: 3.332 MB / 0.7874 GB, free: 132 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.865e-05/1.176, allocations: 29.91 kB / 0.7874 GB, free: 132 MB / 0.5261 GB Notification: Performance of matching and sorting (n=735) (initialization): time 0.0108/1.186, allocations: 7.386 MB / 0.7946 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.379e-05/1.186, allocations: 52.09 kB / 0.7947 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/1.187, allocations: 108.8 kB / 0.7948 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/1.189, allocations: 0.811 MB / 0.7956 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/1.192, allocations: 1.269 MB / 0.7968 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/1.197, allocations: 3.973 MB / 0.8007 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/1.2, allocations: 200.9 kB / 0.8009 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004434/1.201, allocations: 323 kB / 0.8012 GB, free: 128.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 497 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (675): * Single equations (assignments): 668 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007358/1.201, allocations: 385.8 kB / 0.8015 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/1.202, allocations: 262 kB / 0.8018 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006663/1.208, allocations: 4.554 MB / 0.8062 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.027e-05/1.208, allocations: 52.22 kB / 0.8063 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.208, allocations: 1.438 kB / 0.8063 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/1.208, allocations: 7.125 kB / 0.8063 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/1.223, allocations: 9.51 MB / 0.8156 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.223, allocations: 11.25 kB / 0.8156 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.224, allocations: 379.8 kB / 0.816 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/1.226, allocations: 0.6442 MB / 0.8166 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.226, allocations: 15.81 kB / 0.8166 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003769/1.23, allocations: 3.461 MB / 0.82 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/1.23, allocations: 12.58 kB / 0.82 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008889/1.239, allocations: 7.564 MB / 0.8274 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008446/1.24, allocations: 306.8 kB / 0.8277 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/1.24, allocations: 11.09 kB / 0.8277 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/1.241, allocations: 106.5 kB / 0.8278 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/1.242, allocations: 130.1 kB / 0.8279 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.242, allocations: 71.48 kB / 0.828 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00183/1.244, allocations: 1.451 MB / 0.8294 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/1.244, allocations: 0 / 0.8294 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004187/1.248, allocations: 0.8236 MB / 0.8302 GB, free: 115.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 174 * 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.0004899/1.248, allocations: 159.9 kB / 0.8303 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006782/1.255, allocations: 5.172 MB / 0.8354 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.255, allocations: 0 / 0.8354 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/1.257, allocations: 1.947 MB / 0.8373 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/1.259, allocations: 227.7 kB / 0.8375 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.272, allocations: 7.854 MB / 0.8452 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00282/1.275, allocations: 3.253 MB / 0.8484 GB, free: 99.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004318/1.279, allocations: 2.062 MB / 0.8504 GB, free: 97.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/1.28, allocations: 202.7 kB / 0.8506 GB, free: 97.62 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/1.28, allocations: 0 / 0.8506 GB, free: 97.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.04293/1.323, allocations: 25.59 MB / 0.8756 GB, free: 78.37 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