Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 90.97 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.813e-05, allocations: 4 kB / 350.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.5417, allocations: 95.27 MB / 497.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.542, allocations: 88.44 kB / 497.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1793/0.7213, allocations: 68.91 MB / 0.5531 GB, free: 6.539 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.7214, allocations: 4 kB / 0.5531 GB, free: 6.535 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002999/0.7217, allocations: 64 kB / 0.5532 GB, free: 6.473 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.01055/0.7323, allocations: 3.095 MB / 0.5562 GB, free: 3.324 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.7323, allocations: 8.031 kB / 0.5562 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002453/0.7348, allocations: 0.5813 MB / 0.5568 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00948/0.7443, allocations: 1.955 MB / 0.5587 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006668/0.751, allocations: 1.977 MB / 0.5606 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/0.7514, allocations: 230.1 kB / 0.5608 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001736/0.7531, allocations: 311.8 kB / 0.5611 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.7712, allocations: 7.403 MB / 0.5684 GB, free: 5.922 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002302/0.7715, allocations: 43.56 kB / 0.5684 GB, free: 5.879 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/0.773, allocations: 151.9 kB / 0.5685 GB, free: 5.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00117/0.7742, allocations: 0.7387 MB / 0.5693 GB, free: 4.992 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3358/1.11, allocations: 5.604 MB / 0.5747 GB, free: 87.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0322/1.142, allocations: 35.31 MB / 0.6092 GB, free: 63.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/1.145, allocations: 1.647 MB / 0.6108 GB, free: 62.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/1.146, allocations: 478.6 kB / 0.6113 GB, free: 62.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00381/1.149, allocations: 2.903 MB / 0.6141 GB, free: 60.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.149, allocations: 50.7 kB / 0.6142 GB, free: 60.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 4.829e-06/1.149, allocations: 0 / 0.6142 GB, free: 60.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.003299/1.153, allocations: 1.426 MB / 0.6156 GB, free: 60.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/1.153, allocations: 224.2 kB / 0.6158 GB, free: 60.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004989/1.158, allocations: 3.277 MB / 0.619 GB, free: 60.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/1.158, allocations: 39.73 kB / 0.619 GB, free: 60.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001761/1.16, allocations: 2.699 MB / 0.6217 GB, free: 58.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000366/1.16, allocations: 372.7 kB / 0.622 GB, free: 58.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.16, allocations: 92.88 kB / 0.6221 GB, free: 58.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/1.161, allocations: 0.5045 MB / 0.6226 GB, free: 58.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/1.162, allocations: 1.182 MB / 0.6237 GB, free: 58.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/1.165, allocations: 4.526 MB / 0.6282 GB, free: 53.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003365/1.169, allocations: 2.32 MB / 0.6304 GB, free: 53.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-05/1.169, allocations: 33.94 kB / 0.6305 GB, free: 53.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01026/1.179, allocations: 5.449 MB / 0.6358 GB, free: 52.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-05/1.179, allocations: 58.83 kB / 0.6358 GB, free: 52.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001482/1.179, allocations: 123.1 kB / 0.636 GB, free: 52.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/1.18, allocations: 176.3 kB / 0.6361 GB, free: 52.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/1.183, allocations: 1.13 MB / 0.6372 GB, free: 52.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002332/1.183, allocations: 233.7 kB / 0.6375 GB, free: 52.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/1.186, allocations: 0.6987 MB / 0.6381 GB, free: 52.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005509/1.187, allocations: 350.3 kB / 0.6385 GB, free: 52.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 593 * Array equations: 3 * 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.0005929/1.188, allocations: 0.4897 MB / 0.6389 GB, free: 51.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007789/1.188, allocations: 297.4 kB / 0.6392 GB, free: 51.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/1.189, allocations: 496.8 kB / 0.6397 GB, free: 51.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/1.19, allocations: 15.08 kB / 0.6397 GB, free: 51.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.19, allocations: 1.375 kB / 0.6397 GB, free: 51.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.19, allocations: 7.672 kB / 0.6397 GB, free: 51.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006286/1.196, allocations: 3.301 MB / 0.6429 GB, free: 50.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.196, allocations: 4.406 kB / 0.643 GB, free: 50.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005067/1.196, allocations: 107.6 kB / 0.6431 GB, free: 50.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/1.196, allocations: 7.312 kB / 0.6431 GB, free: 50.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/1.196, allocations: 19.75 kB / 0.6431 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.197, allocations: 13.36 kB / 0.6431 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.197, allocations: 4.219 kB / 0.6431 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/1.199, allocations: 2.479 MB / 0.6455 GB, free: 48.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.2, allocations: 464 kB / 0.646 GB, free: 47.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/1.201, allocations: 17.25 kB / 0.646 GB, free: 47.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008832/1.201, allocations: 44.44 kB / 0.646 GB, free: 47.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.202, allocations: 50.86 kB / 0.6461 GB, free: 47.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/1.202, allocations: 30.66 kB / 0.6461 GB, free: 47.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004356/1.206, allocations: 2.331 MB / 0.6484 GB, free: 47.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.206, allocations: 0 / 0.6484 GB, free: 47.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005617/1.212, allocations: 0.8287 MB / 0.6492 GB, free: 46.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * Array equations: 3 * 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.002804/1.214, allocations: 4.058 MB / 0.6531 GB, free: 43.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004855/1.219, allocations: 2.763 MB / 0.6558 GB, free: 42.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.219, allocations: 256 / 0.6558 GB, free: 42.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005234/1.22, allocations: 407.4 kB / 0.6562 GB, free: 42.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.222, allocations: 351.6 kB / 0.6566 GB, free: 42.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/1.238, allocations: 6.432 MB / 0.6628 GB, free: 40.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/1.241, allocations: 2.757 MB / 0.6655 GB, free: 39.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00411/1.245, allocations: 1.58 MB / 0.6671 GB, free: 38.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/1.246, allocations: 1.483 MB / 0.6685 GB, free: 37.74 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/1.246, allocations: 0 / 0.6685 GB, free: 37.74 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09616/1.343, allocations: 56.81 MB / 0.724 GB, free: 3.812 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/1.343, allocations: 164.6 kB / 0.7242 GB, free: 3.586 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.09/5.432, allocations: 0 / 0.7242 GB, free: 3.586 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat