Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009277/0.0009278, allocations: 176.4 kB / 16.76 MB, free: 4.902 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.305/1.305, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007597/0.0007597, allocations: 89.94 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3242/0.3242, allocations: 43.56 MB / 363.1 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 12 kB / 432.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1108, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.4489, allocations: 102.5 MB / 0.58 GB, free: 15.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.4491, allocations: 75.97 kB / 0.5801 GB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2209/0.6701, allocations: 85.44 MB / 0.6636 GB, free: 9.148 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.6701, allocations: 4 kB / 0.6636 GB, free: 9.145 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001727/0.6703, allocations: 68 kB / 0.6636 GB, free: 9.078 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01266/0.683, allocations: 3.703 MB / 0.6672 GB, free: 5.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.683, allocations: 11.97 kB / 0.6673 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.6976, allocations: 3.482 MB / 0.6707 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2345/0.9321, allocations: 3.082 MB / 0.6737 GB, free: 96.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004164/0.9326, allocations: 294.1 kB / 0.6739 GB, free: 96.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002465/0.9351, allocations: 389.3 kB / 0.6743 GB, free: 96.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.9594, allocations: 10.27 MB / 0.6843 GB, free: 95.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001927/0.9596, allocations: 23.91 kB / 0.6844 GB, free: 95.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001036/0.9607, allocations: 178.2 kB / 0.6845 GB, free: 95.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001991/0.9627, allocations: 1.21 MB / 0.6857 GB, free: 95.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/0.9821, allocations: 9.942 MB / 0.6954 GB, free: 95.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05344/1.036, allocations: 35.54 MB / 0.7301 GB, free: 76.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008002/1.044, allocations: 4.957 MB / 0.735 GB, free: 74.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/1.046, allocations: 2.287 MB / 0.7372 GB, free: 73.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/1.047, allocations: 1.882 MB / 0.739 GB, free: 71.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.048, allocations: 59.09 kB / 0.7391 GB, free: 71.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 5.36e-06/1.048, allocations: 0 / 0.7391 GB, free: 71.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.02929/1.077, allocations: 13.84 MB / 0.7526 GB, free: 67.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/1.077, allocations: 69.28 kB / 0.7527 GB, free: 67.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/1.081, allocations: 2.669 MB / 0.7553 GB, free: 66.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004526/1.082, allocations: 59.91 kB / 0.7553 GB, free: 66.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/1.083, allocations: 2.712 MB / 0.758 GB, free: 64.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008468/1.084, allocations: 0.8554 MB / 0.7588 GB, free: 63.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/1.084, allocations: 102.3 kB / 0.7589 GB, free: 63.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002352/1.084, allocations: 0.5289 MB / 0.7594 GB, free: 63.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/1.087, allocations: 2.183 MB / 0.7616 GB, free: 62.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/1.091, allocations: 5.106 MB / 0.7666 GB, free: 58.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007222/1.099, allocations: 8.016 MB / 0.7744 GB, free: 52.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.454e-05/1.099, allocations: 27.41 kB / 0.7744 GB, free: 52.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01246/1.111, allocations: 7.877 MB / 0.7821 GB, free: 49.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.111, allocations: 49.06 kB / 0.7822 GB, free: 49.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/1.111, allocations: 101.1 kB / 0.7823 GB, free: 49.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/1.114, allocations: 0.7964 MB / 0.783 GB, free: 49.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003882/1.117, allocations: 1.202 MB / 0.7842 GB, free: 48.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004445/1.122, allocations: 4.151 MB / 0.7883 GB, free: 45.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/1.126, allocations: 294.6 kB / 0.7885 GB, free: 44.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008809/1.126, allocations: 303.8 kB / 0.7888 GB, free: 44.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (639): * Single equations (assignments): 632 * 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.004006/1.13, allocations: 2.041 MB / 0.7908 GB, free: 42.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005895/1.131, allocations: 268.2 kB / 0.7911 GB, free: 42.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008025/1.139, allocations: 4.711 MB / 0.7957 GB, free: 38.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.653e-05/1.139, allocations: 46.25 kB / 0.7957 GB, free: 38.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.139, allocations: 2.672 kB / 0.7957 GB, free: 38.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/1.139, allocations: 6.891 kB / 0.7957 GB, free: 38.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/1.154, allocations: 10.64 MB / 0.8061 GB, free: 29.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.154, allocations: 4 kB / 0.8061 GB, free: 29.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/1.156, allocations: 369 kB / 0.8065 GB, free: 29.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/1.157, allocations: 0.6485 MB / 0.8071 GB, free: 29.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/1.158, allocations: 36 kB / 0.8071 GB, free: 29.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/1.161, allocations: 3.603 MB / 0.8107 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.161, allocations: 8 kB / 0.8107 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008123/1.169, allocations: 7.101 MB / 0.8176 GB, free: 19.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.171, allocations: 0.6535 MB / 0.8182 GB, free: 19.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/1.171, allocations: 40 kB / 0.8183 GB, free: 19.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.172, allocations: 134.5 kB / 0.8184 GB, free: 18.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/1.172, allocations: 136 kB / 0.8185 GB, free: 18.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.173, allocations: 67.38 kB / 0.8186 GB, free: 18.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001987/1.175, allocations: 1.635 MB / 0.8202 GB, free: 17.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.175, allocations: 0 / 0.8202 GB, free: 17.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003364/1.178, allocations: 0.9501 MB / 0.8211 GB, free: 16.49 MB / 490.7 MB 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.0003743/1.178, allocations: 182.8 kB / 0.8213 GB, free: 16.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006049/1.184, allocations: 5.331 MB / 0.8265 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.184, allocations: 9.25 kB / 0.8265 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002042/1.186, allocations: 2.016 MB / 0.8285 GB, free: 9.809 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/1.19, allocations: 342.4 kB / 0.8288 GB, free: 9.516 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.207, allocations: 11.34 MB / 0.8399 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003701/1.211, allocations: 3.235 MB / 0.843 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004678/1.216, allocations: 1.97 MB / 0.845 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/1.216, allocations: 199.4 kB / 0.8452 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/1.216, allocations: 4 kB / 0.8452 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.2797/1.496, allocations: 29.03 MB / 0.8735 GB, free: 115 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches