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.001493/0.001493, allocations: 114.2 kB / 16.41 MB, free: 6.5 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.001435/0.001434, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.643/1.643, 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.2476/0.2476, allocations: 43.52 MB / 314.1 MB, free: 464 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.002258/0.002258, allocations: 75.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1296, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01535/0.145, allocations: 12.22 MB / 0.4993 GB, free: 24 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.1552, allocations: 4.004 MB / 0.5033 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.1579, allocations: 63.88 kB / 0.5033 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003689/0.1617, allocations: 1.202 MB / 0.5045 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.1675, allocations: 1.829 MB / 0.5063 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.1694, allocations: 487 kB / 0.5067 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006825/0.1762, allocations: 4.137 MB / 0.5108 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/0.1799, allocations: 1.854 MB / 0.5126 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/0.1826, allocations: 1.226 MB / 0.5138 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003274/0.1859, allocations: 1.756 MB / 0.5155 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.187, allocations: 240 kB / 0.5157 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/0.1903, allocations: 1.096 MB / 0.5168 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0026/0.1929, allocations: 1.695 MB / 0.5185 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003876/0.1968, allocations: 1.96 MB / 0.5204 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.2077, allocations: 6.542 MB / 0.5268 GB, free: 3.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.2077, allocations: 0 / 0.5268 GB, free: 3.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.2077, allocations: 0 / 0.5268 GB, free: 3.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002749/0.208, allocations: 4 kB / 0.5268 GB, free: 3.828 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.2543/0.4623, allocations: 4.461 MB / 0.5311 GB, free: 37.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.4624, allocations: 15.48 kB / 0.5311 GB, free: 37.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001844/0.4643, allocations: 0.7217 MB / 0.5318 GB, free: 37.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.4767, allocations: 3.221 MB / 0.535 GB, free: 36.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007658/0.4844, allocations: 2.895 MB / 0.5378 GB, free: 36.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003777/0.4848, allocations: 187.9 kB / 0.538 GB, free: 36.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/0.487, allocations: 349.4 kB / 0.5383 GB, free: 36.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0241/0.5111, allocations: 10.78 MB / 0.5488 GB, free: 31.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002201/0.5114, allocations: 24.5 kB / 0.5489 GB, free: 31.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/0.5129, allocations: 120.4 kB / 0.549 GB, free: 31.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006341/0.5193, allocations: 2.566 MB / 0.5515 GB, free: 30.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02661/0.5459, allocations: 10.29 MB / 0.5615 GB, free: 22.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06675/0.6127, allocations: 35.74 MB / 0.5964 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009485/0.6223, allocations: 4.43 MB / 0.6008 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004013/0.6263, allocations: 2.197 MB / 0.6029 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/0.6281, allocations: 1.319 MB / 0.6042 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.976e-05/0.6282, allocations: 55.06 kB / 0.6043 GB, free: 10.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 7.675e-06/0.6282, allocations: 3.188 kB / 0.6043 GB, free: 10.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=261): time 0.05177/0.68, allocations: 17.18 MB / 0.621 GB, free: 8.945 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001703/0.6817, allocations: 1.614 MB / 0.6226 GB, free: 7.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005521/0.6873, allocations: 2.808 MB / 0.6253 GB, free: 4.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005497/0.6879, allocations: 57.7 kB / 0.6254 GB, free: 4.277 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002977/0.6909, allocations: 2.858 MB / 0.6282 GB, free: 1.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001656/0.6925, allocations: 0.9998 MB / 0.6292 GB, free: 392 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003789/0.6964, allocations: 1.14 MB / 0.6303 GB, free: 15.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.6965, allocations: 309.1 kB / 0.6306 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00516/0.7017, allocations: 2.455 MB / 0.633 GB, free: 12.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009015/0.7108, allocations: 5.493 MB / 0.6383 GB, free: 5.484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/0.7247, allocations: 8.673 MB / 0.6468 GB, free: 11.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/0.7248, allocations: 28 kB / 0.6468 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02519/0.75, allocations: 9.533 MB / 0.6561 GB, free: 1.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.7502, allocations: 48.94 kB / 0.6562 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01499/0.7652, allocations: 4.588 MB / 0.6607 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/0.7766, allocations: 2.012 MB / 0.6626 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005118/0.7818, allocations: 1.294 MB / 0.6639 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008988/0.7908, allocations: 5.293 MB / 0.6691 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005285/0.7961, allocations: 395.6 kB / 0.6695 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/0.7973, allocations: 331.9 kB / 0.6698 GB, free: 3.488 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.004897/0.8022, allocations: 2.11 MB / 0.6718 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008814/0.8031, allocations: 298 kB / 0.6721 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.8165, allocations: 5.444 MB / 0.6774 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01256/0.8291, allocations: 4.692 MB / 0.682 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.479e-05/0.8292, allocations: 4 kB / 0.682 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.468e-05/0.8293, allocations: 15.89 kB / 0.682 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03237/0.8617, allocations: 14.73 MB / 0.6964 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.558e-05/0.8618, allocations: 12.06 kB / 0.6964 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/0.8639, allocations: 419.3 kB / 0.6968 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005045/0.869, allocations: 1.247 MB / 0.698 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005466/0.8695, allocations: 71.95 kB / 0.6981 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006135/0.8757, allocations: 4.735 MB / 0.7027 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001471/0.8772, allocations: 1.565 MB / 0.7043 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/0.894, allocations: 8.181 MB / 0.7122 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008497/0.8948, allocations: 351 kB / 0.7126 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008288/0.8957, allocations: 59.97 kB / 0.7126 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/0.8978, allocations: 199.7 kB / 0.7128 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000607/0.8985, allocations: 173.5 kB / 0.713 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003106/0.8988, allocations: 75.97 kB / 0.7131 GB, free: 6.074 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00331/0.9021, allocations: 1.729 MB / 0.7148 GB, free: 4.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9021, allocations: 0 / 0.7148 GB, free: 4.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005198/0.9073, allocations: 1.07 MB / 0.7158 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.01784/0.9252, allocations: 8.726 MB / 0.7243 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01388/0.9391, allocations: 6.571 MB / 0.7307 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-05/0.9392, allocations: 4 kB / 0.7307 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006711/0.9459, allocations: 2.909 MB / 0.7336 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/0.95, allocations: 400.1 kB / 0.734 GB, free: 344 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3525/1.303, allocations: 45.93 MB / 0.7788 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004523/1.307, allocations: 3.308 MB / 0.7821 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004137/1.311, allocations: 2.108 MB / 0.7841 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002358/1.314, allocations: 1.807 MB / 0.7859 GB, free: 174 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/1.314, allocations: 0 / 0.7859 GB, free: 174 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/1.414, allocations: 62.48 MB / 0.8469 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.48/39.9, allocations: 7.969 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