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.001093/0.001093, allocations: 106.5 kB / 16.27 MB, free: 6.41 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.001101/0.001101, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.401/1.401, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2157/0.2157, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.001508/0.001508, allocations: 70.19 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09736, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01078/0.1082, allocations: 12.21 MB / 452.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008707/0.1169, allocations: 4.019 MB / 456.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.1189, allocations: 59.88 kB / 456.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.122, allocations: 1.187 MB / 458.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.1277, allocations: 1.837 MB / 459.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.1297, allocations: 0.4911 MB / 460.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006253/0.136, allocations: 4.113 MB / 464.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.1391, allocations: 1.858 MB / 466.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.1415, allocations: 1.222 MB / 467.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.1441, allocations: 1.752 MB / 469.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008693/0.145, allocations: 232 kB / 469.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.1475, allocations: 1.108 MB / 470.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.1495, allocations: 1.691 MB / 472.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.1518, allocations: 1.968 MB / 474.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005986/0.1578, allocations: 6.207 MB / 480.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1578, allocations: 4 kB / 480.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1578, allocations: 7.875 kB / 480.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00013/0.158, allocations: 0 / 480.6 MB, free: 14.67 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.007006/0.165, allocations: 4.35 MB / 484.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.165, allocations: 15.83 kB / 484.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000797/0.1658, allocations: 0.7247 MB / 485.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/0.1777, allocations: 3.189 MB / 488.9 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00556/0.1833, allocations: 2.876 MB / 491.7 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.1834, allocations: 188.8 kB / 491.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009237/0.1844, allocations: 343.5 kB / 492.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.2011, allocations: 10.78 MB / 0.4912 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/0.2013, allocations: 31.7 kB / 0.4913 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003983/0.2017, allocations: 115.8 kB / 0.4914 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004039/0.2057, allocations: 2.565 MB / 0.4939 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.2248, allocations: 10.29 MB / 0.5039 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2964/0.5212, allocations: 35.85 MB / 0.5389 GB, free: 65.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00837/0.5296, allocations: 4.425 MB / 0.5433 GB, free: 64.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003255/0.5329, allocations: 2.206 MB / 0.5454 GB, free: 64.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.534, allocations: 1.325 MB / 0.5467 GB, free: 63.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.5341, allocations: 55.44 kB / 0.5468 GB, free: 63.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=245): time 5.521e-06/0.5341, allocations: 1.031 kB / 0.5468 GB, free: 63.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=261): time 0.0375/0.5716, allocations: 17.09 MB / 0.5635 GB, free: 58.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001056/0.5727, allocations: 1.61 MB / 0.565 GB, free: 57.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003441/0.5762, allocations: 2.802 MB / 0.5678 GB, free: 56.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005354/0.5767, allocations: 65.3 kB / 0.5678 GB, free: 56.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.5785, allocations: 2.741 MB / 0.5705 GB, free: 53.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.5798, allocations: 0.9576 MB / 0.5714 GB, free: 52.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.5814, allocations: 1.13 MB / 0.5725 GB, free: 51.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.5815, allocations: 309.1 kB / 0.5728 GB, free: 51.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/0.5845, allocations: 2.461 MB / 0.5752 GB, free: 48.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004128/0.5887, allocations: 5.501 MB / 0.5806 GB, free: 42.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008085/0.5968, allocations: 8.663 MB / 0.5891 GB, free: 32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.76e-05/0.5969, allocations: 32 kB / 0.5891 GB, free: 31.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02003/0.617, allocations: 9.512 MB / 0.5984 GB, free: 22.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.617, allocations: 57.12 kB / 0.5984 GB, free: 22.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01196/0.629, allocations: 4.597 MB / 0.6029 GB, free: 17.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/0.6394, allocations: 2.013 MB / 0.6049 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00454/0.644, allocations: 1.294 MB / 0.6062 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006533/0.6506, allocations: 5.284 MB / 0.6113 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005353/0.656, allocations: 403 kB / 0.6117 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008857/0.6569, allocations: 329.5 kB / 0.612 GB, free: 8.191 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.004393/0.6613, allocations: 2.114 MB / 0.6141 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006396/0.6619, allocations: 288.2 kB / 0.6144 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009087/0.671, allocations: 5.436 MB / 0.6197 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009375/0.6804, allocations: 4.7 MB / 0.6243 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/0.6805, allocations: 0 / 0.6243 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.623e-05/0.6805, allocations: 11.97 kB / 0.6243 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02793/0.7085, allocations: 14.76 MB / 0.6387 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.7085, allocations: 8 kB / 0.6387 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.7104, allocations: 423.3 kB / 0.6391 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004647/0.715, allocations: 1.252 MB / 0.6403 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004147/0.7155, allocations: 59.97 kB / 0.6404 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00574/0.7212, allocations: 4.745 MB / 0.645 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001164/0.7224, allocations: 1.556 MB / 0.6465 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/0.7372, allocations: 8.167 MB / 0.6545 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.7384, allocations: 333.4 kB / 0.6548 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/0.7389, allocations: 55.98 kB / 0.6549 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.7405, allocations: 199.7 kB / 0.6551 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/0.741, allocations: 169.5 kB / 0.6552 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/0.7412, allocations: 79.34 kB / 0.6553 GB, free: 10.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002955/0.7441, allocations: 1.737 MB / 0.657 GB, free: 9.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7442, allocations: 4 kB / 0.657 GB, free: 9.156 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005267/0.7494, allocations: 1.064 MB / 0.658 GB, free: 8.098 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.01416/0.7636, allocations: 8.718 MB / 0.6666 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01806/0.7817, allocations: 10.26 MB / 0.6766 GB, free: 4.895 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/0.7818, allocations: 384 / 0.6766 GB, free: 4.895 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005372/0.7871, allocations: 2.908 MB / 0.6794 GB, free: 1.918 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.7903, allocations: 403.8 kB / 0.6798 GB, free: 1.531 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3154/1.106, allocations: 49.09 MB / 0.7277 GB, free: 182 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004572/1.11, allocations: 3.308 MB / 0.731 GB, free: 181.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004962/1.115, allocations: 2.11 MB / 0.733 GB, free: 181.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/1.118, allocations: 1.805 MB / 0.7348 GB, free: 181.2 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/1.118, allocations: 0 / 0.7348 GB, free: 181.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/1.218, allocations: 65.51 MB / 0.7988 GB, free: 128.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/14.25, allocations: 8.641 kB / 0.7988 GB, free: 128.6 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/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