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.001231/0.00123, allocations: 109.7 kB / 16.41 MB, free: 6.445 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.001213/0.001213, allocations: 185.5 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.337/1.337, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1939/0.1939, allocations: 43.52 MB / 314.1 MB, free: 468 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.001405/0.001405, allocations: 68.28 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01213/0.1182, allocations: 12.21 MB / 0.4993 GB, free: 12 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007704/0.126, allocations: 4.015 MB / 0.5033 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.128, allocations: 63.88 kB / 0.5033 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.1306, allocations: 1.199 MB / 0.5045 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.135, allocations: 1.872 MB / 0.5063 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.1363, allocations: 491 kB / 0.5068 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005291/0.1416, allocations: 4.13 MB / 0.5108 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003131/0.1448, allocations: 1.854 MB / 0.5126 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.1472, allocations: 1.23 MB / 0.5138 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.1499, allocations: 1.76 MB / 0.5155 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008358/0.1508, allocations: 236 kB / 0.5158 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.1532, allocations: 1.1 MB / 0.5168 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002044/0.1553, allocations: 1.698 MB / 0.5185 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003176/0.1585, allocations: 1.96 MB / 0.5204 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00831/0.1669, allocations: 6.535 MB / 0.5268 GB, free: 3.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1669, allocations: 0 / 0.5268 GB, free: 3.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1669, allocations: 0 / 0.5268 GB, free: 3.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002164/0.1671, allocations: 7.984 kB / 0.5268 GB, free: 3.762 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.2285/0.3957, allocations: 4.457 MB / 0.5312 GB, free: 37.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.3957, allocations: 14.67 kB / 0.5312 GB, free: 37.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001186/0.3969, allocations: 0.7224 MB / 0.5319 GB, free: 37.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.4093, allocations: 3.222 MB / 0.535 GB, free: 36.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00761/0.417, allocations: 2.903 MB / 0.5379 GB, free: 36.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.4173, allocations: 187.6 kB / 0.538 GB, free: 36.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.4191, allocations: 343.9 kB / 0.5384 GB, free: 36.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/0.4381, allocations: 10.79 MB / 0.5489 GB, free: 31.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.676e-05/0.4383, allocations: 24.03 kB / 0.5489 GB, free: 31.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/0.4387, allocations: 120.2 kB / 0.549 GB, free: 31.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003989/0.4427, allocations: 2.566 MB / 0.5515 GB, free: 30.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.4592, allocations: 10.28 MB / 0.5616 GB, free: 22.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04547/0.5047, allocations: 35.74 MB / 0.5965 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007737/0.5125, allocations: 4.43 MB / 0.6008 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002901/0.5154, allocations: 2.205 MB / 0.603 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.5166, allocations: 1.319 MB / 0.6043 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.5167, allocations: 52.56 kB / 0.6043 GB, free: 10.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 5.871e-06/0.5167, allocations: 0 / 0.6043 GB, free: 10.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=261): time 0.03853/0.5552, allocations: 17.18 MB / 0.6211 GB, free: 8.934 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001309/0.5566, allocations: 1.614 MB / 0.6227 GB, free: 7.148 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/0.5599, allocations: 2.808 MB / 0.6254 GB, free: 4.328 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003172/0.5603, allocations: 61.7 kB / 0.6255 GB, free: 4.262 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001573/0.5618, allocations: 2.85 MB / 0.6282 GB, free: 1.383 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009013/0.5627, allocations: 1.004 MB / 0.6292 GB, free: 380 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/0.5641, allocations: 1.144 MB / 0.6303 GB, free: 15.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.5642, allocations: 305.2 kB / 0.6306 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003364/0.5676, allocations: 2.451 MB / 0.633 GB, free: 12.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005394/0.573, allocations: 5.501 MB / 0.6384 GB, free: 5.469 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/0.583, allocations: 8.662 MB / 0.6469 GB, free: 11.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.596e-05/0.5831, allocations: 28 kB / 0.6469 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02061/0.6038, allocations: 9.541 MB / 0.6562 GB, free: 1.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.6039, allocations: 52.95 kB / 0.6562 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01287/0.6168, allocations: 4.584 MB / 0.6607 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.6275, allocations: 2.012 MB / 0.6627 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00451/0.6321, allocations: 1.302 MB / 0.664 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007278/0.6394, allocations: 5.286 MB / 0.6691 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/0.6437, allocations: 395.6 kB / 0.6695 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008658/0.6446, allocations: 327.9 kB / 0.6698 GB, free: 3.48 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.003945/0.6486, allocations: 2.109 MB / 0.6719 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/0.6493, allocations: 298 kB / 0.6722 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/0.6598, allocations: 5.451 MB / 0.6775 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009253/0.6691, allocations: 4.684 MB / 0.6821 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.6691, allocations: 4 kB / 0.6821 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.6691, allocations: 15.98 kB / 0.6821 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02436/0.6935, allocations: 14.72 MB / 0.6964 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/0.6935, allocations: 12.03 kB / 0.6965 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/0.6955, allocations: 435.3 kB / 0.6969 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004527/0.7, allocations: 1.236 MB / 0.6981 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004/0.7004, allocations: 63.95 kB / 0.6981 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005148/0.7056, allocations: 4.745 MB / 0.7028 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001174/0.7068, allocations: 1.562 MB / 0.7043 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/0.7204, allocations: 8.181 MB / 0.7123 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/0.7212, allocations: 351 kB / 0.7126 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005522/0.7218, allocations: 55.98 kB / 0.7127 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.7234, allocations: 199.7 kB / 0.7129 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000389/0.7238, allocations: 177.5 kB / 0.713 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.724, allocations: 79.97 kB / 0.7131 GB, free: 6.062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002357/0.7263, allocations: 1.736 MB / 0.7148 GB, free: 4.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7264, allocations: 0 / 0.7148 GB, free: 4.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004243/0.7306, allocations: 1.062 MB / 0.7158 GB, free: 3.262 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.01328/0.7439, allocations: 8.723 MB / 0.7244 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01094/0.7549, allocations: 6.575 MB / 0.7308 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/0.7549, allocations: 4 kB / 0.7308 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005701/0.7607, allocations: 2.909 MB / 0.7336 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/0.7639, allocations: 401.7 kB / 0.734 GB, free: 336 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2758/1.04, allocations: 45.94 MB / 0.7789 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003113/1.043, allocations: 3.298 MB / 0.7821 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003819/1.047, allocations: 2.115 MB / 0.7842 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002074/1.049, allocations: 1.799 MB / 0.7859 GB, free: 174 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.049, allocations: 0 / 0.7859 GB, free: 174 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08718/1.136, allocations: 62.48 MB / 0.8469 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.14/38.28, allocations: 11.84 kB / 0.8469 GB, free: 114.2 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 & 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