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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.3 MB, free: 9.172 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.28 kB / 306.3 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09663/0.09789, allocations: 50.54 MB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2032/0.3011, allocations: 33.28 MB / 390.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.3171, allocations: 6.595 MB / 396.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005815/0.3229, allocations: 143.4 kB / 396.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003625/0.3267, allocations: 1.815 MB / 398.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.3299, allocations: 1.235 MB / 399.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.3305, allocations: 197.3 kB / 400.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00572/0.3363, allocations: 4.563 MB / 404.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.3393, allocations: 2.114 MB / 406.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.341, allocations: 0.8781 MB / 407.6 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/0.3437, allocations: 1.666 MB / 409.3 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006826/0.3444, allocations: 148 kB / 409.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.3458, allocations: 483.3 kB / 409.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.3474, allocations: 1.274 MB / 411.2 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002618/0.35, allocations: 1.548 MB / 412.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005766/0.3558, allocations: 4.52 MB / 417.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3558, allocations: 0 / 417.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3559, allocations: 4 kB / 417.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002215/0.3561, allocations: 0 / 417.2 MB, free: 15.16 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.008142/0.3642, allocations: 3.61 MB / 420.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3643, allocations: 8.031 kB / 420.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005859/0.3702, allocations: 1.696 MB / 422.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.3729, allocations: 1.557 MB / 424.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.373, allocations: 155.7 kB / 424.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003477/0.3733, allocations: 191.9 kB / 424.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009281/0.3826, allocations: 6.975 MB / 431.4 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-05/0.3827, allocations: 27.75 kB / 431.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.383, allocations: 99.88 kB / 431.6 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/0.3851, allocations: 1.566 MB / 433.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008568/0.3937, allocations: 5.481 MB / 438.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02804/0.4217, allocations: 27.27 MB / 465.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002744/0.4245, allocations: 1.581 MB / 467.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/0.4252, allocations: 476.6 kB / 467.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003604/0.4288, allocations: 2.58 MB / 470.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.4289, allocations: 38.56 kB / 470.5 MB, free: 7.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 3.326e-06/0.4289, allocations: 0 / 470.5 MB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.003673/0.4325, allocations: 1.667 MB / 472.2 MB, free: 6.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.4327, allocations: 187.9 kB / 472.4 MB, free: 6.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005364/0.438, allocations: 3.706 MB / 476.1 MB, free: 2.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/0.4381, allocations: 29.7 kB / 476.1 MB, free: 2.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/0.4401, allocations: 2.721 MB / 478.8 MB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/0.4404, allocations: 363.9 kB / 479.2 MB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.4416, allocations: 0.96 MB / 480.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4417, allocations: 305.1 kB / 480.5 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.4435, allocations: 1.196 MB / 481.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004025/0.4476, allocations: 4.564 MB / 486.2 MB, free: 6.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006314/0.4539, allocations: 6.316 MB / 492.5 MB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.29e-05/0.454, allocations: 32 kB / 492.6 MB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008512/0.4625, allocations: 5.448 MB / 498 MB, free: 8.914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/0.4626, allocations: 56 kB / 498.1 MB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/0.4628, allocations: 124 kB / 498.2 MB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.4629, allocations: 157 kB / 498.3 MB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/0.4658, allocations: 1.099 MB / 499.4 MB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001912/0.466, allocations: 248.9 kB / 499.7 MB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/0.4693, allocations: 0.6841 MB / 0.4886 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/0.4698, allocations: 327.9 kB / 0.4889 GB, free: 6.23 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002389/0.4722, allocations: 1.719 MB / 0.4906 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.4727, allocations: 292.2 kB / 0.4909 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008342/0.4735, allocations: 498.4 kB / 0.4914 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.4735, allocations: 12 kB / 0.4914 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4735, allocations: 0 / 0.4914 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4736, allocations: 11.98 kB / 0.4914 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004939/0.4785, allocations: 3.127 MB / 0.4945 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.4785, allocations: 4 kB / 0.4945 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.479, allocations: 107.8 kB / 0.4946 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.479, allocations: 4 kB / 0.4946 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.479, allocations: 12 kB / 0.4946 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/0.4791, allocations: 11.98 kB / 0.4946 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4791, allocations: 7.938 kB / 0.4946 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.4813, allocations: 2.029 MB / 0.4966 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007328/0.482, allocations: 428.9 kB / 0.497 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.4823, allocations: 16 kB / 0.497 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/0.483, allocations: 36.03 kB / 0.497 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.4832, allocations: 51.81 kB / 0.4971 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.4832, allocations: 24 kB / 0.4971 GB, free: 13.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003248/0.4865, allocations: 2.353 MB / 0.4994 GB, free: 11.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4865, allocations: 0 / 0.4994 GB, free: 11.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003813/0.4903, allocations: 0.8098 MB / 0.5002 GB, free: 10.55 MB / 430.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 (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.0003025/0.4906, allocations: 146.6 kB / 0.5003 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004079/0.4947, allocations: 2.764 MB / 0.503 GB, free: 7.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4947, allocations: 0 / 0.503 GB, free: 7.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.4953, allocations: 409.8 kB / 0.5034 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.4975, allocations: 357.2 kB / 0.5038 GB, free: 6.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.5142, allocations: 8.188 MB / 0.5118 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004139/0.5184, allocations: 2.679 MB / 0.5144 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00608/0.5245, allocations: 1.51 MB / 0.5159 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/0.5252, allocations: 203.4 kB / 0.5161 GB, free: 10.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.505e-06/0.5252, allocations: 0 / 0.5161 GB, free: 10.23 MB / 446.1 MB Notification: Performance of Templates: time 0.2702/0.7953, allocations: 21.36 MB / 0.5369 GB, free: 135 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (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 & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/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