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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 109.2 kB / 18.4 MB, free: 4.648 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.001036/0.001036, allocations: 184.5 kB / 19.34 MB, free: 3.727 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.257/1.257, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001202/0.001202, allocations: 59.91 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07197/0.07318, allocations: 46.62 MB / 375.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.157/0.2302, allocations: 9.013 MB / 384.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004135/0.2343, allocations: 2.666 MB / 387.5 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000761/0.2351, allocations: 48.94 kB / 387.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.2382, allocations: 1.825 MB / 389.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.2406, allocations: 1.351 MB / 390.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.2411, allocations: 211.2 kB / 391 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.2434, allocations: 2.368 MB / 393.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.2454, allocations: 2.127 MB / 395.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.2465, allocations: 0.9987 MB / 396.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002656/0.2492, allocations: 2.345 MB / 398.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.2496, allocations: 187 kB / 399 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009591/0.2506, allocations: 488.8 kB / 399.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009834/0.2516, allocations: 1.32 MB / 400.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.2526, allocations: 1.594 MB / 402.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004608/0.2572, allocations: 4.87 MB / 407.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2572, allocations: 0 / 407.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2573, allocations: 0 / 407.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.741e-05/0.2573, allocations: 0 / 407.2 MB, free: 13.46 MB / 334.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.005703/0.2631, allocations: 3.733 MB / 411 MB, free: 10.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2631, allocations: 13.39 kB / 411 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/0.268, allocations: 1.67 MB / 412.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.2706, allocations: 1.593 MB / 414.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.2707, allocations: 158 kB / 414.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.2711, allocations: 198 kB / 414.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008437/0.2795, allocations: 6.982 MB / 421.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.2796, allocations: 31.75 kB / 421.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.2799, allocations: 103.9 kB / 421.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002124/0.282, allocations: 1.562 MB / 423.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008284/0.2903, allocations: 5.489 MB / 428.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02603/0.3163, allocations: 27.17 MB / 455.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.319, allocations: 1.643 MB / 457.6 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006918/0.3197, allocations: 0.5023 MB / 458.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003704/0.3234, allocations: 2.679 MB / 460.8 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.3234, allocations: 50.53 kB / 460.8 MB, free: 8.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.585e-06/0.3235, allocations: 0 / 460.8 MB, free: 8.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003723/0.3272, allocations: 1.774 MB / 462.6 MB, free: 6.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.3273, allocations: 209.6 kB / 462.8 MB, free: 6.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/0.3318, allocations: 3.686 MB / 466.5 MB, free: 2.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.3318, allocations: 33.7 kB / 466.5 MB, free: 2.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001756/0.3336, allocations: 2.796 MB / 469.3 MB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.3339, allocations: 413.1 kB / 469.7 MB, free: 15.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.335, allocations: 0.9609 MB / 470.7 MB, free: 14.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.3351, allocations: 305.1 kB / 471 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.3368, allocations: 1.2 MB / 472.2 MB, free: 13.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003744/0.3406, allocations: 4.526 MB / 476.7 MB, free: 6.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006097/0.3467, allocations: 6.305 MB / 483 MB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.903e-05/0.3467, allocations: 32 kB / 483 MB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.0077/0.3544, allocations: 5.456 MB / 488.5 MB, free: 9.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.867e-05/0.3545, allocations: 56 kB / 488.5 MB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.3546, allocations: 120.4 kB / 488.7 MB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.3548, allocations: 160 kB / 488.8 MB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/0.3576, allocations: 1.084 MB / 489.9 MB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001635/0.3578, allocations: 239 kB / 490.1 MB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/0.3607, allocations: 0.6941 MB / 490.8 MB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/0.361, allocations: 316 kB / 491.1 MB, free: 6.727 MB / 414.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.002287/0.3633, allocations: 1.716 MB / 492.8 MB, free: 5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/0.3638, allocations: 317.8 kB / 493.2 MB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007768/0.3645, allocations: 490.3 kB / 493.6 MB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.3646, allocations: 7.984 kB / 493.6 MB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3646, allocations: 0 / 493.6 MB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006035/0.3652, allocations: 446.7 kB / 494.1 MB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.3654, allocations: 15.94 kB / 494.1 MB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008509/0.3663, allocations: 31.95 kB / 494.1 MB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3664, allocations: 43.89 kB / 494.2 MB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001592/0.368, allocations: 1.414 MB / 495.6 MB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00236/0.3704, allocations: 2.259 MB / 497.8 MB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005106/0.3709, allocations: 395.7 kB / 498.2 MB, free: 15.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003045/0.374, allocations: 2.333 MB / 0.4888 GB, free: 13.23 MB / 430.1 MB Notification: Performance of Backend: time 4.11e-07/0.374, allocations: 0 / 0.4888 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004621/0.3786, allocations: 2.585 MB / 0.4914 GB, free: 10.67 MB / 430.1 MB Notification: Performance of SimCode: time 0.01022/0.3888, allocations: 7.431 MB / 0.4986 GB, free: 3.184 MB / 430.1 MB Notification: Performance of Templates: time 0.04812/0.437, allocations: 25.89 MB / 0.5239 GB, free: 9.254 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches