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.001144/0.001144, allocations: 110.7 kB / 16.41 MB, free: 6.48 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.001172/0.001171, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.387/1.387, 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.2041/0.2041, allocations: 43.52 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.001631/0.001631, allocations: 65.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1193, 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.013/0.1323, allocations: 12.22 MB / 0.4993 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009358/0.1417, allocations: 4.004 MB / 0.5032 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.1438, allocations: 67.88 kB / 0.5033 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002754/0.1466, allocations: 1.198 MB / 0.5045 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.151, allocations: 1.829 MB / 0.5063 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1523, allocations: 491 kB / 0.5067 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005293/0.1576, allocations: 4.129 MB / 0.5108 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.1604, allocations: 1.862 MB / 0.5126 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.1624, allocations: 1.226 MB / 0.5138 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.1649, allocations: 1.76 MB / 0.5155 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008618/0.1658, allocations: 236 kB / 0.5157 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.1683, allocations: 1.096 MB / 0.5168 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002146/0.1704, allocations: 1.695 MB / 0.5185 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003306/0.1737, allocations: 1.968 MB / 0.5204 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007012/0.1808, allocations: 6.507 MB / 0.5267 GB, free: 3.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1808, allocations: 0 / 0.5267 GB, free: 3.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1808, allocations: 4 kB / 0.5267 GB, free: 3.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001361/0.181, allocations: 4 kB / 0.5267 GB, free: 3.82 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.2274/0.4083, allocations: 4.34 MB / 0.531 GB, free: 36.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4084, allocations: 13.8 kB / 0.531 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001041/0.4094, allocations: 0.7238 MB / 0.5317 GB, free: 36.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.4206, allocations: 3.19 MB / 0.5348 GB, free: 36.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/0.4259, allocations: 2.891 MB / 0.5376 GB, free: 35.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.426, allocations: 187.2 kB / 0.5378 GB, free: 35.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008925/0.4269, allocations: 343.8 kB / 0.5381 GB, free: 35.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/0.4426, allocations: 10.78 MB / 0.5487 GB, free: 31.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-05/0.4428, allocations: 30.89 kB / 0.5487 GB, free: 31.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/0.4431, allocations: 120.9 kB / 0.5488 GB, free: 31.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003453/0.4466, allocations: 2.563 MB / 0.5513 GB, free: 30.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/0.4615, allocations: 10.28 MB / 0.5614 GB, free: 22.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04453/0.5061, allocations: 35.66 MB / 0.5962 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008164/0.5143, allocations: 4.432 MB / 0.6005 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/0.5174, allocations: 2.205 MB / 0.6027 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.5186, allocations: 1.319 MB / 0.604 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.5187, allocations: 52.56 kB / 0.604 GB, free: 9.965 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 5.49e-06/0.5187, allocations: 4 kB / 0.604 GB, free: 9.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=261): time 0.04063/0.5594, allocations: 17.09 MB / 0.6207 GB, free: 8.715 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001564/0.561, allocations: 1.614 MB / 0.6223 GB, free: 6.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004958/0.5659, allocations: 2.803 MB / 0.625 GB, free: 4.113 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004685/0.5664, allocations: 57.7 kB / 0.6251 GB, free: 4.051 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002103/0.5685, allocations: 2.752 MB / 0.6278 GB, free: 1.258 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/0.5698, allocations: 0.952 MB / 0.6287 GB, free: 300 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002269/0.572, allocations: 1.127 MB / 0.6298 GB, free: 15.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5722, allocations: 305.1 kB / 0.6301 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/0.5758, allocations: 2.455 MB / 0.6325 GB, free: 12.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005867/0.5817, allocations: 5.502 MB / 0.6379 GB, free: 5.402 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.5922, allocations: 8.658 MB / 0.6463 GB, free: 11.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-05/0.5923, allocations: 28 kB / 0.6463 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02156/0.6139, allocations: 9.529 MB / 0.6556 GB, free: 1.684 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.6141, allocations: 48 kB / 0.6557 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01244/0.6265, allocations: 4.581 MB / 0.6602 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009828/0.6364, allocations: 2.022 MB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/0.6408, allocations: 1.298 MB / 0.6634 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007513/0.6483, allocations: 5.289 MB / 0.6686 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/0.6532, allocations: 395.6 kB / 0.6689 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/0.6546, allocations: 324 kB / 0.6693 GB, free: 3.43 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.005267/0.6599, allocations: 2.109 MB / 0.6713 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/0.661, allocations: 284.3 kB / 0.6716 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.6726, allocations: 5.448 MB / 0.6769 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009177/0.6818, allocations: 4.692 MB / 0.6815 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/0.6819, allocations: 8 kB / 0.6815 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.379e-05/0.6819, allocations: 7.969 kB / 0.6815 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02915/0.7111, allocations: 14.72 MB / 0.6959 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-05/0.7112, allocations: 11.94 kB / 0.6959 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/0.7131, allocations: 427.3 kB / 0.6963 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004352/0.7175, allocations: 1.24 MB / 0.6975 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004878/0.718, allocations: 67.97 kB / 0.6976 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.7232, allocations: 4.743 MB / 0.7022 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001159/0.7243, allocations: 1.553 MB / 0.7037 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.7384, allocations: 8.164 MB / 0.7117 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008519/0.7393, allocations: 341.5 kB / 0.712 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008622/0.7401, allocations: 59.92 kB / 0.7121 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/0.7421, allocations: 215.7 kB / 0.7123 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005704/0.7427, allocations: 165.5 kB / 0.7124 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003147/0.7431, allocations: 75.98 kB / 0.7125 GB, free: 6.066 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003185/0.7463, allocations: 1.725 MB / 0.7142 GB, free: 4.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7463, allocations: 0 / 0.7142 GB, free: 4.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005142/0.7514, allocations: 1.069 MB / 0.7152 GB, free: 3.27 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.01479/0.7662, allocations: 8.71 MB / 0.7237 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01106/0.7773, allocations: 6.563 MB / 0.7302 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/0.7774, allocations: 4 kB / 0.7302 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005221/0.7826, allocations: 2.91 MB / 0.733 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/0.7858, allocations: 398.9 kB / 0.7334 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3322/1.118, allocations: 45.77 MB / 0.7781 GB, free: 177 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/1.121, allocations: 3.309 MB / 0.7813 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003663/1.125, allocations: 2.113 MB / 0.7834 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/1.127, allocations: 1.805 MB / 0.7851 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.352e-06/1.127, allocations: 0 / 0.7851 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09599/1.223, allocations: 63.55 MB / 0.8472 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.34/37.56, allocations: 10.03 kB / 0.8472 GB, free: 113.3 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