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.002541/0.002541, allocations: 182.2 kB / 16.4 MB, free: 5.754 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.081/2.081, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001232/0.001232, allocations: 101.2 kB / 270.9 MB, free: 8.363 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.533/0.533, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.0005009, allocations: 16 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1316, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.4008/0.5325, allocations: 25.3 MB / 0.5034 GB, free: 32.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.5511, allocations: 6.717 MB / 0.51 GB, free: 28.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006319/0.5575, allocations: 116.7 kB / 0.5101 GB, free: 28.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.5623, allocations: 1.299 MB / 0.5114 GB, free: 27.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01552/0.5779, allocations: 3.943 MB / 0.5152 GB, free: 25.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.5806, allocations: 405.5 kB / 0.5156 GB, free: 25.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005254/0.5859, allocations: 2.207 MB / 0.5178 GB, free: 24.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004367/0.5903, allocations: 2.207 MB / 0.5199 GB, free: 23.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.5925, allocations: 0.894 MB / 0.5208 GB, free: 23.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.595, allocations: 1.24 MB / 0.522 GB, free: 23.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008071/0.5958, allocations: 134.6 kB / 0.5221 GB, free: 23.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.5986, allocations: 0.8808 MB / 0.523 GB, free: 23.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002206/0.6009, allocations: 1.466 MB / 0.5244 GB, free: 22.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.602, allocations: 0.7731 MB / 0.5252 GB, free: 22.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007513/0.6096, allocations: 4.904 MB / 0.53 GB, free: 21.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6096, allocations: 0 / 0.53 GB, free: 21.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6097, allocations: 3.219 kB / 0.53 GB, free: 21.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000256/0.6099, allocations: 0 / 0.53 GB, free: 21.07 MB / 378.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.01174/0.6217, allocations: 3.693 MB / 0.5336 GB, free: 18.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.6217, allocations: 9.938 kB / 0.5336 GB, free: 18.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02473/0.6465, allocations: 3.862 MB / 0.5374 GB, free: 17.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007797/0.6543, allocations: 2.426 MB / 0.5397 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003283/0.6547, allocations: 193.4 kB / 0.5399 GB, free: 16.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00265/0.6574, allocations: 342.5 kB / 0.5402 GB, free: 16.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03072/0.6882, allocations: 10.83 MB / 0.5508 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/0.6884, allocations: 27.34 kB / 0.5508 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001699/0.6901, allocations: 119.7 kB / 0.551 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007348/0.6975, allocations: 2.559 MB / 0.5535 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03007/0.7276, allocations: 10.33 MB / 0.5636 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08758/0.8152, allocations: 35.99 MB / 0.5987 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/0.8295, allocations: 4.429 MB / 0.603 GB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/0.8317, allocations: 1.319 MB / 0.6043 GB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/0.8318, allocations: 52.56 kB / 0.6044 GB, free: 3.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 6.342e-06/0.8318, allocations: 0 / 0.6044 GB, free: 3.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=261): time 0.07941/0.9112, allocations: 17.65 MB / 0.6216 GB, free: 1.855 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001925/0.9132, allocations: 1.543 MB / 0.6231 GB, free: 156 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007249/0.9205, allocations: 2.998 MB / 0.626 GB, free: 13.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007327/0.9213, allocations: 57.7 kB / 0.6261 GB, free: 13.08 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003205/0.9245, allocations: 2.731 MB / 0.6288 GB, free: 10.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001982/0.9266, allocations: 0.9597 MB / 0.6297 GB, free: 9.336 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008337/0.9274, allocations: 112 kB / 0.6298 GB, free: 9.227 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006473/0.9281, allocations: 0.5508 MB / 0.6303 GB, free: 8.664 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00744/0.9356, allocations: 2.467 MB / 0.6327 GB, free: 6.191 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/0.9465, allocations: 5.481 MB / 0.6381 GB, free: 15.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.9568, allocations: 3.669 MB / 0.6417 GB, free: 11.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/0.957, allocations: 32 kB / 0.6417 GB, free: 11.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0428/0.9998, allocations: 9.755 MB / 0.6512 GB, free: 1.742 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1, allocations: 55.95 kB / 0.6513 GB, free: 1.688 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02766/1.028, allocations: 4.91 MB / 0.6561 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02277/1.05, allocations: 2.394 MB / 0.6584 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008437/1.059, allocations: 1.298 MB / 0.6597 GB, free: 9.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/1.075, allocations: 6.145 MB / 0.6657 GB, free: 2.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006701/1.081, allocations: 407.5 kB / 0.6661 GB, free: 2.242 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.083, allocations: 327.9 kB / 0.6664 GB, free: 1.922 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (692): * Single equations (assignments): 680 * 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.006239/1.089, allocations: 2.112 MB / 0.6685 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007753/1.09, allocations: 284.3 kB / 0.6687 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/1.11, allocations: 5.44 MB / 0.674 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01796/1.128, allocations: 4.676 MB / 0.6786 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/1.128, allocations: 7.953 kB / 0.6786 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-05/1.128, allocations: 11.95 kB / 0.6786 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3861/1.514, allocations: 14.74 MB / 0.693 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-05/1.514, allocations: 8.594 kB / 0.693 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003916/1.518, allocations: 420 kB / 0.6934 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008639/1.527, allocations: 1.244 MB / 0.6946 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007875/1.528, allocations: 66.41 kB / 0.6947 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/1.535, allocations: 4.523 MB / 0.6991 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001251/1.536, allocations: 1.482 MB / 0.7006 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02382/1.56, allocations: 8.971 MB / 0.7093 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.561, allocations: 351.6 kB / 0.7097 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/1.563, allocations: 54.53 kB / 0.7097 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003714/1.566, allocations: 200.5 kB / 0.7099 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00117/1.568, allocations: 170.2 kB / 0.7101 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000359/1.568, allocations: 80.69 kB / 0.7101 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004679/1.573, allocations: 1.869 MB / 0.712 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.11e-07/1.573, allocations: 5.469 kB / 0.712 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007263/1.58, allocations: 1.105 MB / 0.7131 GB, free: 141.4 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 () * Number of clocked 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.001251/1.581, allocations: 207.5 kB / 0.7133 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0191/1.6, allocations: 6.515 MB / 0.7196 GB, free: 139 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.218e-05/1.6, allocations: 2.375 kB / 0.7196 GB, free: 139 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009858/1.61, allocations: 2.895 MB / 0.7224 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/1.614, allocations: 357.6 kB / 0.7228 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02929/1.643, allocations: 13.03 MB / 0.7355 GB, free: 131 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006363/1.65, allocations: 3.403 MB / 0.7388 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/1.652, allocations: 273.5 kB / 0.7391 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.373e-06/1.652, allocations: 1.938 kB / 0.7391 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.2151/1.867, allocations: 127.1 MB / 0.8632 GB, free: 6.48 MB / 0.4948 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