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/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) 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(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/ModelicaServices trunk/package.mo): time 0.001664/0.001664, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 60.78 kB / 307.1 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01043/0.1129, allocations: 9.01 MB / 366.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006152/0.1191, allocations: 2.714 MB / 369.3 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.1207, allocations: 47.88 kB / 369.3 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003941/0.1247, allocations: 1.841 MB / 371.2 MB, free: 364 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1841/0.3088, allocations: 1.31 MB / 372.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.3095, allocations: 217.2 kB / 372.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003429/0.3129, allocations: 2.329 MB / 375 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.3155, allocations: 2.112 MB / 377.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.317, allocations: 1.007 MB / 378.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003588/0.3206, allocations: 2.446 MB / 380.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005664/0.3212, allocations: 188.5 kB / 380.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.3224, allocations: 0.4956 MB / 381.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.3238, allocations: 1.282 MB / 382.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.325, allocations: 1.574 MB / 384.1 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.3301, allocations: 4.596 MB / 388.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3301, allocations: 0 / 388.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3302, allocations: 0 / 388.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001684/0.3303, allocations: 5.156 kB / 388.7 MB, free: 5.371 MB / 302.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.006832/0.3372, allocations: 3.61 MB / 392.4 MB, free: 2.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3372, allocations: 9.625 kB / 392.4 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007553/0.338, allocations: 0.5355 MB / 392.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006092/0.3441, allocations: 1.704 MB / 394.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.3473, allocations: 1.557 MB / 396.2 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/0.3474, allocations: 154.6 kB / 396.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/0.3477, allocations: 203.2 kB / 396.5 MB, free: 0.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009519/0.3573, allocations: 6.982 MB / 403.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.177e-05/0.3574, allocations: 30.56 kB / 403.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.3576, allocations: 98.78 kB / 403.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/0.3597, allocations: 1.558 MB / 405.2 MB, free: 9.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008295/0.368, allocations: 5.49 MB / 410.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0277/0.3958, allocations: 27.23 MB / 437.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.3985, allocations: 1.65 MB / 439.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006506/0.3991, allocations: 0.4978 MB / 440 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003834/0.403, allocations: 2.671 MB / 442.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.403, allocations: 46.5 kB / 442.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.975e-06/0.403, allocations: 0 / 442.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.003745/0.4068, allocations: 1.749 MB / 444.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4069, allocations: 217.8 kB / 444.7 MB, free: 456 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005216/0.4121, allocations: 3.673 MB / 448.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.4123, allocations: 37.7 kB / 448.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/0.4144, allocations: 2.685 MB / 451.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004959/0.4149, allocations: 387.5 kB / 451.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/0.4163, allocations: 0.9584 MB / 452.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4164, allocations: 301.1 kB / 452.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.4183, allocations: 1.212 MB / 454 MB, free: 7.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003863/0.4222, allocations: 4.527 MB / 458.5 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005988/0.4282, allocations: 6.294 MB / 464.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.237e-05/0.4283, allocations: 36 kB / 464.8 MB, free: 8.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008724/0.437, allocations: 5.438 MB / 470.2 MB, free: 3.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.057e-05/0.4371, allocations: 56 kB / 470.3 MB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.4372, allocations: 120 kB / 470.4 MB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.4374, allocations: 159.9 kB / 470.6 MB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/0.44, allocations: 1.088 MB / 471.7 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001506/0.4402, allocations: 236.1 kB / 471.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/0.4433, allocations: 0.6764 MB / 472.6 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/0.4437, allocations: 312 kB / 472.9 MB, free: 0.9219 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (589): * Single equations (assignments): 585 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002648/0.4463, allocations: 1.72 MB / 474.6 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005902/0.4469, allocations: 300.1 kB / 474.9 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/0.4478, allocations: 498.1 kB / 475.4 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.577e-05/0.4478, allocations: 20 kB / 475.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4479, allocations: 0 / 475.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.4479, allocations: 7.984 kB / 475.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/0.4533, allocations: 3.158 MB / 478.6 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.4534, allocations: 4 kB / 478.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.4539, allocations: 103.8 kB / 478.7 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.4539, allocations: 8 kB / 478.7 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.4539, allocations: 12 kB / 478.7 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.454, allocations: 15.92 kB / 478.7 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.454, allocations: 4 kB / 478.7 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.4562, allocations: 2.225 MB / 480.9 MB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008585/0.4571, allocations: 421 kB / 481.3 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003036/0.4574, allocations: 27.83 kB / 481.4 MB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/0.4583, allocations: 35.97 kB / 481.4 MB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.4584, allocations: 43.89 kB / 481.4 MB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.4584, allocations: 33.94 kB / 481.5 MB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00357/0.462, allocations: 2.336 MB / 483.8 MB, free: 5.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.462, allocations: 0 / 483.8 MB, free: 5.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004143/0.4662, allocations: 0.7943 MB / 484.6 MB, free: 5.047 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002737/0.4689, allocations: 2.839 MB / 487.5 MB, free: 2.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004424/0.4734, allocations: 2.898 MB / 490.3 MB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4734, allocations: 0 / 490.3 MB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.4739, allocations: 442.7 kB / 490.8 MB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.4762, allocations: 381.3 kB / 491.2 MB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04494/0.5211, allocations: 37.04 MB / 0.5158 GB, free: 3.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002756/0.5239, allocations: 2.683 MB / 0.5184 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003513/0.5275, allocations: 1.498 MB / 0.5199 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/0.5292, allocations: 1.468 MB / 0.5213 GB, free: 13.64 MB / 462.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5292, allocations: 0 / 0.5213 GB, free: 13.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2299/0.7591, allocations: 50.63 MB / 0.5708 GB, free: 143.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.235/9.994, allocations: 12.77 kB / 0.5708 GB, free: 143.1 MB / 462.1 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches