Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,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.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,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.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002062/0.002062, allocations: 181 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.198/2.198, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00111/0.00111, allocations: 94.64 kB / 267.5 MB, free: 14.11 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.2818/0.2818, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.382e-05/4.393e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.146, allocations: 58.84 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5262/0.6722, allocations: 107 MB / 0.5772 GB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/0.6727, allocations: 77.56 kB / 0.5773 GB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3841/1.057, allocations: 84.04 MB / 0.6594 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.057, allocations: 0 / 0.6594 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003023/1.057, allocations: 87.94 kB / 0.6595 GB, free: 0.6445 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: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.01577/1.073, allocations: 3.991 MB / 0.6634 GB, free: 12.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/1.073, allocations: 8.031 kB / 0.6634 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01919/1.092, allocations: 2.346 MB / 0.6657 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02047/1.113, allocations: 5.242 MB / 0.6708 GB, free: 4.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005303/1.113, allocations: 328.5 kB / 0.6711 GB, free: 4.594 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002592/1.116, allocations: 431.8 kB / 0.6715 GB, free: 4.172 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03492/1.151, allocations: 10.58 MB / 0.6818 GB, free: 8.531 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002729/1.151, allocations: 63.41 kB / 0.6819 GB, free: 8.469 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001723/1.153, allocations: 211.9 kB / 0.6821 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002667/1.156, allocations: 1.026 MB / 0.6831 GB, free: 7.234 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02884/1.185, allocations: 8.53 MB / 0.6914 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4384/1.623, allocations: 48.95 MB / 0.7392 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/1.641, allocations: 3.798 MB / 0.7429 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004088/1.645, allocations: 1.571 MB / 0.7445 GB, free: 86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01918/1.664, allocations: 7.805 MB / 0.7521 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/1.664, allocations: 54.81 kB / 0.7522 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 5.67e-06/1.664, allocations: 0 / 0.7522 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169): time 0.05467/1.719, allocations: 12.36 MB / 0.7642 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001435/1.72, allocations: 1.601 MB / 0.7658 GB, free: 78.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008708/1.729, allocations: 3.471 MB / 0.7692 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004828/1.73, allocations: 52.14 kB / 0.7692 GB, free: 78.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002844/1.732, allocations: 3.114 MB / 0.7723 GB, free: 76.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.734, allocations: 0.6799 MB / 0.7729 GB, free: 76.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006332/1.734, allocations: 119.5 kB / 0.773 GB, free: 76.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003756/1.735, allocations: 0.5686 MB / 0.7736 GB, free: 76.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004699/1.739, allocations: 1.987 MB / 0.7755 GB, free: 76.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007478/1.747, allocations: 5.789 MB / 0.7812 GB, free: 70.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007849/1.755, allocations: 3.357 MB / 0.7845 GB, free: 69.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001462/1.755, allocations: 37.88 kB / 0.7845 GB, free: 69.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02393/1.779, allocations: 8.227 MB / 0.7925 GB, free: 67.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/1.779, allocations: 64.66 kB / 0.7926 GB, free: 67.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008332/1.787, allocations: 2.568 MB / 0.7951 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005947/1.793, allocations: 1.138 MB / 0.7962 GB, free: 66.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008301/1.802, allocations: 1.405 MB / 0.7976 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007234/1.809, allocations: 4.704 MB / 0.8022 GB, free: 62.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007429/1.817, allocations: 391.9 kB / 0.8026 GB, free: 62.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/1.818, allocations: 382.5 kB / 0.8029 GB, free: 62.81 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 39 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (764): * Single equations (assignments): 755 * Array equations: 5 * 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.001443/1.819, allocations: 0.5739 MB / 0.8035 GB, free: 62.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00088/1.82, allocations: 345.8 kB / 0.8038 GB, free: 62.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009713/1.83, allocations: 3.006 MB / 0.8067 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008409/1.839, allocations: 2.508 MB / 0.8092 GB, free: 60.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/1.839, allocations: 0 / 0.8092 GB, free: 60.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.231e-05/1.839, allocations: 10.72 kB / 0.8092 GB, free: 60.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02787/1.867, allocations: 9.491 MB / 0.8185 GB, free: 56.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-05/1.867, allocations: 7.125 kB / 0.8185 GB, free: 56.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/1.869, allocations: 273.6 kB / 0.8187 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00527/1.874, allocations: 1.021 MB / 0.8197 GB, free: 56.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003909/1.875, allocations: 39.7 kB / 0.8198 GB, free: 56.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007515/1.882, allocations: 4.803 MB / 0.8245 GB, free: 51.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00107/1.884, allocations: 1.449 MB / 0.8259 GB, free: 49.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/1.896, allocations: 5.779 MB / 0.8315 GB, free: 44.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.898, allocations: 398.5 kB / 0.8319 GB, free: 44.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009183/1.899, allocations: 37.33 kB / 0.8319 GB, free: 44.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/1.902, allocations: 133.6 kB / 0.8321 GB, free: 44.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005844/1.903, allocations: 119.8 kB / 0.8322 GB, free: 44.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/1.903, allocations: 52.92 kB / 0.8322 GB, free: 44.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005685/1.909, allocations: 2.393 MB / 0.8346 GB, free: 41.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.91e-07/1.909, allocations: 3.844 kB / 0.8346 GB, free: 41.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006887/1.915, allocations: 1.034 MB / 0.8356 GB, free: 40.94 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (136): * Single equations (assignments): 129 * Array equations: 3 * 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.0007054/1.916, allocations: 189.7 kB / 0.8358 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02062/1.937, allocations: 5.469 MB / 0.8411 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/1.937, allocations: 0 / 0.8411 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01007/1.947, allocations: 2.112 MB / 0.8432 GB, free: 33.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/1.953, allocations: 417.6 kB / 0.8436 GB, free: 33.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03146/1.984, allocations: 8.434 MB / 0.8518 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007263/1.992, allocations: 3.353 MB / 0.8551 GB, free: 23.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/1.993, allocations: 289.9 kB / 0.8554 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.683e-06/1.993, allocations: 0 / 0.8554 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.5873/2.581, allocations: 124.8 MB / 0.9773 GB, free: 94.16 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches