Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.00151/0.001511, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001762/0.001762, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2375/0.2375, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 79.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 62.45 MB / 0.5306 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01649/0.3603, allocations: 14.95 MB / 0.5452 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.3707, allocations: 4.423 MB / 0.5495 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003342/0.3741, allocations: 80.47 kB / 0.5496 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005029/0.3791, allocations: 2.217 MB / 0.5518 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005944/0.3851, allocations: 1.988 MB / 0.5537 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.387, allocations: 0.6083 MB / 0.5543 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006793/0.3938, allocations: 4.311 MB / 0.5585 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004765/0.3986, allocations: 3.151 MB / 0.5616 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004471/0.4032, allocations: 1.561 MB / 0.5631 GB, free: 192 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004052/0.4073, allocations: 2.227 MB / 0.5653 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.4084, allocations: 340 kB / 0.5656 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.4117, allocations: 1.038 MB / 0.5666 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002742/0.4144, allocations: 1.964 MB / 0.5685 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00447/0.4189, allocations: 2.38 MB / 0.5709 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.4317, allocations: 7.779 MB / 0.5785 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.4318, allocations: 0 / 0.5785 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4318, allocations: 0 / 0.5785 GB, free: 420 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002861/0.4321, allocations: 0 / 0.5785 GB, free: 420 kB / 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.01326/0.4453, allocations: 5.216 MB / 0.5836 GB, free: 11.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.4454, allocations: 8.031 kB / 0.5836 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002118/0.4476, allocations: 0.8564 MB / 0.5844 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.459, allocations: 3.23 MB / 0.5876 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/0.4648, allocations: 2.608 MB / 0.5901 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.465, allocations: 254.4 kB / 0.5904 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.4662, allocations: 331.7 kB / 0.5907 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02373/0.49, allocations: 12.23 MB / 0.6026 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.4901, allocations: 35.7 kB / 0.6026 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007196/0.4909, allocations: 159.8 kB / 0.6028 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005316/0.4962, allocations: 2.84 MB / 0.6056 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02336/0.5196, allocations: 11.13 MB / 0.6164 GB, free: 8.809 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06263/0.5823, allocations: 40.58 MB / 0.6561 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.5924, allocations: 4.684 MB / 0.6606 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003782/0.5962, allocations: 2.438 MB / 0.663 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.5977, allocations: 1.319 MB / 0.6643 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.5978, allocations: 48.56 kB / 0.6644 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.391e-06/0.5978, allocations: 0 / 0.6644 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04578/0.6436, allocations: 18.78 MB / 0.6827 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.6437, allocations: 73.41 kB / 0.6828 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004686/0.6484, allocations: 3.188 MB / 0.6859 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004206/0.6488, allocations: 57.78 kB / 0.6859 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002541/0.6514, allocations: 3.233 MB / 0.6891 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/0.6527, allocations: 1.015 MB / 0.6901 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.6544, allocations: 1.199 MB / 0.6913 GB, free: 10.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6546, allocations: 301.1 kB / 0.6915 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/0.6583, allocations: 2.455 MB / 0.6939 GB, free: 7.715 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00781/0.6662, allocations: 5.723 MB / 0.6995 GB, free: 396 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/0.6785, allocations: 8.973 MB / 0.7083 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.6786, allocations: 36 kB / 0.7083 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01751/0.6961, allocations: 8.994 MB / 0.7171 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-05/0.6963, allocations: 58.34 kB / 0.7172 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/0.6964, allocations: 112 kB / 0.7173 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003312/0.6998, allocations: 1.054 MB / 0.7183 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004707/0.7045, allocations: 1.345 MB / 0.7196 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007968/0.7125, allocations: 5.543 MB / 0.725 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/0.7163, allocations: 327.7 kB / 0.7253 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009371/0.7173, allocations: 340 kB / 0.7257 GB, free: 3.875 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.00464/0.722, allocations: 2.417 MB / 0.728 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/0.7227, allocations: 329.8 kB / 0.7283 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2892/1.012, allocations: 5.366 MB / 0.7336 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.4e-05/1.012, allocations: 47.59 kB / 0.7336 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.012, allocations: 3.562 kB / 0.7336 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/1.012, allocations: 10.92 kB / 0.7336 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.031, allocations: 13.02 MB / 0.7464 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/1.031, allocations: 10.72 kB / 0.7464 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/1.033, allocations: 419.8 kB / 0.7468 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/1.036, allocations: 0.8962 MB / 0.7476 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002568/1.036, allocations: 56.17 kB / 0.7477 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/1.041, allocations: 4.84 MB / 0.7524 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.041, allocations: 14.72 kB / 0.7524 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009687/1.051, allocations: 8.037 MB / 0.7603 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.052, allocations: 383.3 kB / 0.7606 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006491/1.053, allocations: 55 kB / 0.7607 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/1.054, allocations: 147.8 kB / 0.7608 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003786/1.055, allocations: 178.6 kB / 0.761 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/1.055, allocations: 72 kB / 0.7611 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002478/1.057, allocations: 1.965 MB / 0.763 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/1.057, allocations: 0 / 0.763 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004654/1.062, allocations: 1.059 MB / 0.764 GB, free: 158.3 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.009603/1.072, allocations: 8.702 MB / 0.7725 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007973/1.08, allocations: 6.046 MB / 0.7784 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/1.08, allocations: 1.688 kB / 0.7784 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002671/1.082, allocations: 2.253 MB / 0.7806 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/1.085, allocations: 447.4 kB / 0.7811 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06744/1.152, allocations: 47.04 MB / 0.827 GB, free: 88.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007699/1.16, allocations: 3.704 MB / 0.8306 GB, free: 85.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007243/1.168, allocations: 2.157 MB / 0.8327 GB, free: 82.85 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004658/1.172, allocations: 2.1 MB / 0.8348 GB, free: 80.75 MB / 0.5762 GB Notification: Performance of SimCode: time 2.184e-06/1.172, allocations: 0 / 0.8348 GB, free: 80.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.287, allocations: 66.64 MB / 0.8999 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.32/26.61, allocations: 8 kB / 0.8999 GB, free: 14.39 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)