Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008764/0.0008763, allocations: 98.75 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 190.9 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.206/0.206, allocations: 45.91 MB / 344.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.000263, allocations: 11.98 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1315, allocations: 63.46 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02321/0.1548, allocations: 23.36 MB / 0.4932 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.1697, allocations: 6.004 MB / 0.499 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005286/0.1751, allocations: 119.7 kB / 0.4991 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.1788, allocations: 1.108 MB / 0.5002 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009034/0.1878, allocations: 3.339 MB / 0.5035 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1891, allocations: 215.5 kB / 0.5037 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2478/0.437, allocations: 3.903 MB / 0.5075 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005069/0.4421, allocations: 2.801 MB / 0.5102 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.4444, allocations: 1.007 MB / 0.5112 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002975/0.4474, allocations: 1.539 MB / 0.5127 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006845/0.4481, allocations: 123.5 kB / 0.5128 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.4498, allocations: 0.5368 MB / 0.5134 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002666/0.4525, allocations: 1.436 MB / 0.5148 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.4542, allocations: 0.7644 MB / 0.5155 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007541/0.4617, allocations: 4.793 MB / 0.5202 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4618, allocations: 5.766 kB / 0.5202 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4618, allocations: 0 / 0.5202 GB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003924/0.4622, allocations: 1.219 kB / 0.5202 GB, free: 10.87 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01416/0.4764, allocations: 3.365 MB / 0.5235 GB, free: 9.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.4764, allocations: 10.03 kB / 0.5235 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003746/0.4802, allocations: 0.7265 MB / 0.5242 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01673/0.497, allocations: 3.079 MB / 0.5272 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007305/0.5043, allocations: 1.794 MB / 0.529 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/0.5047, allocations: 194.5 kB / 0.5291 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/0.5065, allocations: 253.2 kB / 0.5294 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02251/0.529, allocations: 10.21 MB / 0.5394 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.637e-05/0.5291, allocations: 30.56 kB / 0.5394 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006875/0.5298, allocations: 127.8 kB / 0.5395 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005546/0.5354, allocations: 2.376 MB / 0.5418 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/0.5566, allocations: 9.039 MB / 0.5506 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05349/0.6101, allocations: 38.14 MB / 0.5879 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006037/0.6162, allocations: 3.377 MB / 0.5912 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.6181, allocations: 1.233 MB / 0.5924 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009281/0.6274, allocations: 5.184 MB / 0.5975 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.6275, allocations: 46.22 kB / 0.5975 GB, free: 12.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 5.841e-06/0.6275, allocations: 1.75 kB / 0.5975 GB, free: 12.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.007034/0.6346, allocations: 3.323 MB / 0.6008 GB, free: 8.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.6347, allocations: 166.7 kB / 0.6009 GB, free: 8.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007836/0.6425, allocations: 3.846 MB / 0.6047 GB, free: 4.938 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.6428, allocations: 44.44 kB / 0.6047 GB, free: 4.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003168/0.646, allocations: 3.224 MB / 0.6079 GB, free: 1.684 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.6471, allocations: 0.6108 MB / 0.6085 GB, free: 1.078 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006139/0.6478, allocations: 124 kB / 0.6086 GB, free: 0.957 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005995/0.6484, allocations: 0.5868 MB / 0.6091 GB, free: 372 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003674/0.6521, allocations: 1.94 MB / 0.611 GB, free: 14.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007156/0.6592, allocations: 6.126 MB / 0.617 GB, free: 6.277 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00638/0.6657, allocations: 3.451 MB / 0.6204 GB, free: 2.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001725/0.6659, allocations: 40 kB / 0.6204 GB, free: 2.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01838/0.6843, allocations: 7.704 MB / 0.628 GB, free: 11.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.6845, allocations: 68 kB / 0.628 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003331/0.6849, allocations: 152 kB / 0.6282 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.6853, allocations: 217.6 kB / 0.6284 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005249/0.6905, allocations: 1.462 MB / 0.6298 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003225/0.6909, allocations: 295.3 kB / 0.6301 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00607/0.6969, allocations: 0.9215 MB / 0.631 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/0.6985, allocations: 405.4 kB / 0.6314 GB, free: 7.621 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (797): * Single equations (assignments): 789 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006026/0.7045, allocations: 2.224 MB / 0.6335 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/0.7057, allocations: 307.9 kB / 0.6338 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.7076, allocations: 416.9 kB / 0.6342 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/0.7077, allocations: 37.94 kB / 0.6343 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.63e-05/0.7077, allocations: 4 kB / 0.6343 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/0.7078, allocations: 15.88 kB / 0.6343 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.7227, allocations: 5.531 MB / 0.6397 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/0.7228, allocations: 11.94 kB / 0.6397 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.7238, allocations: 199.7 kB / 0.6399 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.467e-05/0.7238, allocations: 12 kB / 0.6399 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.724, allocations: 27.98 kB / 0.6399 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/0.724, allocations: 12 kB / 0.6399 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/0.7241, allocations: 7.938 kB / 0.6399 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.7276, allocations: 2.529 MB / 0.6424 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.7287, allocations: 384.6 kB / 0.6428 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007367/0.7294, allocations: 26.03 kB / 0.6428 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.7309, allocations: 66.2 kB / 0.6429 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.7311, allocations: 84.36 kB / 0.643 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.7312, allocations: 38.89 kB / 0.643 GB, free: 11.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006131/0.7373, allocations: 2.346 MB / 0.6453 GB, free: 9.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7374, allocations: 0 / 0.6453 GB, free: 9.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007407/0.7448, allocations: 1.107 MB / 0.6464 GB, free: 8.086 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * 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 (108): * Single equations (assignments): 102 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004865/0.7497, allocations: 3.162 MB / 0.6495 GB, free: 4.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00826/0.758, allocations: 4.404 MB / 0.6538 GB, free: 468 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.758, allocations: 0 / 0.6538 GB, free: 468 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.7595, allocations: 0.9471 MB / 0.6547 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/0.7627, allocations: 354 kB / 0.655 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06866/0.8314, allocations: 29.8 MB / 0.6841 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005888/0.8373, allocations: 3.215 MB / 0.6873 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006173/0.8435, allocations: 2.236 MB / 0.6894 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003298/0.8468, allocations: 1.694 MB / 0.6911 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.8469, allocations: 1.75 kB / 0.6911 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3765/1.223, allocations: 63.85 MB / 0.7534 GB, free: 175.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.224, allocations: 189.1 kB / 0.7536 GB, free: 175 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/4.859, allocations: 3.938 kB / 0.7536 GB, free: 175 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat