Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009868/0.000987, allocations: 102.7 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 192.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.3 MB / 246 MB, free: 11.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1965/0.1965, allocations: 45.92 MB / 344.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 63.47 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02843/0.156, allocations: 26.82 MB / 0.4965 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.1729, allocations: 6.442 MB / 0.5028 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005536/0.1785, allocations: 119.7 kB / 0.5029 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004051/0.1826, allocations: 1.279 MB / 0.5042 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2741/0.4567, allocations: 3.971 MB / 0.5081 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.4588, allocations: 413.4 kB / 0.5085 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006479/0.4653, allocations: 3.909 MB / 0.5123 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/0.4694, allocations: 2.246 MB / 0.5145 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.4719, allocations: 1.021 MB / 0.5155 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003339/0.4752, allocations: 1.67 MB / 0.5171 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007445/0.476, allocations: 134.2 kB / 0.5172 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.4785, allocations: 0.7446 MB / 0.518 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.4804, allocations: 1.464 MB / 0.5194 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.4816, allocations: 0.7443 MB / 0.5201 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006534/0.4881, allocations: 4.712 MB / 0.5247 GB, free: 9.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4881, allocations: 4 kB / 0.5247 GB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4881, allocations: 1.156 kB / 0.5247 GB, free: 9.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001747/0.4883, allocations: 0 / 0.5247 GB, free: 9.715 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008237/0.4966, allocations: 3.476 MB / 0.5281 GB, free: 7.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4966, allocations: 10.34 kB / 0.5281 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001311/0.4979, allocations: 0.7091 MB / 0.5288 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00994/0.5079, allocations: 3.175 MB / 0.5319 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004668/0.5126, allocations: 2.062 MB / 0.5339 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.5128, allocations: 187.9 kB / 0.5341 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000627/0.5134, allocations: 248.9 kB / 0.5344 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/0.5285, allocations: 10.47 MB / 0.5446 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.491e-05/0.5286, allocations: 27.72 kB / 0.5446 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003507/0.529, allocations: 119.6 kB / 0.5447 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003869/0.5328, allocations: 2.554 MB / 0.5472 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02084/0.5537, allocations: 9.886 MB / 0.5569 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05673/0.6105, allocations: 34.45 MB / 0.5905 GB, free: 3.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.621, allocations: 5.186 MB / 0.5956 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003506/0.6245, allocations: 2.283 MB / 0.5978 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.6264, allocations: 1.876 MB / 0.5996 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.6265, allocations: 52.56 kB / 0.5997 GB, free: 10.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 7.854e-06/0.6265, allocations: 4 kB / 0.5997 GB, free: 10.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03455/0.661, allocations: 13.92 MB / 0.6133 GB, free: 12.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.6611, allocations: 79.16 kB / 0.6134 GB, free: 11.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005175/0.6663, allocations: 2.63 MB / 0.6159 GB, free: 9.328 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003962/0.6667, allocations: 53.7 kB / 0.616 GB, free: 9.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00231/0.6691, allocations: 2.634 MB / 0.6185 GB, free: 6.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001342/0.6704, allocations: 0.8536 MB / 0.6194 GB, free: 5.801 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006086/0.6711, allocations: 97.25 kB / 0.6195 GB, free: 5.707 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006002/0.6717, allocations: 0.5291 MB / 0.62 GB, free: 5.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003821/0.6755, allocations: 2.181 MB / 0.6221 GB, free: 2.984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005527/0.681, allocations: 5.043 MB / 0.627 GB, free: 12.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/0.6862, allocations: 3.303 MB / 0.6303 GB, free: 9.242 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.599e-05/0.6863, allocations: 28 kB / 0.6303 GB, free: 9.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01483/0.7011, allocations: 7.826 MB / 0.6379 GB, free: 1.379 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.7013, allocations: 51.98 kB / 0.638 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/0.7015, allocations: 96 kB / 0.6381 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002519/0.7041, allocations: 0.8011 MB / 0.6389 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004648/0.7087, allocations: 1.181 MB / 0.64 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006401/0.7152, allocations: 4.196 MB / 0.6441 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00422/0.7194, allocations: 295.8 kB / 0.6444 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/0.7206, allocations: 301.3 kB / 0.6447 GB, free: 10.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (631): * Single equations (assignments): 624 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00573/0.7264, allocations: 2.015 MB / 0.6466 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/0.7275, allocations: 268.6 kB / 0.6469 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.7388, allocations: 4.708 MB / 0.6515 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.912e-05/0.7389, allocations: 47.97 kB / 0.6515 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.739, allocations: 4.094 kB / 0.6516 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.323e-05/0.739, allocations: 15.91 kB / 0.6516 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/0.7607, allocations: 10.5 MB / 0.6618 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/0.7607, allocations: 8 kB / 0.6618 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.7622, allocations: 367.5 kB / 0.6622 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.7641, allocations: 0.6522 MB / 0.6628 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/0.7643, allocations: 44.84 kB / 0.6629 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004486/0.7688, allocations: 3.649 MB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.7688, allocations: 12 kB / 0.6664 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.7789, allocations: 7.115 MB / 0.6734 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/0.7798, allocations: 305.7 kB / 0.6737 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006475/0.7804, allocations: 41.48 kB / 0.6737 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.7819, allocations: 142 kB / 0.6739 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003112/0.7822, allocations: 141 kB / 0.674 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/0.7824, allocations: 63.98 kB / 0.674 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003393/0.7858, allocations: 1.602 MB / 0.6756 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7858, allocations: 0 / 0.6756 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005407/0.7912, allocations: 0.9278 MB / 0.6765 GB, free: 9.309 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01161/0.8029, allocations: 7.777 MB / 0.6841 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009263/0.8122, allocations: 5.309 MB / 0.6893 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.8122, allocations: 0 / 0.6893 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002925/0.8152, allocations: 2.022 MB / 0.6913 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/0.8182, allocations: 339.3 kB / 0.6916 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2812/1.099, allocations: 29.1 MB / 0.72 GB, free: 167.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004397/1.104, allocations: 3.165 MB / 0.7231 GB, free: 166.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004854/1.109, allocations: 1.953 MB / 0.725 GB, free: 166.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002465/1.111, allocations: 1.721 MB / 0.7267 GB, free: 166.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/1.111, allocations: 0 / 0.7267 GB, free: 166.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08504/1.196, allocations: 63.52 MB / 0.7887 GB, free: 119.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/1.196, allocations: 198.9 kB / 0.7889 GB, free: 119.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/4.832, allocations: 0 / 0.7889 GB, free: 119.3 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat