Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",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.001666/0.001666, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001878/0.001878, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.355/1.355, 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.2098/0.2098, allocations: 43.53 MB / 314.1 MB, free: 460 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.001809/0.00181, allocations: 63.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1164, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01634/0.1328, allocations: 15.74 MB / 0.5028 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.143, allocations: 4.498 MB / 0.5072 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.1458, allocations: 79.81 kB / 0.5072 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004915/0.1507, allocations: 2.254 MB / 0.5094 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005864/0.1567, allocations: 2.062 MB / 0.5115 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.1588, allocations: 0.6239 MB / 0.5121 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007539/0.1664, allocations: 4.467 MB / 0.5164 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006143/0.1726, allocations: 3.22 MB / 0.5196 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.1762, allocations: 1.674 MB / 0.5212 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.1801, allocations: 2.274 MB / 0.5234 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.1815, allocations: 348 kB / 0.5238 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.1845, allocations: 1.045 MB / 0.5248 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.1873, allocations: 2.061 MB / 0.5268 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004273/0.1916, allocations: 2.504 MB / 0.5292 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2434/0.4351, allocations: 8.047 MB / 0.5371 GB, free: 10.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4351, allocations: 1.125 kB / 0.5371 GB, free: 10.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4351, allocations: 2.062 kB / 0.5371 GB, free: 10.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003647/0.4355, allocations: 0 / 0.5371 GB, free: 10.21 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.02049/0.456, allocations: 5.291 MB / 0.5423 GB, free: 8.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.4561, allocations: 13.61 kB / 0.5423 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003277/0.4594, allocations: 0.888 MB / 0.5432 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.4719, allocations: 3.199 MB / 0.5463 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00829/0.4803, allocations: 2.883 MB / 0.5491 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/0.4807, allocations: 259.2 kB / 0.5493 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002173/0.4829, allocations: 349.9 kB / 0.5497 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02637/0.5092, allocations: 12.65 MB / 0.562 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002208/0.5095, allocations: 31.59 kB / 0.5621 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001652/0.5112, allocations: 165.1 kB / 0.5622 GB, free: 3.348 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004845/0.5161, allocations: 3.033 MB / 0.5652 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0236/0.5397, allocations: 11.33 MB / 0.5762 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06963/0.6094, allocations: 42.11 MB / 0.6174 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009671/0.6191, allocations: 4.699 MB / 0.622 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.6228, allocations: 2.436 MB / 0.6243 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/0.6241, allocations: 1.316 MB / 0.6256 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.6242, allocations: 63.78 kB / 0.6257 GB, free: 7.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 6.292e-06/0.6242, allocations: 2.625 kB / 0.6257 GB, free: 7.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.05401/0.6782, allocations: 19.55 MB / 0.6448 GB, free: 3.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.6783, allocations: 103.1 kB / 0.6449 GB, free: 3.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006154/0.6845, allocations: 3.278 MB / 0.6481 GB, free: 328 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005649/0.6851, allocations: 66.52 kB / 0.6481 GB, free: 260 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002897/0.688, allocations: 3.296 MB / 0.6514 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/0.6895, allocations: 0.9751 MB / 0.6523 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002457/0.692, allocations: 1.21 MB / 0.6535 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6921, allocations: 301.1 kB / 0.6538 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/0.6961, allocations: 2.491 MB / 0.6562 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006537/0.7027, allocations: 5.883 MB / 0.662 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/0.7149, allocations: 9.183 MB / 0.6709 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-05/0.7151, allocations: 32.69 kB / 0.671 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of matching and sorting (n=809) (initialization): time 0.01933/0.7344, allocations: 9.149 MB / 0.6799 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.7346, allocations: 56.94 kB / 0.6799 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/0.7348, allocations: 120 kB / 0.6801 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003392/0.7382, allocations: 1.054 MB / 0.6811 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/0.7433, allocations: 1.396 MB / 0.6824 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008311/0.7517, allocations: 5.543 MB / 0.6879 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/0.7564, allocations: 331.8 kB / 0.6882 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/0.7579, allocations: 358.1 kB / 0.6885 GB, free: 4.531 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (747): * Single equations (assignments): 740 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006171/0.7641, allocations: 2.485 MB / 0.6909 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009569/0.765, allocations: 323.8 kB / 0.6913 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.7771, allocations: 5.374 MB / 0.6965 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.652e-05/0.7772, allocations: 47.98 kB / 0.6965 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.7772, allocations: 4 kB / 0.6966 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.791e-05/0.7773, allocations: 15.95 kB / 0.6966 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02931/0.8066, allocations: 13.32 MB / 0.7096 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.228e-05/0.8067, allocations: 12 kB / 0.7096 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/0.8088, allocations: 425.9 kB / 0.71 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/0.8118, allocations: 0.8919 MB / 0.7109 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000582/0.8124, allocations: 52 kB / 0.7109 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007306/0.8198, allocations: 4.843 MB / 0.7156 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-05/0.8198, allocations: 23.84 kB / 0.7157 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.835, allocations: 8.033 MB / 0.7235 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/0.8371, allocations: 0.7389 MB / 0.7242 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009711/0.8381, allocations: 46.62 kB / 0.7243 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/0.8401, allocations: 158.5 kB / 0.7244 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006003/0.8407, allocations: 165.5 kB / 0.7246 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004063/0.8412, allocations: 84 kB / 0.7247 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004504/0.8457, allocations: 2.018 MB / 0.7266 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8457, allocations: 0 / 0.7266 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006258/0.852, allocations: 1.112 MB / 0.7277 GB, free: 11.77 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01513/0.8671, allocations: 8.708 MB / 0.7362 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01105/0.8782, allocations: 6.106 MB / 0.7422 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.8783, allocations: 4 kB / 0.7422 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004016/0.8823, allocations: 2.257 MB / 0.7444 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/0.8867, allocations: 446.4 kB / 0.7448 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.31/1.197, allocations: 48.19 MB / 0.7919 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006243/1.203, allocations: 3.825 MB / 0.7956 GB, free: 191 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004771/1.208, allocations: 2.182 MB / 0.7977 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003206/1.211, allocations: 2.202 MB / 0.7999 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/1.211, allocations: 3.938 kB / 0.7999 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09729/1.308, allocations: 68.7 MB / 0.867 GB, free: 119.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.93/27.24, allocations: 19.73 kB / 0.867 GB, free: 119.1 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches