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.000709/0.0007091, allocations: 92.47 kB / 16.95 MB, free: 6.449 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.0008943/0.0008943, allocations: 182.8 kB / 17.84 MB, free: 6.008 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.488/1.488, allocations: 205.4 MB / 224 MB, free: 13.14 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.0004355/0.0004358, allocations: 16 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0939/0.09435, allocations: 47.58 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02839/0.1228, allocations: 30.29 MB / 358.8 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.1395, allocations: 6.284 MB / 365 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005102/0.1446, allocations: 135.7 kB / 365.2 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003897/0.1486, allocations: 1.547 MB / 366.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.1595, allocations: 4.556 MB / 371.3 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1605, allocations: 215.6 kB / 371.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2272/0.3877, allocations: 17.47 MB / 389 MB, free: 17.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.3911, allocations: 2.425 MB / 391.4 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.3925, allocations: 0.8467 MB / 392.2 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.3943, allocations: 1.359 MB / 393.6 MB, free: 16.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.3945, allocations: 97.22 kB / 393.7 MB, free: 16.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008649/0.3954, allocations: 495.9 kB / 394.2 MB, free: 16.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009716/0.3964, allocations: 1.227 MB / 395.4 MB, free: 16.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.3969, allocations: 0.6338 MB / 396 MB, free: 16.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.3997, allocations: 3.697 MB / 399.7 MB, free: 16.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3997, allocations: 3 kB / 399.7 MB, free: 16.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3997, allocations: 0 / 399.7 MB, free: 16.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.932e-05/0.3997, allocations: 0 / 399.7 MB, free: 16.18 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.004186/0.4039, allocations: 3.18 MB / 402.9 MB, free: 14.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.404, allocations: 8.312 kB / 402.9 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005421/0.4045, allocations: 0.5449 MB / 403.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004289/0.4088, allocations: 1.69 MB / 405.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.4111, allocations: 1.621 MB / 406.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.4112, allocations: 152.3 kB / 406.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.4115, allocations: 202.4 kB / 407.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007373/0.4189, allocations: 6.969 MB / 414.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.538e-05/0.419, allocations: 23.84 kB / 414.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.4192, allocations: 101 kB / 414.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001656/0.4209, allocations: 1.569 MB / 415.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007381/0.4282, allocations: 5.451 MB / 421.2 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03014/0.4584, allocations: 27.38 MB / 448.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.4612, allocations: 1.585 MB / 450.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.4619, allocations: 469.5 kB / 450.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004429/0.4663, allocations: 2.686 MB / 453.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.4664, allocations: 41.66 kB / 453.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.617e-06/0.4664, allocations: 0 / 453.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.003934/0.4703, allocations: 1.661 MB / 455 MB, free: 4.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.4705, allocations: 195 kB / 455.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00567/0.4761, allocations: 3.712 MB / 458.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.4762, allocations: 29.7 kB / 459 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002377/0.4786, allocations: 2.722 MB / 461.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/0.479, allocations: 359.7 kB / 462 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.4791, allocations: 100 kB / 462.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003181/0.4795, allocations: 0.5083 MB / 462.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.4814, allocations: 1.18 MB / 463.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/0.4859, allocations: 4.549 MB / 468.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.4895, allocations: 2.289 MB / 470.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001454/0.4897, allocations: 36 kB / 470.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009263/0.499, allocations: 5.409 MB / 476.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.047e-05/0.4991, allocations: 56.22 kB / 476.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002526/0.4994, allocations: 130 kB / 476.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.4995, allocations: 176 kB / 476.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/0.5025, allocations: 1.108 MB / 477.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001825/0.5027, allocations: 231.1 kB / 477.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/0.5065, allocations: 0.713 MB / 478.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/0.5069, allocations: 316 kB / 478.8 MB, free: 11.8 MB / 382.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.002932/0.5098, allocations: 1.723 MB / 480.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/0.5104, allocations: 296.2 kB / 480.8 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008907/0.5113, allocations: 498.3 kB / 481.3 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.5113, allocations: 12 kB / 481.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.5114, allocations: 0 / 481.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5114, allocations: 7.984 kB / 481.3 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005127/0.5165, allocations: 3.227 MB / 484.6 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.5165, allocations: 4 kB / 484.6 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.517, allocations: 108.1 kB / 484.7 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.517, allocations: 8 kB / 484.7 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.5171, allocations: 19.95 kB / 484.7 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.862e-06/0.5171, allocations: 4 kB / 484.7 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5171, allocations: 11.92 kB / 484.7 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.5192, allocations: 2.029 MB / 486.7 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007949/0.5201, allocations: 0.5241 MB / 487.3 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.5203, allocations: 17.64 kB / 487.3 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/0.5211, allocations: 55.92 kB / 487.3 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.5212, allocations: 51.94 kB / 487.4 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.5213, allocations: 27.59 kB / 487.4 MB, free: 3.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0033/0.5246, allocations: 2.365 MB / 489.8 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5246, allocations: 0 / 489.8 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003979/0.5286, allocations: 0.8194 MB / 490.6 MB, free: 15.88 MB / 398.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.002717/0.5313, allocations: 2.667 MB / 493.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004411/0.5357, allocations: 2.754 MB / 496 MB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5357, allocations: 0 / 496 MB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005239/0.5363, allocations: 413 kB / 496.4 MB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.5382, allocations: 371.8 kB / 496.8 MB, free: 9.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08054/0.6187, allocations: 54.75 MB / 0.5386 GB, free: 320 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1906/0.8094, allocations: 2.675 MB / 0.5412 GB, free: 165.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004937/0.8144, allocations: 1.548 MB / 0.5427 GB, free: 165.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002372/0.8168, allocations: 1.499 MB / 0.5442 GB, free: 165.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.8168, allocations: 1.062 kB / 0.5442 GB, free: 165.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09356/0.9103, allocations: 58.56 MB / 0.6014 GB, free: 121 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/0.9105, allocations: 205.4 kB / 0.6016 GB, free: 120.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.921/4.832, allocations: 4 kB / 0.6016 GB, free: 120.7 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