Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009175/0.0009174, allocations: 94.53 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009567/0.0009569, allocations: 205.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 45.93 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.0002671, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 63.46 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02558/0.1607, allocations: 25.02 MB / 0.4947 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02008/0.1808, allocations: 6.703 MB / 0.5012 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007476/0.1884, allocations: 115.8 kB / 0.5013 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005018/0.1935, allocations: 1.279 MB / 0.5026 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01405/0.2076, allocations: 3.908 MB / 0.5064 GB, free: 144 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2833/0.4908, allocations: 395.6 kB / 0.5068 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005249/0.4961, allocations: 2.21 MB / 0.5089 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003552/0.4997, allocations: 2.16 MB / 0.511 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.5013, allocations: 0.8731 MB / 0.5119 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.503, allocations: 1.178 MB / 0.513 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004109/0.5034, allocations: 130.1 kB / 0.5132 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.5053, allocations: 0.8611 MB / 0.514 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.5068, allocations: 1.415 MB / 0.5154 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007375/0.5075, allocations: 0.7488 MB / 0.5161 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.5128, allocations: 4.72 MB / 0.5207 GB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5128, allocations: 0 / 0.5207 GB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5128, allocations: 2.797 kB / 0.5207 GB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001141/0.5129, allocations: 0 / 0.5207 GB, free: 10.62 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.006723/0.5196, allocations: 3.587 MB / 0.5242 GB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.5197, allocations: 10.03 kB / 0.5242 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009328/0.5206, allocations: 0.6964 MB / 0.5249 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.5331, allocations: 3.897 MB / 0.5287 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005731/0.5388, allocations: 2.248 MB / 0.5309 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.539, allocations: 182.4 kB / 0.5311 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.5402, allocations: 332.4 kB / 0.5314 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.5559, allocations: 10.54 MB / 0.5417 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.805e-05/0.556, allocations: 29.69 kB / 0.5417 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/0.5564, allocations: 116.7 kB / 0.5418 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003295/0.5597, allocations: 2.49 MB / 0.5443 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.5777, allocations: 10.05 MB / 0.5541 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06069/0.6385, allocations: 35.13 MB / 0.5884 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007983/0.6465, allocations: 4.304 MB / 0.5926 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.6478, allocations: 1.31 MB / 0.5939 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.6479, allocations: 56.55 kB / 0.5939 GB, free: 1.195 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 7.464e-06/0.6479, allocations: 0 / 0.5939 GB, free: 1.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.04098/0.6889, allocations: 17.3 MB / 0.6108 GB, free: 15.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001478/0.6904, allocations: 1.539 MB / 0.6123 GB, free: 14.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005929/0.6964, allocations: 2.932 MB / 0.6152 GB, free: 11.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000621/0.697, allocations: 57.7 kB / 0.6153 GB, free: 11.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.6996, allocations: 2.666 MB / 0.6179 GB, free: 8.379 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001705/0.7013, allocations: 0.9301 MB / 0.6188 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007645/0.7021, allocations: 104 kB / 0.6189 GB, free: 7.355 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000669/0.7028, allocations: 0.5416 MB / 0.6194 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0045/0.7073, allocations: 2.408 MB / 0.6217 GB, free: 4.391 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006611/0.7139, allocations: 5.339 MB / 0.627 GB, free: 13.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006719/0.7207, allocations: 3.587 MB / 0.6305 GB, free: 10.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/0.7209, allocations: 28 kB / 0.6305 GB, free: 10.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.02824/0.7491, allocations: 9.698 MB / 0.64 GB, free: 360 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.7494, allocations: 54.98 kB / 0.64 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01513/0.7645, allocations: 4.886 MB / 0.6448 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/0.7763, allocations: 2.48 MB / 0.6472 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004972/0.7813, allocations: 1.252 MB / 0.6484 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00948/0.7909, allocations: 6.177 MB / 0.6545 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005168/0.7961, allocations: 391.5 kB / 0.6548 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/0.7974, allocations: 320 kB / 0.6551 GB, free: 0.5039 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (670): * Single equations (assignments): 658 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006017/0.8035, allocations: 2.062 MB / 0.6571 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/0.8049, allocations: 276.4 kB / 0.6574 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.8181, allocations: 5.314 MB / 0.6626 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009995/0.8281, allocations: 4.592 MB / 0.6671 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-05/0.8282, allocations: 3.953 kB / 0.6671 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-05/0.8282, allocations: 11.95 kB / 0.6671 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03572/0.864, allocations: 14.42 MB / 0.6812 GB, free: 5.562 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.157e-05/0.8641, allocations: 8 kB / 0.6812 GB, free: 5.555 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/0.8663, allocations: 403.4 kB / 0.6816 GB, free: 5.16 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004678/0.871, allocations: 1.244 MB / 0.6828 GB, free: 3.902 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000674/0.8718, allocations: 66.55 kB / 0.6829 GB, free: 3.84 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005632/0.8774, allocations: 4.526 MB / 0.6873 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001157/0.8786, allocations: 1.479 MB / 0.6887 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/0.8954, allocations: 8.79 MB / 0.6973 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.8965, allocations: 345.5 kB / 0.6976 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/0.8975, allocations: 47.98 kB / 0.6977 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/0.8999, allocations: 195.7 kB / 0.6979 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005782/0.9005, allocations: 164.8 kB / 0.698 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003411/0.9008, allocations: 78.31 kB / 0.6981 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004155/0.905, allocations: 1.824 MB / 0.6999 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/0.905, allocations: 0 / 0.6999 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007343/0.9124, allocations: 1.069 MB / 0.7009 GB, free: 0.5039 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (192): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01806/0.9305, allocations: 11.84 MB / 0.7125 GB, free: 4.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3186/1.249, allocations: 6.366 MB / 0.7187 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/1.249, allocations: 1.906 kB / 0.7187 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006548/1.256, allocations: 2.834 MB / 0.7215 GB, free: 169.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/1.258, allocations: 353.9 kB / 0.7218 GB, free: 169.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08625/1.345, allocations: 103.8 MB / 0.8232 GB, free: 86.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004386/1.349, allocations: 3.314 MB / 0.8264 GB, free: 85.63 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004892/1.354, allocations: 2.077 MB / 0.8285 GB, free: 84.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002672/1.357, allocations: 1.74 MB / 0.8302 GB, free: 84.46 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/1.357, allocations: 0 / 0.8302 GB, free: 84.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/1.458, allocations: 71.75 MB / 0.9002 GB, free: 13.14 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/1.458, allocations: 207.3 kB / 0.9004 GB, free: 12.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.78/5.237, allocations: 0 / 0.9004 GB, free: 12.9 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat