Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001048, allocations: 98.47 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.217/0.217, allocations: 44.26 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 10.03 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 61.94 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.03038/0.199, allocations: 26.4 MB / 498 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02021/0.2193, allocations: 6.444 MB / 0.4926 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007311/0.2267, allocations: 119.7 kB / 0.4927 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004794/0.2315, allocations: 1.268 MB / 0.494 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.2451, allocations: 4.016 MB / 0.4979 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.2475, allocations: 415.3 kB / 0.4983 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007135/0.2546, allocations: 4.242 MB / 0.5024 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004887/0.2595, allocations: 2.17 MB / 0.5046 GB, free: 452 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3091/0.5686, allocations: 1.024 MB / 0.5056 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003622/0.5723, allocations: 1.672 MB / 0.5072 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008721/0.5732, allocations: 125.4 kB / 0.5073 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.576, allocations: 0.9035 MB / 0.5082 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002491/0.5785, allocations: 1.519 MB / 0.5097 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.5798, allocations: 0.7489 MB / 0.5104 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007652/0.5875, allocations: 4.727 MB / 0.515 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.5875, allocations: 1.031 kB / 0.515 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5875, allocations: 1.688 kB / 0.515 GB, free: 12.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002352/0.5878, allocations: 0 / 0.515 GB, free: 12.64 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01061/0.5984, allocations: 3.515 MB / 0.5185 GB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.5985, allocations: 8.75 kB / 0.5185 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.6101, allocations: 3.237 MB / 0.5216 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006176/0.6163, allocations: 2.049 MB / 0.5236 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.6165, allocations: 189.3 kB / 0.5238 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.6178, allocations: 332.3 kB / 0.5241 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.6345, allocations: 10.48 MB / 0.5344 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.684e-05/0.6347, allocations: 33.19 kB / 0.5344 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003977/0.6351, allocations: 112.2 kB / 0.5345 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003573/0.6387, allocations: 2.494 MB / 0.5369 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/0.6568, allocations: 9.972 MB / 0.5467 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05641/0.7133, allocations: 35.02 MB / 0.5809 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007908/0.7212, allocations: 4.299 MB / 0.5851 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/0.7246, allocations: 2.15 MB / 0.5872 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.7261, allocations: 1.314 MB / 0.5884 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.639e-05/0.7262, allocations: 55.38 kB / 0.5885 GB, free: 7.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 8.446e-06/0.7262, allocations: 0 / 0.5885 GB, free: 7.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.04172/0.7679, allocations: 16.73 MB / 0.6048 GB, free: 6.863 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00154/0.7695, allocations: 1.526 MB / 0.6063 GB, free: 5.188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005666/0.7752, allocations: 2.696 MB / 0.609 GB, free: 2.477 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006552/0.7759, allocations: 57.7 kB / 0.609 GB, free: 2.414 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002412/0.7783, allocations: 2.659 MB / 0.6116 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001699/0.78, allocations: 0.9296 MB / 0.6125 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006733/0.7807, allocations: 111.9 kB / 0.6126 GB, free: 14.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004807/0.7812, allocations: 0.5493 MB / 0.6132 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/0.7851, allocations: 2.396 MB / 0.6155 GB, free: 11.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006557/0.7917, allocations: 5.371 MB / 0.6207 GB, free: 5.012 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006134/0.7978, allocations: 3.591 MB / 0.6243 GB, free: 1.512 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.735e-05/0.7979, allocations: 32 kB / 0.6243 GB, free: 1.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=740) (initialization): time 0.02393/0.8219, allocations: 9.616 MB / 0.6337 GB, free: 8.406 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.8221, allocations: 52 kB / 0.6337 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01464/0.8368, allocations: 4.804 MB / 0.6384 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/0.8476, allocations: 2.388 MB / 0.6407 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004993/0.8526, allocations: 1.263 MB / 0.642 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008904/0.8615, allocations: 5.841 MB / 0.6477 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005272/0.8668, allocations: 391.6 kB / 0.6481 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/0.8683, allocations: 321.5 kB / 0.6484 GB, free: 9.062 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (678): * Single equations (assignments): 666 * 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.005992/0.8743, allocations: 2.066 MB / 0.6504 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008626/0.8752, allocations: 276.5 kB / 0.6506 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.8865, allocations: 5.304 MB / 0.6558 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008857/0.8954, allocations: 4.593 MB / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/0.8954, allocations: 0 / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/0.8955, allocations: 7.969 kB / 0.6603 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03161/0.9271, allocations: 14.43 MB / 0.6744 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.977e-05/0.9272, allocations: 13.75 kB / 0.6744 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/0.9292, allocations: 403.4 kB / 0.6748 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004022/0.9332, allocations: 1.244 MB / 0.676 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004172/0.9336, allocations: 63.95 kB / 0.6761 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004781/0.9384, allocations: 4.44 MB / 0.6804 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001053/0.9395, allocations: 1.467 MB / 0.6818 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/0.9547, allocations: 7.975 MB / 0.6896 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.9559, allocations: 329.5 kB / 0.69 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/0.957, allocations: 55.98 kB / 0.69 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/0.9592, allocations: 195.7 kB / 0.6902 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005011/0.9597, allocations: 163.9 kB / 0.6903 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/0.96, allocations: 71.98 kB / 0.6904 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00388/0.9639, allocations: 1.644 MB / 0.692 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9639, allocations: 0 / 0.692 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006392/0.9703, allocations: 1.053 MB / 0.6931 GB, free: 10.43 MB / 0.5294 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 (192): * Single equations (assignments): 182 * 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.0007498/0.9711, allocations: 201.6 kB / 0.6932 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01209/0.9832, allocations: 6.409 MB / 0.6995 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.9832, allocations: 0 / 0.6995 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005514/0.9888, allocations: 2.835 MB / 0.7023 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004715/0.9935, allocations: 373.5 kB / 0.7026 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.341/1.335, allocations: 12.23 MB / 0.7146 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004338/1.339, allocations: 3.236 MB / 0.7177 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005135/1.344, allocations: 2.073 MB / 0.7198 GB, free: 155 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/1.345, allocations: 212.1 kB / 0.72 GB, free: 155 MB / 0.5294 GB Notification: Performance of SimCode: time 1.233e-06/1.345, allocations: 0 / 0.72 GB, free: 155 MB / 0.5294 GB Notification: Performance of Templates: time 0.06084/1.406, allocations: 34.29 MB / 0.7534 GB, free: 132.7 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches