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.00175/0.00175, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.849/1.849, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001037/0.001037, allocations: 98.84 kB / 270.2 MB, free: 13.36 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.2353/0.2353, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1514, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.5845, allocations: 109 MB / 0.5853 GB, free: 7.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.5849, allocations: 79.47 kB / 0.5853 GB, free: 7.047 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3098/0.8947, allocations: 119 MB / 0.7016 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.947e-06/0.8948, allocations: 0 / 0.7016 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005641/0.8954, allocations: 124 kB / 0.7017 GB, free: 7.59 MB / 0.4948 GB 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.03295/0.9284, allocations: 6.433 MB / 0.708 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.9285, allocations: 8.031 kB / 0.708 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3295/1.258, allocations: 6.994 MB / 0.7148 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02064/1.279, allocations: 7.852 MB / 0.7225 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004944/1.279, allocations: 436.3 kB / 0.7229 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002898/1.282, allocations: 0.5824 MB / 0.7234 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03026/1.312, allocations: 13.95 MB / 0.7371 GB, free: 99.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003145/1.313, allocations: 82.69 kB / 0.7371 GB, free: 99.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001272/1.314, allocations: 282.2 kB / 0.7374 GB, free: 99.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/1.315, allocations: 1.321 MB / 0.7387 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02138/1.337, allocations: 11.7 MB / 0.7501 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07519/1.412, allocations: 62.18 MB / 0.8109 GB, free: 56.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.013/1.425, allocations: 5.764 MB / 0.8165 GB, free: 54.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/1.426, allocations: 0.6889 MB / 0.8172 GB, free: 53.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/1.426, allocations: 65.88 kB / 0.8172 GB, free: 53.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=254): time 7.043e-06/1.426, allocations: 0 / 0.8172 GB, free: 53.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=320): time 0.09367/1.52, allocations: 34.26 MB / 0.8507 GB, free: 31.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/1.52, allocations: 261.4 kB / 0.8509 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008729/1.529, allocations: 4.703 MB / 0.8555 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009346/1.529, allocations: 73.7 kB / 0.8556 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002749/1.532, allocations: 4.057 MB / 0.8595 GB, free: 23.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001642/1.534, allocations: 1.191 MB / 0.8607 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005743/1.534, allocations: 152 kB / 0.8609 GB, free: 22.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003454/1.535, allocations: 0.6366 MB / 0.8615 GB, free: 22.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004399/1.539, allocations: 3.323 MB / 0.8647 GB, free: 19.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006726/1.546, allocations: 7.568 MB / 0.8721 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006833/1.553, allocations: 4.944 MB / 0.8769 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/1.553, allocations: 44 kB / 0.877 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02538/1.578, allocations: 12.62 MB / 0.8893 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002274/1.579, allocations: 75.56 kB / 0.8894 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003009/1.579, allocations: 148 kB / 0.8895 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005823/1.585, allocations: 2.14 MB / 0.8916 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007079/1.592, allocations: 1.766 MB / 0.8933 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3183/1.91, allocations: 14.81 MB / 0.9078 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008022/1.918, allocations: 456 kB / 0.9082 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002183/1.921, allocations: 455.9 kB / 0.9087 GB, free: 100.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (931): * Single equations (assignments): 926 * 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 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008952/1.93, allocations: 2.809 MB / 0.9114 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/1.931, allocations: 0.4964 MB / 0.9119 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/1.948, allocations: 7.091 MB / 0.9188 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.598e-05/1.948, allocations: 32.88 kB / 0.9188 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-05/1.948, allocations: 16.95 kB / 0.9189 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-05/1.948, allocations: 14.05 kB / 0.9189 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03129/1.979, allocations: 16.07 MB / 0.9346 GB, free: 99.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/1.979, allocations: 10.03 kB / 0.9346 GB, free: 99.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002798/1.982, allocations: 0.5012 MB / 0.9351 GB, free: 99.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004838/1.987, allocations: 1.877 MB / 0.9369 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006186/1.988, allocations: 65.53 kB / 0.937 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/2.005, allocations: 13.32 MB / 0.95 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/2.005, allocations: 9.875 kB / 0.95 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0217/2.027, allocations: 12.19 MB / 0.9619 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004239/2.031, allocations: 1.052 MB / 0.9629 GB, free: 87.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002088/2.033, allocations: 64 kB / 0.963 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004025/2.037, allocations: 217.1 kB / 0.9632 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009597/2.038, allocations: 200.6 kB / 0.9634 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005597/2.039, allocations: 93.64 kB / 0.9635 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008232/2.047, allocations: 3.325 MB / 0.9667 GB, free: 86.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.81e-07/2.047, allocations: 0 / 0.9667 GB, free: 86.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01173/2.059, allocations: 1.504 MB / 0.9682 GB, free: 85.95 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 254 * 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.001647/2.061, allocations: 214.5 kB / 0.9684 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01669/2.077, allocations: 8.299 MB / 0.9765 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.109e-05/2.077, allocations: 0 / 0.9765 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009198/2.087, allocations: 3.937 MB / 0.9803 GB, free: 81.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005536/2.092, allocations: 0.6279 MB / 0.9809 GB, free: 81.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03629/2.129, allocations: 16.88 MB / 0.9974 GB, free: 73.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01196/2.141, allocations: 4.53 MB / 1.002 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009228/2.15, allocations: 2.496 MB / 1.004 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/2.152, allocations: 357.4 kB / 1.005 GB, free: 70.35 MB / 0.5105 GB Notification: Performance of SimCode: time 1.392e-06/2.152, allocations: 4 kB / 1.005 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.1119/2.264, allocations: 60.83 MB / 1.064 GB, free: 19.51 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