Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002143/0.002143, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001072/0.001072, allocations: 82.66 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2766/0.2766, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.027e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5067/0.6226, allocations: 102.3 MB / 0.5727 GB, free: 1.555 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.6229, allocations: 81.73 kB / 0.5728 GB, free: 1.516 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3792/1.002, allocations: 87.6 MB / 0.6583 GB, free: 1.715 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.002, allocations: 0 / 0.6583 GB, free: 1.715 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002098/1.002, allocations: 72 kB / 0.6584 GB, free: 1.645 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.0145/1.017, allocations: 3.709 MB / 0.662 GB, free: 13.87 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.017, allocations: 12.03 kB / 0.662 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02911/1.046, allocations: 3.656 MB / 0.6656 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/1.066, allocations: 4.935 MB / 0.6704 GB, free: 5.207 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004255/1.066, allocations: 291.6 kB / 0.6707 GB, free: 4.922 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002685/1.069, allocations: 391.8 kB / 0.6711 GB, free: 4.539 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03255/1.101, allocations: 10.29 MB / 0.6811 GB, free: 9.754 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002451/1.102, allocations: 27.75 kB / 0.6811 GB, free: 9.727 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002516/1.104, allocations: 171.9 kB / 0.6813 GB, free: 9.559 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/1.107, allocations: 1.203 MB / 0.6825 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03414/1.141, allocations: 10.01 MB / 0.6922 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5386/1.68, allocations: 36.57 MB / 0.7279 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/1.694, allocations: 4.365 MB / 0.7322 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005219/1.699, allocations: 2.168 MB / 0.7343 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/1.701, allocations: 1.324 MB / 0.7356 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/1.701, allocations: 63.98 kB / 0.7357 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 6.843e-06/1.701, allocations: 0 / 0.7357 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=261): time 0.05705/1.758, allocations: 14.3 MB / 0.7496 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001345/1.759, allocations: 1.532 MB / 0.7511 GB, free: 98.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005082/1.764, allocations: 2.464 MB / 0.7535 GB, free: 98.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005557/1.765, allocations: 58.2 kB / 0.7536 GB, free: 98.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00202/1.767, allocations: 2.739 MB / 0.7563 GB, free: 97.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001417/1.768, allocations: 0.9507 MB / 0.7572 GB, free: 96.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006254/1.769, allocations: 111.5 kB / 0.7573 GB, free: 96.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003882/1.769, allocations: 0.5605 MB / 0.7579 GB, free: 96.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005597/1.775, allocations: 2.38 MB / 0.7602 GB, free: 96.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00792/1.783, allocations: 5.409 MB / 0.7655 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007928/1.791, allocations: 3.628 MB / 0.769 GB, free: 91.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/1.791, allocations: 32.19 kB / 0.769 GB, free: 91.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.0354/1.827, allocations: 9.324 MB / 0.7781 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-05/1.827, allocations: 56.69 kB / 0.7782 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02209/1.849, allocations: 4.54 MB / 0.7826 GB, free: 87.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01903/1.868, allocations: 2.061 MB / 0.7846 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008069/1.876, allocations: 1.291 MB / 0.7859 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/1.887, allocations: 4.96 MB / 0.7908 GB, free: 84.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007873/1.895, allocations: 408.9 kB / 0.7911 GB, free: 84.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.897, allocations: 319.2 kB / 0.7914 GB, free: 84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 482 * Number of states: 0 () * Number of discrete variables: 24 (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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (691): * Single equations (assignments): 679 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001181/1.898, allocations: 0.5059 MB / 0.7919 GB, free: 83.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006455/1.899, allocations: 287.2 kB / 0.7922 GB, free: 83.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/1.915, allocations: 5.339 MB / 0.7974 GB, free: 81.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.015/1.93, allocations: 4.588 MB / 0.8019 GB, free: 80.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/1.93, allocations: 5.406 kB / 0.8019 GB, free: 80.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.015e-05/1.93, allocations: 10.45 kB / 0.8019 GB, free: 80.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03948/1.969, allocations: 14.62 MB / 0.8162 GB, free: 68.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/1.969, allocations: 12 kB / 0.8162 GB, free: 68.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003683/1.973, allocations: 421.8 kB / 0.8166 GB, free: 68.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00774/1.981, allocations: 1.192 MB / 0.8178 GB, free: 67.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006173/1.981, allocations: 61.2 kB / 0.8178 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006568/1.988, allocations: 4.444 MB / 0.8222 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00107/1.989, allocations: 1.473 MB / 0.8236 GB, free: 61.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/2.01, allocations: 8.777 MB / 0.8322 GB, free: 53.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009921/2.011, allocations: 341.1 kB / 0.8325 GB, free: 53.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009225/2.012, allocations: 59.8 kB / 0.8326 GB, free: 53.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/2.015, allocations: 199.9 kB / 0.8328 GB, free: 53.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005707/2.016, allocations: 169.4 kB / 0.8329 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002641/2.016, allocations: 75.55 kB / 0.833 GB, free: 53.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003392/2.02, allocations: 1.675 MB / 0.8346 GB, free: 51.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.32e-07/2.02, allocations: 0 / 0.8346 GB, free: 51.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006261/2.026, allocations: 1.076 MB / 0.8357 GB, free: 50.48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006819/2.027, allocations: 199.3 kB / 0.8359 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01559/2.042, allocations: 6.406 MB / 0.8421 GB, free: 44.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/2.042, allocations: 0 / 0.8421 GB, free: 44.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008063/2.05, allocations: 2.879 MB / 0.8449 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/2.053, allocations: 351.8 kB / 0.8453 GB, free: 41.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/2.077, allocations: 9.644 MB / 0.8547 GB, free: 32.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005762/2.083, allocations: 3.41 MB / 0.858 GB, free: 28.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/2.085, allocations: 275.4 kB / 0.8583 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/2.085, allocations: 0 / 0.8583 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.6065/2.692, allocations: 126.3 MB / 0.9816 GB, free: 99.43 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches