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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 59.91 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.0835, allocations: 53.31 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.151/0.2345, allocations: 9.042 MB / 435.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004931/0.2394, allocations: 2.73 MB / 438.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.2406, allocations: 48.75 kB / 438.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004452/0.2451, allocations: 1.857 MB / 440.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004302/0.2494, allocations: 1.349 MB / 441.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.2503, allocations: 216.5 kB / 441.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003298/0.2536, allocations: 2.343 MB / 444.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.2554, allocations: 1.779 MB / 446 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.2568, allocations: 1.001 MB / 447 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.2596, allocations: 2.572 MB / 449.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004345/0.2601, allocations: 188.5 kB / 449.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009592/0.261, allocations: 0.5149 MB / 450.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009905/0.262, allocations: 1.336 MB / 451.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.2631, allocations: 1.579 MB / 453.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004903/0.268, allocations: 4.852 MB / 458.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2681, allocations: 0 / 458.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2681, allocations: 0 / 458.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.351e-05/0.2681, allocations: 0 / 458.1 MB, free: 12.42 MB / 366.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.005874/0.274, allocations: 3.726 MB / 461.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.274, allocations: 9.594 kB / 461.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006459/0.2747, allocations: 0.5344 MB / 462.3 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005534/0.2802, allocations: 1.72 MB / 464.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003515/0.2837, allocations: 1.594 MB / 465.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.2839, allocations: 150.6 kB / 465.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003754/0.2842, allocations: 197.7 kB / 466 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009692/0.2939, allocations: 6.981 MB / 473 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.427e-05/0.294, allocations: 31.7 kB / 473 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.2942, allocations: 102 kB / 473.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.2964, allocations: 1.562 MB / 474.7 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009241/0.3056, allocations: 5.488 MB / 480.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03029/0.3359, allocations: 27.17 MB / 0.4954 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.3385, allocations: 1.595 MB / 0.497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006569/0.3392, allocations: 474.5 kB / 0.4975 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004341/0.3435, allocations: 2.69 MB / 0.5001 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.3436, allocations: 50.5 kB / 0.5001 GB, free: 9.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.344e-06/0.3436, allocations: 0 / 0.5001 GB, free: 9.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003686/0.3473, allocations: 1.778 MB / 0.5019 GB, free: 7.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.3474, allocations: 209.6 kB / 0.5021 GB, free: 7.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004661/0.352, allocations: 3.674 MB / 0.5056 GB, free: 3.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.3521, allocations: 41.7 kB / 0.5057 GB, free: 3.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/0.3541, allocations: 2.788 MB / 0.5084 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.3545, allocations: 405.1 kB / 0.5088 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.3556, allocations: 0.9646 MB / 0.5097 GB, free: 15.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3557, allocations: 305.1 kB / 0.51 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.3574, allocations: 1.208 MB / 0.5112 GB, free: 14.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004238/0.3617, allocations: 4.53 MB / 0.5156 GB, free: 7.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006832/0.3685, allocations: 6.277 MB / 0.5218 GB, free: 15.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.636e-05/0.3685, allocations: 40 kB / 0.5218 GB, free: 15.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00848/0.377, allocations: 5.461 MB / 0.5271 GB, free: 10.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/0.3771, allocations: 56 kB / 0.5272 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/0.3772, allocations: 120 kB / 0.5273 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.3774, allocations: 152 kB / 0.5274 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/0.3803, allocations: 1.095 MB / 0.5285 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001871/0.3805, allocations: 231.1 kB / 0.5287 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/0.3837, allocations: 0.6982 MB / 0.5294 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004146/0.3841, allocations: 316 kB / 0.5297 GB, free: 7.73 MB / 446.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.002713/0.3869, allocations: 1.716 MB / 0.5314 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/0.3874, allocations: 313.8 kB / 0.5317 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008441/0.3883, allocations: 0.4933 MB / 0.5322 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.386e-05/0.3883, allocations: 20 kB / 0.5322 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.3883, allocations: 4 kB / 0.5322 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.3883, allocations: 3.984 kB / 0.5322 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/0.3939, allocations: 3.147 MB / 0.5353 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3939, allocations: 4 kB / 0.5353 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.3944, allocations: 103.9 kB / 0.5354 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.3944, allocations: 4 kB / 0.5354 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.3945, allocations: 20.22 kB / 0.5354 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/0.3945, allocations: 16.81 kB / 0.5354 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3945, allocations: 4 kB / 0.5354 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.3968, allocations: 2.234 MB / 0.5376 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008366/0.3977, allocations: 443.3 kB / 0.538 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.3979, allocations: 23.92 kB / 0.5381 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.3987, allocations: 31.97 kB / 0.5381 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/0.3988, allocations: 35.95 kB / 0.5381 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.3988, allocations: 54.66 kB / 0.5382 GB, free: 14.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003205/0.402, allocations: 2.329 MB / 0.5404 GB, free: 12.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.402, allocations: 3.938 kB / 0.5404 GB, free: 12.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003471/0.4055, allocations: 0.7989 MB / 0.5412 GB, free: 11.8 MB / 462.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.002862/0.4084, allocations: 2.861 MB / 0.544 GB, free: 8.879 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004141/0.4125, allocations: 2.698 MB / 0.5467 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.4125, allocations: 8.875 kB / 0.5467 GB, free: 6.195 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.413, allocations: 395.6 kB / 0.547 GB, free: 5.809 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.415, allocations: 386.2 kB / 0.5474 GB, free: 5.445 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04234/0.4574, allocations: 33.24 MB / 0.5799 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002875/0.4602, allocations: 2.691 MB / 0.5825 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003242/0.4635, allocations: 1.486 MB / 0.584 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/0.4653, allocations: 1.472 MB / 0.5854 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of SimCode: time 1.743e-06/0.4653, allocations: 0 / 0.5854 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.581/2.046, allocations: 47.74 MB / 0.632 GB, free: 179 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.11/18.16, allocations: 3.891 kB / 0.632 GB, free: 179 MB / 0.5294 GB " [Timeout remaining time 642] (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/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 --stepSize=0.0009996 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.17638591863215]