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.0008173/0.0008173, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1951/0.1951, allocations: 46.18 MB / 345.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002628, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 63.56 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.272/0.384, allocations: 44.82 MB / 0.5156 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01993/0.404, allocations: 9.475 MB / 0.5249 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008332/0.4124, allocations: 191.3 kB / 0.5251 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.4138, allocations: 0.5112 MB / 0.5256 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005501/0.4193, allocations: 1.863 MB / 0.5274 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4207, allocations: 0.5677 MB / 0.5279 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007922/0.4286, allocations: 6.015 MB / 0.5338 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00538/0.434, allocations: 3.891 MB / 0.5376 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.4361, allocations: 1.223 MB / 0.5388 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.4386, allocations: 2.113 MB / 0.5409 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.439, allocations: 168.7 kB / 0.541 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.4408, allocations: 0.9162 MB / 0.5419 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.4422, allocations: 1.802 MB / 0.5437 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.4442, allocations: 2.201 MB / 0.5458 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00719/0.4514, allocations: 7.145 MB / 0.5528 GB, free: 9.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4515, allocations: 0 / 0.5528 GB, free: 9.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4515, allocations: 0 / 0.5528 GB, free: 9.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001551/0.4517, allocations: 0 / 0.5528 GB, free: 9.043 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.007105/0.4588, allocations: 4.133 MB / 0.5568 GB, free: 4.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4588, allocations: 8.875 kB / 0.5568 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001155/0.46, allocations: 0.8512 MB / 0.5577 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.4707, allocations: 3.292 MB / 0.5609 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/0.4753, allocations: 2.572 MB / 0.5634 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.4755, allocations: 253.8 kB / 0.5636 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006109/0.4761, allocations: 328.8 kB / 0.564 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.4926, allocations: 12.25 MB / 0.5759 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.67e-05/0.4927, allocations: 35.7 kB / 0.576 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004158/0.4931, allocations: 152.8 kB / 0.5761 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004329/0.4975, allocations: 2.843 MB / 0.5789 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02144/0.5189, allocations: 11.14 MB / 0.5897 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05543/0.5744, allocations: 40.73 MB / 0.6295 GB, free: 9.398 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009565/0.584, allocations: 4.689 MB / 0.6341 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003496/0.5876, allocations: 2.431 MB / 0.6365 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.5889, allocations: 1.323 MB / 0.6378 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.589, allocations: 52.56 kB / 0.6378 GB, free: 476 kB / 478.1 MB Notification: Performance of pre-optimization done (n=249): time 6.733e-06/0.589, allocations: 4 kB / 0.6378 GB, free: 472 kB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.04441/0.6334, allocations: 18.68 MB / 0.6561 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.6335, allocations: 77.41 kB / 0.6561 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006569/0.6401, allocations: 3.176 MB / 0.6592 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005256/0.6406, allocations: 59.66 kB / 0.6593 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002364/0.643, allocations: 3.115 MB / 0.6623 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001473/0.6445, allocations: 0.9717 MB / 0.6633 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/0.6458, allocations: 0.5111 MB / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6459, allocations: 301.1 kB / 0.6641 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004575/0.6505, allocations: 2.463 MB / 0.6665 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006753/0.6573, allocations: 5.719 MB / 0.6721 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/0.6691, allocations: 8.973 MB / 0.6808 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/0.6693, allocations: 32 kB / 0.6809 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01783/0.6871, allocations: 8.991 MB / 0.6896 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.6874, allocations: 52 kB / 0.6897 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002563/0.6876, allocations: 112 kB / 0.6898 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/0.691, allocations: 1.054 MB / 0.6908 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005084/0.6961, allocations: 1.345 MB / 0.6921 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007786/0.704, allocations: 5.132 MB / 0.6971 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005157/0.7091, allocations: 331.9 kB / 0.6975 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/0.7105, allocations: 342.1 kB / 0.6978 GB, free: 15.53 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.005678/0.7162, allocations: 2.409 MB / 0.7001 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009234/0.7171, allocations: 312 kB / 0.7004 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.7286, allocations: 5.368 MB / 0.7057 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/0.7287, allocations: 44 kB / 0.7057 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.7287, allocations: 0 / 0.7057 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.311e-05/0.7287, allocations: 20.03 kB / 0.7057 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2635/0.9922, allocations: 13.07 MB / 0.7185 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/0.9923, allocations: 16.53 kB / 0.7185 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/0.9941, allocations: 421.7 kB / 0.7189 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003053/0.9972, allocations: 0.8925 MB / 0.7198 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003685/0.9975, allocations: 53.34 kB / 0.7198 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00652/1.004, allocations: 4.487 MB / 0.7242 GB, free: 186.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-05/1.004, allocations: 16.83 kB / 0.7242 GB, free: 186.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/1.017, allocations: 8.022 MB / 0.7321 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008472/1.018, allocations: 365.8 kB / 0.7324 GB, free: 183.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003831/1.018, allocations: 53.14 kB / 0.7325 GB, free: 183.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.02, allocations: 152 kB / 0.7326 GB, free: 183.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/1.02, allocations: 171.1 kB / 0.7328 GB, free: 183.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.02, allocations: 86.77 kB / 0.7329 GB, free: 183.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002673/1.023, allocations: 1.957 MB / 0.7348 GB, free: 182.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.023, allocations: 0 / 0.7348 GB, free: 182.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00425/1.027, allocations: 1.061 MB / 0.7358 GB, free: 182.5 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.009804/1.037, allocations: 8.678 MB / 0.7443 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007716/1.045, allocations: 5.985 MB / 0.7501 GB, free: 177 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.045, allocations: 3.938 kB / 0.7501 GB, free: 177 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/1.047, allocations: 2.247 MB / 0.7523 GB, free: 175 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006699/1.054, allocations: 439.4 kB / 0.7527 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06331/1.117, allocations: 53.68 MB / 0.8052 GB, free: 115.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003203/1.121, allocations: 3.712 MB / 0.8088 GB, free: 111.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004204/1.125, allocations: 2.15 MB / 0.8109 GB, free: 109.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/1.127, allocations: 2.104 MB / 0.8129 GB, free: 107.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.382e-06/1.127, allocations: 0 / 0.8129 GB, free: 107.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0814/1.208, allocations: 67.59 MB / 0.8789 GB, free: 40.32 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/1.208, allocations: 206.5 kB / 0.8791 GB, free: 40.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/4.643, allocations: 0 / 0.8791 GB, free: 40.07 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