Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001362, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 75.91 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1351, allocations: 62.44 MB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.3182/0.4534, allocations: 46.09 MB / 0.5134 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02335/0.4768, allocations: 9.439 MB / 0.5226 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01202/0.4888, allocations: 191.3 kB / 0.5228 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00597/0.4948, allocations: 2.122 MB / 0.5248 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006935/0.5019, allocations: 1.852 MB / 0.5266 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.504, allocations: 0.5722 MB / 0.5272 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007368/0.5114, allocations: 4.322 MB / 0.5314 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006411/0.5178, allocations: 3.288 MB / 0.5346 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/0.5218, allocations: 1.597 MB / 0.5362 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004646/0.5264, allocations: 2.429 MB / 0.5386 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001551/0.528, allocations: 340.9 kB / 0.5389 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.5312, allocations: 1.045 MB / 0.5399 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002733/0.5339, allocations: 1.988 MB / 0.5419 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004934/0.5389, allocations: 2.401 MB / 0.5442 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.5501, allocations: 7.466 MB / 0.5515 GB, free: 8.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.5502, allocations: 0 / 0.5515 GB, free: 8.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5502, allocations: 0 / 0.5515 GB, free: 8.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003547/0.5506, allocations: 4 kB / 0.5515 GB, free: 8.41 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01423/0.5648, allocations: 5.073 MB / 0.5564 GB, free: 3.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.5649, allocations: 11.97 kB / 0.5565 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002477/0.5674, allocations: 0.8512 MB / 0.5573 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.5789, allocations: 3.201 MB / 0.5604 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006177/0.5851, allocations: 2.571 MB / 0.5629 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.5854, allocations: 249.2 kB / 0.5632 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.587, allocations: 328.5 kB / 0.5635 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02616/0.6132, allocations: 12.24 MB / 0.5754 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002424/0.6135, allocations: 27.72 kB / 0.5755 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001793/0.6153, allocations: 161.9 kB / 0.5756 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005226/0.6206, allocations: 2.851 MB / 0.5784 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/0.6445, allocations: 11.12 MB / 0.5893 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0685/0.713, allocations: 40.71 MB / 0.629 GB, free: 8.051 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009472/0.7225, allocations: 4.69 MB / 0.6336 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003444/0.726, allocations: 2.428 MB / 0.636 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.7273, allocations: 1.314 MB / 0.6372 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.7274, allocations: 52.56 kB / 0.6373 GB, free: 15.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 5.661e-06/0.7274, allocations: 0 / 0.6373 GB, free: 15.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.04759/0.775, allocations: 18.7 MB / 0.6555 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.7751, allocations: 81.39 kB / 0.6556 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00629/0.7814, allocations: 3.172 MB / 0.6587 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.7817, allocations: 57.7 kB / 0.6588 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002227/0.784, allocations: 3.119 MB / 0.6618 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.7851, allocations: 0.9651 MB / 0.6628 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002181/0.7873, allocations: 1.181 MB / 0.6639 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7874, allocations: 301.1 kB / 0.6642 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003782/0.7912, allocations: 2.459 MB / 0.6666 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00632/0.7976, allocations: 5.72 MB / 0.6722 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/0.81, allocations: 8.969 MB / 0.681 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001515/0.8102, allocations: 32 kB / 0.681 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01644/0.8266, allocations: 8.99 MB / 0.6898 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.8268, allocations: 52 kB / 0.6898 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001915/0.827, allocations: 112 kB / 0.6899 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003199/0.8302, allocations: 1.051 MB / 0.6909 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004471/0.8347, allocations: 1.353 MB / 0.6923 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007315/0.8421, allocations: 5.539 MB / 0.6977 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004136/0.8462, allocations: 330.8 kB / 0.698 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/0.8473, allocations: 336 kB / 0.6983 GB, free: 13.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,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 (725): * Single equations (assignments): 718 * 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.004704/0.852, allocations: 2.411 MB / 0.7007 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007534/0.8527, allocations: 316 kB / 0.701 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009834/0.8626, allocations: 5.371 MB / 0.7062 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.819e-05/0.8627, allocations: 43.98 kB / 0.7063 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/0.8627, allocations: 4 kB / 0.7063 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/0.8627, allocations: 11.91 kB / 0.7063 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2874/1.15, allocations: 13.06 MB / 0.719 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/1.15, allocations: 12.06 kB / 0.719 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.152, allocations: 424.8 kB / 0.7194 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003374/1.155, allocations: 0.8919 MB / 0.7203 GB, free: 189.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003797/1.156, allocations: 58.62 kB / 0.7204 GB, free: 189.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006983/1.163, allocations: 4.831 MB / 0.7251 GB, free: 187.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/1.163, allocations: 21.09 kB / 0.7251 GB, free: 187.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01667/1.18, allocations: 8.02 MB / 0.7329 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.181, allocations: 366.5 kB / 0.7333 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008425/1.182, allocations: 47.34 kB / 0.7333 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/1.183, allocations: 161.8 kB / 0.7335 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004455/1.184, allocations: 157.5 kB / 0.7336 GB, free: 184.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.184, allocations: 79.17 kB / 0.7337 GB, free: 184.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003185/1.187, allocations: 1.961 MB / 0.7356 GB, free: 183.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/1.187, allocations: 3.469 kB / 0.7356 GB, free: 183.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005241/1.193, allocations: 1.066 MB / 0.7367 GB, free: 183.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (208): * Single equations (assignments): 201 * 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.01025/1.203, allocations: 8.679 MB / 0.7451 GB, free: 179.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.217, allocations: 9.639 MB / 0.7546 GB, free: 172.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/1.217, allocations: 4 kB / 0.7546 GB, free: 172.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00312/1.22, allocations: 2.259 MB / 0.7568 GB, free: 170.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/1.224, allocations: 450.7 kB / 0.7572 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07732/1.301, allocations: 53.54 MB / 0.8095 GB, free: 110.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006694/1.308, allocations: 3.704 MB / 0.8131 GB, free: 107.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005356/1.313, allocations: 2.149 MB / 0.8152 GB, free: 105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003275/1.317, allocations: 2.097 MB / 0.8173 GB, free: 102.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.543e-06/1.317, allocations: 4 kB / 0.8173 GB, free: 102.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09414/1.411, allocations: 69.79 MB / 0.8854 GB, free: 33.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.411, allocations: 219.4 kB / 0.8856 GB, free: 33.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.645/5.056, allocations: 0 / 0.8856 GB, free: 33.14 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches