Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001223, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2477/0.2477, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001787, allocations: 78.94 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1352, allocations: 62.44 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01297/0.1482, allocations: 11.71 MB / 491.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009893/0.1581, allocations: 3.944 MB / 495.8 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.1606, allocations: 59.88 kB / 495.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003342/0.164, allocations: 1.171 MB / 497 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005946/0.17, allocations: 1.728 MB / 498.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1717, allocations: 0.4951 MB / 499.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006532/0.1782, allocations: 4.052 MB / 0.4915 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.1818, allocations: 1.787 MB / 0.4932 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/0.1848, allocations: 1.156 MB / 0.4944 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00355/0.1884, allocations: 1.658 MB / 0.496 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.1895, allocations: 216 kB / 0.4962 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.1927, allocations: 1.069 MB / 0.4972 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002279/0.195, allocations: 1.589 MB / 0.4988 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003609/0.1987, allocations: 1.836 MB / 0.5006 GB, free: 4.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2579/0.4566, allocations: 5.822 MB / 0.5063 GB, free: 18.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4567, allocations: 0 / 0.5063 GB, free: 18.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4567, allocations: 0.5 kB / 0.5063 GB, free: 18.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002411/0.4569, allocations: 3.281 kB / 0.5063 GB, free: 18.7 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: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.01009/0.467, allocations: 4.127 MB / 0.5103 GB, free: 17.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4671, allocations: 9.469 kB / 0.5103 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001343/0.4684, allocations: 0.6851 MB / 0.511 GB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.4811, allocations: 3.205 MB / 0.5141 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005851/0.4869, allocations: 2.45 MB / 0.5165 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.4872, allocations: 184 kB / 0.5167 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002002/0.4892, allocations: 328.2 kB / 0.517 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01929/0.5085, allocations: 10.3 MB / 0.527 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.5087, allocations: 29.78 kB / 0.5271 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005476/0.5093, allocations: 109.7 kB / 0.5272 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003335/0.5126, allocations: 2.442 MB / 0.5296 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/0.5284, allocations: 9.841 MB / 0.5392 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04826/0.5767, allocations: 34.58 MB / 0.5729 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007745/0.5845, allocations: 4.301 MB / 0.5771 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003009/0.5875, allocations: 2.158 MB / 0.5793 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.5887, allocations: 1.314 MB / 0.5805 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.5888, allocations: 56.55 kB / 0.5806 GB, free: 12.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 4.539e-06/0.5888, allocations: 0 / 0.5806 GB, free: 12.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.04235/0.6311, allocations: 16.73 MB / 0.5969 GB, free: 11.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00135/0.6325, allocations: 1.614 MB / 0.5985 GB, free: 9.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004305/0.6368, allocations: 2.688 MB / 0.6011 GB, free: 6.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004953/0.6374, allocations: 60.28 kB / 0.6012 GB, free: 6.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00177/0.6391, allocations: 2.605 MB / 0.6037 GB, free: 4.176 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.6404, allocations: 0.924 MB / 0.6046 GB, free: 3.262 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002458/0.6429, allocations: 1.09 MB / 0.6057 GB, free: 2.164 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.643, allocations: 302.8 kB / 0.606 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/0.6468, allocations: 2.388 MB / 0.6083 GB, free: 15.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005722/0.6525, allocations: 5.316 MB / 0.6135 GB, free: 8.781 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/0.6629, allocations: 8.387 MB / 0.6217 GB, free: 15.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.753e-05/0.663, allocations: 28 kB / 0.6217 GB, free: 15.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.02189/0.6849, allocations: 9.351 MB / 0.6309 GB, free: 6.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.685, allocations: 50.66 kB / 0.6309 GB, free: 6.273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0134/0.6984, allocations: 4.558 MB / 0.6354 GB, free: 1.703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/0.7096, allocations: 2.098 MB / 0.6374 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004351/0.7139, allocations: 1.24 MB / 0.6386 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/0.7218, allocations: 5.308 MB / 0.6438 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006342/0.7282, allocations: 390.5 kB / 0.6442 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/0.7304, allocations: 316 kB / 0.6445 GB, free: 8.074 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.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 (664): * Single equations (assignments): 652 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00648/0.7369, allocations: 2.023 MB / 0.6465 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/0.7379, allocations: 268.6 kB / 0.6467 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.7498, allocations: 5.324 MB / 0.6519 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009948/0.7598, allocations: 4.603 MB / 0.6564 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/0.7599, allocations: 3.984 kB / 0.6564 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/0.7599, allocations: 11.97 kB / 0.6564 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03001/0.7899, allocations: 14.32 MB / 0.6704 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-05/0.79, allocations: 12.25 kB / 0.6704 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/0.7919, allocations: 406.4 kB / 0.6708 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004682/0.7966, allocations: 1.24 MB / 0.672 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005222/0.7971, allocations: 70.64 kB / 0.6721 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005481/0.8026, allocations: 4.747 MB / 0.6767 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001128/0.8038, allocations: 1.562 MB / 0.6782 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/0.8191, allocations: 8 MB / 0.686 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009324/0.8201, allocations: 325.6 kB / 0.6864 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009139/0.821, allocations: 51.92 kB / 0.6864 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/0.8232, allocations: 202.4 kB / 0.6866 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006917/0.8239, allocations: 164.8 kB / 0.6868 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003201/0.8242, allocations: 75.98 kB / 0.6868 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003297/0.8275, allocations: 1.662 MB / 0.6885 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.8275, allocations: 0 / 0.6885 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006138/0.8337, allocations: 1.002 MB / 0.6894 GB, free: 9.137 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01438/0.8481, allocations: 8.543 MB / 0.6978 GB, free: 432 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01713/0.8653, allocations: 9.816 MB / 0.7074 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/0.8653, allocations: 448 / 0.7074 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005593/0.8709, allocations: 2.852 MB / 0.7101 GB, free: 3.648 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003673/0.8747, allocations: 392.8 kB / 0.7105 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2937/1.168, allocations: 47.31 MB / 0.7567 GB, free: 174 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003321/1.172, allocations: 3.188 MB / 0.7598 GB, free: 170.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004211/1.176, allocations: 2.048 MB / 0.7618 GB, free: 168.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/1.178, allocations: 1.698 MB / 0.7635 GB, free: 167.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.592e-06/1.178, allocations: 0 / 0.7635 GB, free: 167.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09606/1.274, allocations: 63.34 MB / 0.8254 GB, free: 104 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.56, allocations: 6.734 kB / 0.8254 GB, free: 104 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches