Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001531/0.001531, allocations: 116.5 kB / 17.69 MB, free: 5.434 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.001707/0.001707, allocations: 191 kB / 18.63 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009637/0.0009638, allocations: 51.28 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1035, allocations: 49.44 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009683/0.1132, allocations: 9.026 MB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005356/0.1186, allocations: 2.671 MB / 363.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009954/0.1196, allocations: 47.88 kB / 363.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.1229, allocations: 1.822 MB / 365.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.1258, allocations: 1.327 MB / 366.4 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.1263, allocations: 211.7 kB / 366.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002639/0.1289, allocations: 2.36 MB / 369 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.1311, allocations: 2.118 MB / 371.1 MB, free: 20 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1665/0.2976, allocations: 0.9984 MB / 372.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004282/0.3019, allocations: 2.332 MB / 374.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008703/0.3028, allocations: 188.4 kB / 374.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.3042, allocations: 494.9 kB / 375.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.3055, allocations: 1.295 MB / 376.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.3073, allocations: 1.59 MB / 378 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006476/0.3138, allocations: 4.833 MB / 382.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3138, allocations: 0 / 382.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.3138, allocations: 1.094 kB / 382.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002031/0.314, allocations: 3.938 kB / 382.8 MB, free: 9.547 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.008933/0.323, allocations: 3.627 MB / 386.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.323, allocations: 13.28 kB / 386.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.328, allocations: 1.643 MB / 388.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004481/0.3325, allocations: 1.588 MB / 389.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.3326, allocations: 147.7 kB / 389.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004171/0.333, allocations: 202 kB / 390 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.3431, allocations: 6.981 MB / 397 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.841e-05/0.3432, allocations: 29.75 kB / 397 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/0.3435, allocations: 98.5 kB / 397.1 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001877/0.3454, allocations: 1.554 MB / 398.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.3558, allocations: 5.496 MB / 404.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03644/0.3923, allocations: 27.12 MB / 431.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/0.3954, allocations: 1.648 MB / 432.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007605/0.3962, allocations: 0.4939 MB / 433.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00479/0.401, allocations: 2.677 MB / 436.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.4011, allocations: 45.41 kB / 436.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.926e-06/0.4011, allocations: 4 kB / 436.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.004002/0.4051, allocations: 1.763 MB / 437.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.4053, allocations: 213.6 kB / 438.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005334/0.4106, allocations: 3.665 MB / 441.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.69e-05/0.4107, allocations: 33.7 kB / 441.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001971/0.4127, allocations: 2.692 MB / 444.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/0.4131, allocations: 394.4 kB / 444.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.4143, allocations: 0.9549 MB / 445.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4144, allocations: 301.1 kB / 446.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.4161, allocations: 1.21 MB / 447.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004422/0.4206, allocations: 4.531 MB / 451.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006666/0.4273, allocations: 6.294 MB / 458.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.989e-05/0.4274, allocations: 32 kB / 458.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00944/0.4368, allocations: 5.446 MB / 463.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.4369, allocations: 56 kB / 463.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/0.4371, allocations: 120 kB / 463.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.4372, allocations: 156 kB / 464 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/0.4402, allocations: 1.084 MB / 465.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001674/0.4404, allocations: 231.1 kB / 465.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003482/0.4439, allocations: 0.6843 MB / 466 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004133/0.4443, allocations: 316 kB / 466.3 MB, free: 10.62 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.002747/0.447, allocations: 1.714 MB / 468 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006174/0.4477, allocations: 304 kB / 468.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009299/0.4486, allocations: 494.2 kB / 468.8 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.657e-05/0.4487, allocations: 24 kB / 468.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.4487, allocations: 3.984 kB / 468.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.4487, allocations: 4 kB / 468.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006407/0.4551, allocations: 3.146 MB / 472 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.4552, allocations: 0 / 472 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.4557, allocations: 107.8 kB / 472.1 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.4557, allocations: 8 kB / 472.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/0.4558, allocations: 19.98 kB / 472.1 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.4558, allocations: 8.281 kB / 472.1 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.4558, allocations: 16.72 kB / 472.1 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.4582, allocations: 2.216 MB / 474.3 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.4593, allocations: 424.9 kB / 474.8 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.4596, allocations: 26.03 kB / 474.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/0.4605, allocations: 31.97 kB / 474.8 MB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.4606, allocations: 47.81 kB / 474.9 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.4607, allocations: 28.75 kB / 474.9 MB, free: 1.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004069/0.4648, allocations: 2.341 MB / 477.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.4648, allocations: 0 / 477.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004423/0.4692, allocations: 0.8122 MB / 478 MB, free: 14.73 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.0003505/0.4696, allocations: 154.8 kB / 478.2 MB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004714/0.4743, allocations: 2.817 MB / 481 MB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.4743, allocations: 4 kB / 481 MB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.4749, allocations: 437.1 kB / 481.4 MB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.4773, allocations: 383.7 kB / 481.8 MB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.489, allocations: 6.674 MB / 488.5 MB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003012/0.4921, allocations: 2.675 MB / 491.2 MB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003201/0.4953, allocations: 1.49 MB / 492.6 MB, free: 60 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.4958, allocations: 203.4 kB / 492.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4958, allocations: 0 / 492.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of Templates: time 0.04152/0.5373, allocations: 17.86 MB / 0.4987 GB, free: 14.24 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches