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.001493/0.001493, allocations: 100 kB / 16.99 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 201.8 kB / 17.9 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002762, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 63.46 MB / 481.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02351/0.1469, allocations: 25.4 MB / 0.495 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01467/0.1617, allocations: 6.655 MB / 0.5015 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004219/0.166, allocations: 119.8 kB / 0.5017 GB, free: 5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003367/0.1694, allocations: 1.287 MB / 0.5029 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2973/0.4667, allocations: 3.909 MB / 0.5067 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.469, allocations: 396.5 kB / 0.5071 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004756/0.4737, allocations: 1.99 MB / 0.5091 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004478/0.4782, allocations: 2.241 MB / 0.5112 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.4802, allocations: 0.8638 MB / 0.5121 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.4825, allocations: 1.205 MB / 0.5133 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007283/0.4832, allocations: 131.9 kB / 0.5134 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.4853, allocations: 0.729 MB / 0.5141 GB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.4871, allocations: 1.356 MB / 0.5154 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.4882, allocations: 0.7421 MB / 0.5162 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007408/0.4956, allocations: 4.71 MB / 0.5208 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4956, allocations: 0 / 0.5208 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4956, allocations: 6.156 kB / 0.5208 GB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003587/0.496, allocations: 0 / 0.5208 GB, free: 10.63 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.01139/0.5074, allocations: 3.524 MB / 0.5242 GB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/0.5075, allocations: 10.16 kB / 0.5242 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00228/0.5098, allocations: 0.7095 MB / 0.5249 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.5227, allocations: 3.737 MB / 0.5286 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006971/0.5297, allocations: 1.964 MB / 0.5305 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.53, allocations: 194.5 kB / 0.5307 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.5317, allocations: 248.2 kB / 0.5309 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/0.5519, allocations: 10.54 MB / 0.5412 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.5521, allocations: 27.72 kB / 0.5412 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008004/0.5529, allocations: 118.9 kB / 0.5413 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003828/0.5567, allocations: 2.556 MB / 0.5438 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.5785, allocations: 9.977 MB / 0.5536 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06305/0.6416, allocations: 34.54 MB / 0.5873 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009981/0.6516, allocations: 5.171 MB / 0.5923 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/0.6534, allocations: 1.878 MB / 0.5942 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.6535, allocations: 56.55 kB / 0.5942 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 5.571e-06/0.6535, allocations: 0 / 0.5942 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03186/0.6854, allocations: 14.47 MB / 0.6084 GB, free: 2.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.6855, allocations: 76.5 kB / 0.6084 GB, free: 2.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.6892, allocations: 2.732 MB / 0.6111 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004704/0.6897, allocations: 53.7 kB / 0.6111 GB, free: 15.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.6912, allocations: 2.643 MB / 0.6137 GB, free: 12.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009918/0.6922, allocations: 0.8439 MB / 0.6146 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.6924, allocations: 104 kB / 0.6147 GB, free: 11.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000301/0.6927, allocations: 0.5252 MB / 0.6152 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003044/0.6958, allocations: 2.181 MB / 0.6173 GB, free: 9.043 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004692/0.7005, allocations: 5.017 MB / 0.6222 GB, free: 2.664 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005032/0.7055, allocations: 3.312 MB / 0.6254 GB, free: 15.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-05/0.7056, allocations: 28 kB / 0.6255 GB, free: 15.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01442/0.7201, allocations: 7.815 MB / 0.6331 GB, free: 7.535 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.7202, allocations: 56.19 kB / 0.6331 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/0.7203, allocations: 100 kB / 0.6332 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/0.7224, allocations: 0.8022 MB / 0.634 GB, free: 6.578 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/0.7267, allocations: 1.181 MB / 0.6352 GB, free: 5.395 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/0.732, allocations: 4.288 MB / 0.6394 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003914/0.7359, allocations: 295.8 kB / 0.6396 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/0.737, allocations: 301.5 kB / 0.6399 GB, free: 396 kB / 478.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.004443/0.7415, allocations: 2.026 MB / 0.6419 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.742, allocations: 260.5 kB / 0.6422 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007834/0.7498, allocations: 4.705 MB / 0.6468 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.04e-05/0.7499, allocations: 47.98 kB / 0.6468 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7499, allocations: 0 / 0.6468 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/0.7499, allocations: 11.97 kB / 0.6468 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/0.7689, allocations: 10.53 MB / 0.6571 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.769, allocations: 4 kB / 0.6571 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.7706, allocations: 359.5 kB / 0.6574 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.7726, allocations: 0.6606 MB / 0.6581 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/0.7728, allocations: 43.98 kB / 0.6581 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/0.7772, allocations: 3.751 MB / 0.6618 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/0.7773, allocations: 11.94 kB / 0.6618 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.7879, allocations: 7.678 MB / 0.6693 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008944/0.7888, allocations: 309.7 kB / 0.6696 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004297/0.7892, allocations: 40 kB / 0.6696 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.7904, allocations: 143.8 kB / 0.6698 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/0.7907, allocations: 133.1 kB / 0.6699 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.7909, allocations: 67.11 kB / 0.67 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002863/0.7938, allocations: 1.682 MB / 0.6716 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7938, allocations: 3.938 kB / 0.6716 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005034/0.7988, allocations: 0.9414 MB / 0.6725 GB, free: 14.41 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.01166/0.8105, allocations: 10.11 MB / 0.6824 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007711/0.8183, allocations: 5.307 MB / 0.6876 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.8183, allocations: 4.5 kB / 0.6876 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/0.8209, allocations: 2.011 MB / 0.6896 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.8228, allocations: 319.9 kB / 0.6899 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3236/1.146, allocations: 97.61 MB / 0.7852 GB, free: 110 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003936/1.15, allocations: 3.253 MB / 0.7884 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00428/1.155, allocations: 1.959 MB / 0.7903 GB, free: 109.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003309/1.158, allocations: 1.718 MB / 0.7919 GB, free: 109.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/1.158, allocations: 0 / 0.7919 GB, free: 109.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08748/1.246, allocations: 64.09 MB / 0.8545 GB, free: 55.02 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/1.246, allocations: 202 kB / 0.8547 GB, free: 54.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.645/4.89, allocations: 7.312 kB / 0.8547 GB, free: 54.76 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