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.001218/0.001218, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008329/0.000833, allocations: 94.77 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.363/0.363, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004013, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3677, allocations: 62.96 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4959, allocations: 104.7 MB / 0.6206 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.4962, allocations: 87.94 kB / 0.6207 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4079/0.9041, allocations: 85.13 MB / 0.7038 GB, free: 101.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.9042, allocations: 2.5 kB / 0.7039 GB, free: 101.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001457/0.9043, allocations: 71.66 kB / 0.7039 GB, free: 101.1 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.01236/0.9167, allocations: 3.65 MB / 0.7075 GB, free: 99.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.9167, allocations: 8.688 kB / 0.7075 GB, free: 99.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/0.9309, allocations: 3.455 MB / 0.7109 GB, free: 99.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006529/0.9374, allocations: 2.82 MB / 0.7136 GB, free: 98.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.9377, allocations: 291.2 kB / 0.7139 GB, free: 98.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.9395, allocations: 374.4 kB / 0.7143 GB, free: 98.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/0.9604, allocations: 10.08 MB / 0.7241 GB, free: 96.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/0.9606, allocations: 27.66 kB / 0.7241 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001459/0.9621, allocations: 169.7 kB / 0.7243 GB, free: 95.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001579/0.9637, allocations: 1.183 MB / 0.7254 GB, free: 95.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/0.9808, allocations: 9.851 MB / 0.7351 GB, free: 92.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03834/1.019, allocations: 34.67 MB / 0.7689 GB, free: 71.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007264/1.026, allocations: 4.949 MB / 0.7738 GB, free: 67.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/1.029, allocations: 2.294 MB / 0.776 GB, free: 65.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/1.03, allocations: 1.879 MB / 0.7778 GB, free: 63.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/1.03, allocations: 56.56 kB / 0.7779 GB, free: 62.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 4.328e-06/1.03, allocations: 0 / 0.7779 GB, free: 62.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.02553/1.056, allocations: 13.75 MB / 0.7913 GB, free: 50 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/1.056, allocations: 69.41 kB / 0.7914 GB, free: 49.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/1.058, allocations: 2.631 MB / 0.7939 GB, free: 47.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/1.059, allocations: 57.7 kB / 0.794 GB, free: 47.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009173/1.06, allocations: 2.636 MB / 0.7966 GB, free: 44.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/1.06, allocations: 0.8513 MB / 0.7974 GB, free: 43.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/1.06, allocations: 103.5 kB / 0.7975 GB, free: 43.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/1.06, allocations: 0.5291 MB / 0.798 GB, free: 43.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/1.063, allocations: 2.173 MB / 0.8001 GB, free: 40.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/1.066, allocations: 5.04 MB / 0.8051 GB, free: 34.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006305/1.072, allocations: 7.927 MB / 0.8128 GB, free: 25.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.232e-05/1.072, allocations: 28 kB / 0.8128 GB, free: 25.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01044/1.083, allocations: 7.808 MB / 0.8205 GB, free: 17.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/1.083, allocations: 47.98 kB / 0.8205 GB, free: 17.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.109e-05/1.083, allocations: 100.9 kB / 0.8206 GB, free: 17.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/1.085, allocations: 0.7888 MB / 0.8214 GB, free: 16.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/1.089, allocations: 1.185 MB / 0.8225 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004544/1.093, allocations: 4.142 MB / 0.8266 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/1.097, allocations: 291.8 kB / 0.8269 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006597/1.097, allocations: 300 kB / 0.8271 GB, free: 10.3 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.003756/1.101, allocations: 2.015 MB / 0.8291 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000486/1.102, allocations: 268.6 kB / 0.8294 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006383/1.108, allocations: 4.692 MB / 0.8339 GB, free: 3.297 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-05/1.108, allocations: 43.98 kB / 0.834 GB, free: 3.254 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.108, allocations: 7.938 kB / 0.834 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/1.108, allocations: 7.969 kB / 0.834 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/1.125, allocations: 10.56 MB / 0.8443 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/1.125, allocations: 8 kB / 0.8443 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.127, allocations: 359.4 kB / 0.8447 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/1.129, allocations: 0.6485 MB / 0.8453 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/1.129, allocations: 47.98 kB / 0.8453 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004835/1.134, allocations: 3.6 MB / 0.8489 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.134, allocations: 8 kB / 0.8489 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/1.145, allocations: 7.092 MB / 0.8558 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008035/1.146, allocations: 313.6 kB / 0.8561 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004208/1.147, allocations: 39.98 kB / 0.8561 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.148, allocations: 143.5 kB / 0.8563 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/1.148, allocations: 132.9 kB / 0.8564 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.148, allocations: 67.98 kB / 0.8565 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002755/1.151, allocations: 1.599 MB / 0.858 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/1.151, allocations: 0 / 0.858 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004319/1.155, allocations: 0.9374 MB / 0.8589 GB, free: 9.324 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.0005038/1.156, allocations: 198.2 kB / 0.8591 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008116/1.164, allocations: 5.302 MB / 0.8643 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.164, allocations: 0 / 0.8643 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002682/1.167, allocations: 2.014 MB / 0.8663 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/1.171, allocations: 346.4 kB / 0.8666 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.188, allocations: 11.12 MB / 0.8775 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003424/1.191, allocations: 3.175 MB / 0.8806 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004572/1.196, allocations: 1.953 MB / 0.8825 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/1.197, allocations: 195.4 kB / 0.8827 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of SimCode: time 2.655e-06/1.197, allocations: 0 / 0.8827 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of Templates: time 0.2883/1.485, allocations: 28.92 MB / 0.9109 GB, free: 131.8 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/jenkins1/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