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.001295/0.001295, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001266/0.001266, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.419/1.419, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2004/0.2004, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 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.001535/0.001535, allocations: 72.05 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/0.0863, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01071/0.09704, allocations: 12.21 MB / 452.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007883/0.105, allocations: 4.012 MB / 456.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.1065, allocations: 63.88 kB / 456.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.1091, allocations: 1.199 MB / 458.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.1138, allocations: 1.829 MB / 459.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.1156, allocations: 499 kB / 460.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006576/0.1222, allocations: 4.118 MB / 464.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.125, allocations: 1.854 MB / 466.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.127, allocations: 1.222 MB / 467.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.1298, allocations: 1.76 MB / 469.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009415/0.1307, allocations: 235.9 kB / 469.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.1332, allocations: 1.104 MB / 470.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00207/0.1353, allocations: 1.683 MB / 472.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.1382, allocations: 1.972 MB / 474.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006495/0.1448, allocations: 6.214 MB / 480.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1448, allocations: 7.875 kB / 480.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1448, allocations: 0 / 480.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001345/0.1449, allocations: 0 / 480.6 MB, free: 14.68 MB / 366.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.007056/0.152, allocations: 4.346 MB / 484.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1521, allocations: 19.89 kB / 485 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007334/0.1528, allocations: 0.7169 MB / 485.7 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.1644, allocations: 3.189 MB / 488.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00541/0.1698, allocations: 2.88 MB / 491.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.17, allocations: 188.8 kB / 491.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.1713, allocations: 335.5 kB / 492.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/0.1884, allocations: 10.78 MB / 0.4912 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.256e-05/0.1885, allocations: 27.72 kB / 0.4913 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/0.1889, allocations: 123.8 kB / 0.4914 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003855/0.1928, allocations: 2.561 MB / 0.4939 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/0.2103, allocations: 10.29 MB / 0.5039 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2654/0.4758, allocations: 35.84 MB / 0.5389 GB, free: 65.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008077/0.4839, allocations: 4.428 MB / 0.5433 GB, free: 64.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/0.487, allocations: 2.202 MB / 0.5454 GB, free: 64.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.488, allocations: 1.324 MB / 0.5467 GB, free: 63.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.488, allocations: 56.44 kB / 0.5468 GB, free: 63.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=245): time 4.869e-06/0.4881, allocations: 0 / 0.5468 GB, free: 63.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=261): time 0.0364/0.5245, allocations: 17.1 MB / 0.5635 GB, free: 58.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009866/0.5255, allocations: 1.615 MB / 0.565 GB, free: 57.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.5286, allocations: 2.797 MB / 0.5678 GB, free: 56.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003375/0.529, allocations: 60.91 kB / 0.5678 GB, free: 56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.5302, allocations: 2.745 MB / 0.5705 GB, free: 53.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008044/0.531, allocations: 0.9542 MB / 0.5714 GB, free: 52.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/0.5323, allocations: 1.13 MB / 0.5726 GB, free: 51.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.5324, allocations: 313 kB / 0.5728 GB, free: 51.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002898/0.5353, allocations: 2.455 MB / 0.5752 GB, free: 49.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003727/0.539, allocations: 5.503 MB / 0.5806 GB, free: 42.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007597/0.5466, allocations: 8.666 MB / 0.5891 GB, free: 32.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.406e-05/0.5467, allocations: 32 kB / 0.5891 GB, free: 32.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01817/0.5649, allocations: 9.519 MB / 0.5984 GB, free: 22.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.565, allocations: 52 kB / 0.5985 GB, free: 22.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01152/0.5765, allocations: 4.586 MB / 0.6029 GB, free: 17.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.5867, allocations: 2.014 MB / 0.6049 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/0.5908, allocations: 1.302 MB / 0.6062 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006012/0.5968, allocations: 5.28 MB / 0.6113 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/0.601, allocations: 399.6 kB / 0.6117 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007693/0.6018, allocations: 324 kB / 0.612 GB, free: 8.32 MB / 414.1 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 (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.002857/0.6047, allocations: 2.119 MB / 0.6141 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/0.6051, allocations: 284.3 kB / 0.6144 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008855/0.614, allocations: 5.436 MB / 0.6197 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009172/0.6232, allocations: 4.703 MB / 0.6243 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.6233, allocations: 0 / 0.6243 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/0.6233, allocations: 7.969 kB / 0.6243 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02681/0.6501, allocations: 14.76 MB / 0.6387 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/0.6502, allocations: 8 kB / 0.6387 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.652, allocations: 423.3 kB / 0.6391 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004625/0.6566, allocations: 1.249 MB / 0.6403 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/0.6569, allocations: 67.95 kB / 0.6404 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.6619, allocations: 4.741 MB / 0.645 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001009/0.6629, allocations: 1.56 MB / 0.6465 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.6764, allocations: 8.156 MB / 0.6545 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009236/0.6774, allocations: 337.4 kB / 0.6548 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008991/0.6783, allocations: 55.98 kB / 0.6549 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/0.6805, allocations: 203.5 kB / 0.6551 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005199/0.681, allocations: 177.5 kB / 0.6552 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000241/0.6813, allocations: 75.97 kB / 0.6553 GB, free: 11.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003149/0.6844, allocations: 1.725 MB / 0.657 GB, free: 9.297 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.705e-06/0.6845, allocations: 112 / 0.657 GB, free: 9.297 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005105/0.6896, allocations: 1.081 MB / 0.6581 GB, free: 8.223 MB / 462.1 MB 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.01409/0.7037, allocations: 8.703 MB / 0.6666 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0168/0.7205, allocations: 10.27 MB / 0.6766 GB, free: 5.023 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.7206, allocations: 0 / 0.6766 GB, free: 5.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005148/0.7257, allocations: 2.905 MB / 0.6794 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.7287, allocations: 397.3 kB / 0.6798 GB, free: 1.672 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2893/1.018, allocations: 49.1 MB / 0.7277 GB, free: 182.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00448/1.022, allocations: 3.315 MB / 0.731 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004716/1.027, allocations: 2.108 MB / 0.733 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/1.03, allocations: 1.797 MB / 0.7348 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/1.03, allocations: 0 / 0.7348 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09564/1.125, allocations: 65.52 MB / 0.7988 GB, free: 129.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.29, allocations: 8.594 kB / 0.7988 GB, free: 129.3 MB / 0.5137 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