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.001251/0.001256, allocations: 118.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3186/0.3186, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3861, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01656/0.4027, allocations: 14.95 MB / 0.5451 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.4158, allocations: 4.418 MB / 0.5494 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004292/0.4201, allocations: 80.22 kB / 0.5495 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005178/0.4254, allocations: 2.229 MB / 0.5517 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006124/0.4316, allocations: 1.98 MB / 0.5536 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.4337, allocations: 0.6083 MB / 0.5542 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00703/0.4407, allocations: 4.306 MB / 0.5584 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005089/0.4459, allocations: 3.168 MB / 0.5615 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.4491, allocations: 1.592 MB / 0.5631 GB, free: 304 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00367/0.4528, allocations: 2.215 MB / 0.5652 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001395/0.4543, allocations: 344 kB / 0.5656 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.4576, allocations: 1.034 MB / 0.5666 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002692/0.4604, allocations: 1.971 MB / 0.5685 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004628/0.465, allocations: 2.376 MB / 0.5708 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.4754, allocations: 7.746 MB / 0.5784 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4754, allocations: 0 / 0.5784 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4754, allocations: 0 / 0.5784 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002943/0.4757, allocations: 4 kB / 0.5784 GB, free: 0.5586 MB / 430.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.01253/0.4883, allocations: 5.061 MB / 0.5833 GB, free: 11.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4884, allocations: 16.03 kB / 0.5833 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002212/0.4906, allocations: 0.8564 MB / 0.5842 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.5017, allocations: 3.196 MB / 0.5873 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005742/0.5075, allocations: 2.596 MB / 0.5898 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.5078, allocations: 254.4 kB / 0.5901 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.5092, allocations: 335.6 kB / 0.5904 GB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0217/0.531, allocations: 12.24 MB / 0.6023 GB, free: 7.332 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001647/0.5312, allocations: 39.64 kB / 0.6024 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001067/0.5323, allocations: 151.8 kB / 0.6025 GB, free: 7.145 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004732/0.537, allocations: 2.844 MB / 0.6053 GB, free: 4.293 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02328/0.5603, allocations: 11.13 MB / 0.6162 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05996/0.6203, allocations: 40.49 MB / 0.6557 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009318/0.6297, allocations: 4.687 MB / 0.6603 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/0.6329, allocations: 2.438 MB / 0.6627 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.6342, allocations: 1.315 MB / 0.664 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.6342, allocations: 60.56 kB / 0.664 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 7.234e-06/0.6343, allocations: 3.984 kB / 0.664 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04424/0.6785, allocations: 18.68 MB / 0.6823 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.6786, allocations: 77.41 kB / 0.6823 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005228/0.6838, allocations: 3.176 MB / 0.6854 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004301/0.6843, allocations: 65.69 kB / 0.6855 GB, free: 476 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002204/0.6865, allocations: 3.114 MB / 0.6885 GB, free: 13.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.6877, allocations: 0.9673 MB / 0.6895 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002518/0.6903, allocations: 1.175 MB / 0.6906 GB, free: 11.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.6904, allocations: 301.1 kB / 0.6909 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/0.6942, allocations: 2.463 MB / 0.6933 GB, free: 8.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006461/0.7007, allocations: 5.723 MB / 0.6989 GB, free: 1.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/0.7125, allocations: 8.977 MB / 0.7077 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/0.7126, allocations: 32 kB / 0.7077 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01644/0.7291, allocations: 8.979 MB / 0.7165 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.7292, allocations: 52 kB / 0.7165 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001853/0.7294, allocations: 116 kB / 0.7166 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/0.7325, allocations: 1.054 MB / 0.7177 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/0.7371, allocations: 1.349 MB / 0.719 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007711/0.7448, allocations: 5.534 MB / 0.7244 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/0.7492, allocations: 323.7 kB / 0.7247 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/0.7503, allocations: 340 kB / 0.725 GB, free: 4.551 MB / 0.5762 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.005272/0.7556, allocations: 2.417 MB / 0.7274 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009321/0.7565, allocations: 308 kB / 0.7277 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3622/1.119, allocations: 5.365 MB / 0.7329 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/1.119, allocations: 50.89 kB / 0.733 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/1.119, allocations: 9.844 kB / 0.733 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.66e-05/1.119, allocations: 8.859 kB / 0.733 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02373/1.143, allocations: 13.01 MB / 0.7457 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/1.143, allocations: 11.59 kB / 0.7457 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.144, allocations: 423.5 kB / 0.7461 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/1.147, allocations: 0.8855 MB / 0.747 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003743/1.147, allocations: 61.22 kB / 0.747 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005518/1.153, allocations: 4.838 MB / 0.7518 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/1.153, allocations: 19.97 kB / 0.7518 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/1.164, allocations: 8.013 MB / 0.7596 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.165, allocations: 363.8 kB / 0.7599 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000799/1.166, allocations: 54.95 kB / 0.76 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/1.168, allocations: 151.5 kB / 0.7601 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004581/1.168, allocations: 174.7 kB / 0.7603 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/1.168, allocations: 75.98 kB / 0.7604 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002864/1.171, allocations: 1.961 MB / 0.7623 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.4e-07/1.171, allocations: 0 / 0.7623 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005863/1.177, allocations: 1.066 MB / 0.7633 GB, free: 159.2 MB / 0.5762 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.01164/1.189, allocations: 8.674 MB / 0.7718 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009296/1.198, allocations: 6.038 MB / 0.7777 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/1.198, allocations: 3.938 kB / 0.7777 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003358/1.202, allocations: 2.254 MB / 0.7799 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/1.205, allocations: 456.5 kB / 0.7803 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07267/1.278, allocations: 46.85 MB / 0.8261 GB, free: 89.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006123/1.284, allocations: 3.708 MB / 0.8297 GB, free: 86.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005058/1.289, allocations: 2.153 MB / 0.8318 GB, free: 83.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004/1.293, allocations: 2.104 MB / 0.8339 GB, free: 81.86 MB / 0.5762 GB Notification: Performance of SimCode: time 1.263e-06/1.293, allocations: 0 / 0.8339 GB, free: 81.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/1.402, allocations: 67.7 MB / 0.9 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.24/28.64, allocations: 13.95 kB / 0.9 GB, free: 14.41 MB / 0.5762 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