Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007807/0.0007806, allocations: 90.28 kB / 261.7 MB, free: 1.617 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.1976/0.1976, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.192e-05, allocations: 8 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.5282, allocations: 108.3 MB / 0.5717 GB, free: 3.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5285, allocations: 80.36 kB / 0.5718 GB, free: 3.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.285/0.8135, allocations: 116.5 MB / 0.6855 GB, free: 6.816 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.8135, allocations: 0 / 0.6855 GB, free: 6.816 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003451/0.8139, allocations: 116 kB / 0.6856 GB, free: 6.703 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: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.01914/0.833, allocations: 5.945 MB / 0.6914 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8331, allocations: 8.031 kB / 0.6914 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02884/0.862, allocations: 7.004 MB / 0.6983 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/0.8829, allocations: 7.803 MB / 0.7059 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004268/0.8834, allocations: 184 kB / 0.7061 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003454/0.8869, allocations: 351.8 kB / 0.7064 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3347/1.222, allocations: 8.21 MB / 0.7144 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02886/1.251, allocations: 12.43 MB / 0.7266 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003535/1.251, allocations: 88.52 kB / 0.7267 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001462/1.252, allocations: 34.84 kB / 0.7267 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001586/1.254, allocations: 1.321 MB / 0.728 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06289/1.317, allocations: 59.51 MB / 0.7861 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005103/1.322, allocations: 4.879 MB / 0.7909 GB, free: 64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003047/1.325, allocations: 3.211 MB / 0.794 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/1.326, allocations: 0.6926 MB / 0.7947 GB, free: 62.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/1.326, allocations: 68.67 kB / 0.7947 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=254): time 4.949e-06/1.326, allocations: 0 / 0.7947 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.05467/1.381, allocations: 29.93 MB / 0.824 GB, free: 50.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/1.381, allocations: 269 kB / 0.8242 GB, free: 50.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005485/1.386, allocations: 3.946 MB / 0.8281 GB, free: 49.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005836/1.387, allocations: 25.7 kB / 0.8281 GB, free: 49.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/1.389, allocations: 4.12 MB / 0.8321 GB, free: 45.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.39, allocations: 1.161 MB / 0.8333 GB, free: 44.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/1.39, allocations: 0 / 0.8333 GB, free: 44.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003565/1.391, allocations: 0.6377 MB / 0.8339 GB, free: 43.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003357/1.394, allocations: 3.156 MB / 0.837 GB, free: 41.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004678/1.399, allocations: 7.516 MB / 0.8443 GB, free: 32.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005083/1.404, allocations: 4.821 MB / 0.849 GB, free: 28.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.857e-05/1.404, allocations: 44 kB / 0.8491 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.01705/1.421, allocations: 11.63 MB / 0.8604 GB, free: 18.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/1.421, allocations: 76.41 kB / 0.8605 GB, free: 17.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/1.421, allocations: 152 kB / 0.8606 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004438/1.426, allocations: 2.172 MB / 0.8628 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005774/1.431, allocations: 1.81 MB / 0.8645 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/1.447, allocations: 13.59 MB / 0.8778 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00584/1.453, allocations: 305.2 kB / 0.8781 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.454, allocations: 462.4 kB / 0.8785 GB, free: 1.977 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 703 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (959): * Single equations (assignments): 954 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 20,(7,46.9%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001028/1.455, allocations: 0.5057 MB / 0.879 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006586/1.455, allocations: 458.1 kB / 0.8795 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.472, allocations: 7.263 MB / 0.8865 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.218e-05/1.473, allocations: 32 kB / 0.8866 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/1.473, allocations: 8 kB / 0.8866 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-05/1.473, allocations: 22.11 kB / 0.8866 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/1.5, allocations: 14.7 MB / 0.901 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/1.5, allocations: 8 kB / 0.901 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/1.502, allocations: 0.5078 MB / 0.9015 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3389/1.841, allocations: 1.85 MB / 0.9033 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007683/1.842, allocations: 22.58 kB / 0.9033 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/1.859, allocations: 11.93 MB / 0.9149 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/1.859, allocations: 15.19 kB / 0.915 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01861/1.878, allocations: 11.74 MB / 0.9264 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002733/1.881, allocations: 0.991 MB / 0.9274 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/1.882, allocations: 17.88 kB / 0.9274 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002833/1.885, allocations: 162.9 kB / 0.9276 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006008/1.885, allocations: 214 kB / 0.9278 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/1.886, allocations: 94.09 kB / 0.9279 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004811/1.891, allocations: 2.666 MB / 0.9305 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/1.891, allocations: 0 / 0.9305 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01063/1.901, allocations: 1.292 MB / 0.9317 GB, free: 103.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009302/1.902, allocations: 163.9 kB / 0.9319 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01429/1.916, allocations: 8.49 MB / 0.9402 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/1.917, allocations: 12.77 kB / 0.9402 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006762/1.923, allocations: 3.78 MB / 0.9439 GB, free: 103 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/1.927, allocations: 0.4984 MB / 0.9444 GB, free: 103 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/1.949, allocations: 12.07 MB / 0.9561 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005274/1.954, allocations: 4.533 MB / 0.9606 GB, free: 98.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006382/1.961, allocations: 2.518 MB / 0.963 GB, free: 98.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.962, allocations: 337 kB / 0.9633 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/1.962, allocations: 0 / 0.9633 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.09803/2.06, allocations: 53.68 MB / 1.016 GB, free: 75.01 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches