Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.336/1.336, allocations: 205.4 MB / 222.9 MB, free: 9.039 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: 93.39 kB / 271.3 MB, free: 8.258 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.3032/0.3032, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 12 kB / 432.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09735/0.09771, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/0.3853, allocations: 107.7 MB / 0.5851 GB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.3856, allocations: 77.88 kB / 0.5852 GB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2088/0.5944, allocations: 83.48 MB / 0.6667 GB, free: 6.238 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5944, allocations: 0 / 0.6667 GB, free: 6.238 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002102/0.5946, allocations: 87.94 kB / 0.6668 GB, free: 6.152 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01445/0.6091, allocations: 4.513 MB / 0.6712 GB, free: 1.562 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6091, allocations: 12.03 kB / 0.6712 GB, free: 1.551 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.193/0.8021, allocations: 2.23 MB / 0.6734 GB, free: 90.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008812/0.811, allocations: 3.768 MB / 0.677 GB, free: 90.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/0.8114, allocations: 348.6 kB / 0.6774 GB, free: 90.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/0.813, allocations: 453 kB / 0.6778 GB, free: 90.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/0.8294, allocations: 10.79 MB / 0.6883 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.8296, allocations: 69.55 kB / 0.6884 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005358/0.8301, allocations: 220.7 kB / 0.6886 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001106/0.8312, allocations: 1.04 MB / 0.6896 GB, free: 87.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.8445, allocations: 8.609 MB / 0.698 GB, free: 87.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04164/0.8862, allocations: 49.95 MB / 0.7468 GB, free: 52.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008283/0.8945, allocations: 3.815 MB / 0.7505 GB, free: 51.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.8965, allocations: 1.76 MB / 0.7523 GB, free: 50.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009463/0.906, allocations: 8.274 MB / 0.7603 GB, free: 46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.9061, allocations: 58.33 kB / 0.7604 GB, free: 45.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 4.238e-06/0.9061, allocations: 0 / 0.7604 GB, free: 45.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.02496/0.9311, allocations: 13.05 MB / 0.7731 GB, free: 40.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008596/0.932, allocations: 1.619 MB / 0.7747 GB, free: 39.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005125/0.9371, allocations: 3.998 MB / 0.7786 GB, free: 37.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003252/0.9375, allocations: 52.06 kB / 0.7787 GB, free: 37.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.939, allocations: 3.196 MB / 0.7818 GB, free: 35.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005969/0.9396, allocations: 0.6458 MB / 0.7824 GB, free: 34.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.9399, allocations: 121 kB / 0.7825 GB, free: 34.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.9402, allocations: 0.5535 MB / 0.7831 GB, free: 34.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.9427, allocations: 2.173 MB / 0.7852 GB, free: 33.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/0.9463, allocations: 5.921 MB / 0.791 GB, free: 27.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006435/0.9527, allocations: 8.702 MB / 0.7995 GB, free: 20.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.396e-05/0.9528, allocations: 41 kB / 0.7995 GB, free: 20.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01784/0.9706, allocations: 9.301 MB / 0.8086 GB, free: 16.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.9708, allocations: 62.66 kB / 0.8087 GB, free: 16.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008825/0.9796, allocations: 3.602 MB / 0.8122 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008054/0.9877, allocations: 1.922 MB / 0.8141 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004194/0.9919, allocations: 1.399 MB / 0.8154 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006247/0.9982, allocations: 5.789 MB / 0.8211 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/1.003, allocations: 424 kB / 0.8215 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007898/1.004, allocations: 375.5 kB / 0.8218 GB, free: 7.926 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (752): * Single equations (assignments): 743 * 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.003007/1.007, allocations: 2.123 MB / 0.8239 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005025/1.007, allocations: 339.5 kB / 0.8242 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004854/1.012, allocations: 3.161 MB / 0.8273 GB, free: 3.195 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003942/1.016, allocations: 2.674 MB / 0.8299 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/1.016, allocations: 4 kB / 0.8299 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/1.016, allocations: 6.094 kB / 0.8299 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.033, allocations: 9.171 MB / 0.8389 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/1.033, allocations: 4.094 kB / 0.8389 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.034, allocations: 275.9 kB / 0.8392 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002745/1.037, allocations: 1.025 MB / 0.8402 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/1.037, allocations: 42.77 kB / 0.8402 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005257/1.042, allocations: 5.021 MB / 0.8451 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009503/1.043, allocations: 1.466 MB / 0.8465 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008552/1.052, allocations: 5.604 MB / 0.852 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008594/1.053, allocations: 406.6 kB / 0.8524 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/1.053, allocations: 39.17 kB / 0.8524 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.054, allocations: 142.3 kB / 0.8526 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/1.055, allocations: 101.4 kB / 0.8527 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.055, allocations: 46.7 kB / 0.8527 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003541/1.058, allocations: 2.467 MB / 0.8551 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/1.058, allocations: 0 / 0.8551 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004278/1.063, allocations: 1.099 MB / 0.8562 GB, free: 10.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (126): * Single equations (assignments): 119 * 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 {(3,100.0%),(4,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.000388/1.063, allocations: 175 kB / 0.8564 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00902/1.072, allocations: 5.786 MB / 0.862 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.072, allocations: 8.078 kB / 0.862 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004079/1.076, allocations: 2.26 MB / 0.8642 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/1.08, allocations: 433.9 kB / 0.8646 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2129/1.292, allocations: 11.57 MB / 0.8759 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004166/1.297, allocations: 3.296 MB / 0.8792 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005081/1.302, allocations: 1.899 MB / 0.881 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008277/1.303, allocations: 236.2 kB / 0.8812 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/1.303, allocations: 3.25 kB / 0.8812 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.07201/1.375, allocations: 36.93 MB / 0.9173 GB, free: 104.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches