Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 93.39 kB / 16.93 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 179.6 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004912, allocations: 8 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.105, allocations: 47.59 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.03213/0.1371, allocations: 28.7 MB / 357.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0163/0.1535, allocations: 6.567 MB / 363.7 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006416/0.16, allocations: 135.7 kB / 363.8 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005101/0.1651, allocations: 1.407 MB / 365.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01339/0.1785, allocations: 4.075 MB / 369.3 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.1802, allocations: 215.8 kB / 369.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2378/0.4181, allocations: 13.56 MB / 383.1 MB, free: 19.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004446/0.4226, allocations: 2.408 MB / 385.5 MB, free: 19.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.4241, allocations: 0.6968 MB / 386.2 MB, free: 19.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.4258, allocations: 0.989 MB / 387.2 MB, free: 19.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003915/0.4263, allocations: 96.19 kB / 387.3 MB, free: 19.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.4274, allocations: 492 kB / 387.7 MB, free: 19.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.4288, allocations: 1.146 MB / 388.9 MB, free: 19.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006997/0.4295, allocations: 0.6336 MB / 389.5 MB, free: 19.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004189/0.4337, allocations: 3.699 MB / 393.2 MB, free: 19.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4337, allocations: 0 / 393.2 MB, free: 19.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4337, allocations: 0 / 393.2 MB, free: 19.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001238/0.4339, allocations: 0 / 393.2 MB, free: 19.08 MB / 318.1 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.007799/0.4417, allocations: 3.188 MB / 396.4 MB, free: 17.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.4417, allocations: 9.625 kB / 396.4 MB, free: 17.46 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001213/0.443, allocations: 0.5348 MB / 396.9 MB, free: 17.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006326/0.4493, allocations: 1.969 MB / 398.9 MB, free: 16.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.4539, allocations: 1.621 MB / 400.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.454, allocations: 151.4 kB / 400.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005549/0.4546, allocations: 195.8 kB / 400.9 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.4654, allocations: 6.993 MB / 407.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.952e-05/0.4655, allocations: 26.31 kB / 407.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/0.4658, allocations: 105.8 kB / 408 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002223/0.468, allocations: 1.558 MB / 409.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009447/0.4775, allocations: 5.486 MB / 415 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03403/0.5115, allocations: 27.41 MB / 442.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/0.5144, allocations: 1.59 MB / 444 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005187/0.5196, allocations: 2.685 MB / 446.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.5197, allocations: 47.73 kB / 446.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.457e-06/0.5197, allocations: 0 / 446.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.00424/0.5239, allocations: 1.925 MB / 448.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.5241, allocations: 197.6 kB / 448.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006948/0.531, allocations: 3.705 MB / 452.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002007/0.5313, allocations: 39.02 kB / 452.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002653/0.5339, allocations: 2.722 MB / 455.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006059/0.5346, allocations: 355 kB / 455.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.5347, allocations: 96 kB / 455.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003447/0.5351, allocations: 0.5083 MB / 456.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.537, allocations: 1.18 MB / 457.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004956/0.542, allocations: 4.532 MB / 462 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/0.5456, allocations: 2.289 MB / 464.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.405e-05/0.5457, allocations: 36.28 kB / 464.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009421/0.5551, allocations: 5.422 MB / 469.8 MB, free: 6.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.763e-05/0.5552, allocations: 56 kB / 469.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.5554, allocations: 124.1 kB / 469.9 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.5556, allocations: 176 kB / 470.1 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.5586, allocations: 1.103 MB / 471.2 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001927/0.5588, allocations: 231.1 kB / 471.4 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/0.5628, allocations: 0.7091 MB / 472.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006033/0.5634, allocations: 313.2 kB / 472.4 MB, free: 3.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 594 * 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.003299/0.5667, allocations: 1.721 MB / 474.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007867/0.5675, allocations: 300.1 kB / 474.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.5685, allocations: 498.4 kB / 474.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.5686, allocations: 12 kB / 475 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.5686, allocations: 0 / 475 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.5686, allocations: 7.984 kB / 475 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0065/0.5751, allocations: 3.221 MB / 478.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.5751, allocations: 4 kB / 478.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.5756, allocations: 112.1 kB / 478.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.5757, allocations: 8 kB / 478.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.5757, allocations: 23.95 kB / 478.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.118e-06/0.5757, allocations: 4 kB / 478.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5757, allocations: 7.938 kB / 478.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.5783, allocations: 2.388 MB / 480.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.5795, allocations: 0.5241 MB / 481.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.5798, allocations: 16 kB / 481.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/0.5807, allocations: 56.02 kB / 481.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5808, allocations: 47.84 kB / 481.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/0.5809, allocations: 30.5 kB / 481.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004081/0.585, allocations: 2.369 MB / 483.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.585, allocations: 0 / 483.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004571/0.5896, allocations: 0.8233 MB / 484.6 MB, free: 7.309 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * 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 (57): * Single equations (assignments): 54 * 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.003349/0.593, allocations: 3.791 MB / 488.4 MB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005108/0.5981, allocations: 2.763 MB / 491.2 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.5981, allocations: 0 / 491.2 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.5987, allocations: 403.6 kB / 491.5 MB, free: 284 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.6008, allocations: 344 kB / 491.9 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2519/0.8527, allocations: 108.4 MB / 0.5862 GB, free: 126.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/0.8559, allocations: 2.752 MB / 0.5889 GB, free: 125.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003764/0.8597, allocations: 1.551 MB / 0.5904 GB, free: 125.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/0.8617, allocations: 1.493 MB / 0.5919 GB, free: 124.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.8617, allocations: 3.719 kB / 0.5919 GB, free: 124.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08481/0.9466, allocations: 58.53 MB / 0.649 GB, free: 69.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.9468, allocations: 184 kB / 0.6492 GB, free: 68.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/4.768, allocations: 3.938 kB / 0.6492 GB, free: 68.96 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat