Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 105.1 kB / 16.41 MB, free: 6.508 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.002015/0.002016, allocations: 194.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2341/0.2341, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 77.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1101, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01393/0.1241, allocations: 12.21 MB / 0.4993 GB, free: 4 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009369/0.1335, allocations: 4.004 MB / 0.5032 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.1354, allocations: 63.88 kB / 0.5033 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002957/0.1384, allocations: 1.206 MB / 0.5045 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.1433, allocations: 1.829 MB / 0.5063 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.1448, allocations: 491 kB / 0.5067 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00617/0.151, allocations: 4.129 MB / 0.5108 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003024/0.1541, allocations: 1.858 MB / 0.5126 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.1562, allocations: 1.226 MB / 0.5138 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.159, allocations: 1.76 MB / 0.5155 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000768/0.1598, allocations: 236 kB / 0.5157 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.1622, allocations: 1.096 MB / 0.5168 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002173/0.1644, allocations: 1.695 MB / 0.5185 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002988/0.1674, allocations: 1.972 MB / 0.5204 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008733/0.1761, allocations: 6.531 MB / 0.5268 GB, free: 3.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1762, allocations: 0 / 0.5268 GB, free: 3.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1762, allocations: 3.938 kB / 0.5268 GB, free: 3.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001746/0.1764, allocations: 0 / 0.5268 GB, free: 3.805 MB / 414.1 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.239/0.4154, allocations: 4.467 MB / 0.5311 GB, free: 36.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.4154, allocations: 13.2 kB / 0.5311 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001805/0.4173, allocations: 0.721 MB / 0.5318 GB, free: 36.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.4303, allocations: 3.219 MB / 0.535 GB, free: 36.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006627/0.437, allocations: 2.896 MB / 0.5378 GB, free: 35.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.4372, allocations: 190.7 kB / 0.538 GB, free: 35.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/0.4387, allocations: 342.7 kB / 0.5383 GB, free: 35.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/0.4594, allocations: 10.78 MB / 0.5489 GB, free: 31.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.4596, allocations: 23.59 kB / 0.5489 GB, free: 31.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005112/0.4601, allocations: 120.5 kB / 0.549 GB, free: 31.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004163/0.4643, allocations: 2.565 MB / 0.5515 GB, free: 30.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.482, allocations: 10.29 MB / 0.5615 GB, free: 22.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0474/0.5294, allocations: 35.73 MB / 0.5964 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008793/0.5383, allocations: 4.43 MB / 0.6008 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/0.5418, allocations: 2.205 MB / 0.6029 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.5432, allocations: 1.323 MB / 0.6042 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.5433, allocations: 57.44 kB / 0.6043 GB, free: 10.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 4.619e-06/0.5433, allocations: 0 / 0.6043 GB, free: 10.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=261): time 0.04489/0.5882, allocations: 17.17 MB / 0.621 GB, free: 8.812 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001623/0.5899, allocations: 1.614 MB / 0.6226 GB, free: 7.027 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/0.5941, allocations: 2.808 MB / 0.6253 GB, free: 4.207 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005981/0.5947, allocations: 61.69 kB / 0.6254 GB, free: 4.141 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002592/0.5973, allocations: 2.858 MB / 0.6282 GB, free: 1.254 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001541/0.5989, allocations: 0.9958 MB / 0.6292 GB, free: 256 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002031/0.601, allocations: 1.144 MB / 0.6303 GB, free: 15.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6011, allocations: 308 kB / 0.6306 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004038/0.6052, allocations: 2.459 MB / 0.633 GB, free: 12.33 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006822/0.612, allocations: 5.501 MB / 0.6384 GB, free: 5.344 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/0.6239, allocations: 8.654 MB / 0.6468 GB, free: 11.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-05/0.624, allocations: 32 kB / 0.6468 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02462/0.6487, allocations: 9.541 MB / 0.6562 GB, free: 1.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.317e-05/0.6488, allocations: 48.97 kB / 0.6562 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01454/0.6633, allocations: 4.58 MB / 0.6607 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/0.6751, allocations: 2.016 MB / 0.6626 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004913/0.68, allocations: 1.291 MB / 0.6639 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008722/0.6888, allocations: 5.298 MB / 0.6691 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004235/0.6931, allocations: 395.6 kB / 0.6695 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008359/0.6939, allocations: 328 kB / 0.6698 GB, free: 3.359 MB / 0.4981 GB 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 (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.0042/0.6981, allocations: 2.114 MB / 0.6718 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00058/0.6987, allocations: 298 kB / 0.6721 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.7105, allocations: 5.444 MB / 0.6774 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01041/0.7209, allocations: 4.692 MB / 0.682 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.721, allocations: 4 kB / 0.682 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.253e-05/0.721, allocations: 11.95 kB / 0.682 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02857/0.7496, allocations: 14.72 MB / 0.6964 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.058e-05/0.7497, allocations: 15.97 kB / 0.6964 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/0.7518, allocations: 427.3 kB / 0.6968 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004935/0.7567, allocations: 1.24 MB / 0.698 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004012/0.7571, allocations: 67.88 kB / 0.6981 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005835/0.763, allocations: 4.739 MB / 0.7027 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00137/0.7644, allocations: 1.566 MB / 0.7043 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.7794, allocations: 8.185 MB / 0.7122 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/0.7803, allocations: 355 kB / 0.7126 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005218/0.7808, allocations: 51.98 kB / 0.7126 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.7825, allocations: 199.7 kB / 0.7128 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004599/0.783, allocations: 173.5 kB / 0.713 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/0.7832, allocations: 75.97 kB / 0.7131 GB, free: 5.945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002753/0.7859, allocations: 1.733 MB / 0.7148 GB, free: 4.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.51e-07/0.786, allocations: 0 / 0.7148 GB, free: 4.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004861/0.7908, allocations: 1.066 MB / 0.7158 GB, free: 3.141 MB / 0.545 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 (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.01636/0.8072, allocations: 8.723 MB / 0.7243 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01209/0.8193, allocations: 6.575 MB / 0.7307 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.8194, allocations: 4 kB / 0.7307 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00567/0.8251, allocations: 2.905 MB / 0.7336 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.828, allocations: 399.3 kB / 0.734 GB, free: 220 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3027/1.131, allocations: 45.95 MB / 0.7788 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/1.134, allocations: 3.306 MB / 0.7821 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004432/1.138, allocations: 2.111 MB / 0.7841 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002721/1.141, allocations: 1.803 MB / 0.7859 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.643e-06/1.141, allocations: 0 / 0.7859 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1682/1.309, allocations: 62.48 MB / 0.8469 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.63/38.94, allocations: 3.906 kB / 0.8469 GB, free: 113.8 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches